stream-chat-expo 5.22.0-beta.4 → 5.22.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
  [![NPM](https://img.shields.io/npm/v/stream-chat-react-native.svg)](https://www.npmjs.com/package/stream-chat-react-native)
12
- [![Build Status](https://github.com/GetStream/stream-chat-react-native/workflows/build/badge.svg)](https://github.com/GetStream/stream-chat-react-native/actions)
12
+ [![Build Status](https://github.com/GetStream/stream-chat-react-native/actions/workflows/release.yml/badge.svg)](https://github.com/GetStream/stream-chat-react-native/actions)
13
13
  [![Component Reference](https://img.shields.io/badge/docs-component%20reference-blue.svg)](https://getstream.io/chat/docs/sdk/reactnative)
14
14
 
15
15
  <img align="right" src="https://getstream.imgix.net/images/ios-chat-tutorial/iphone_chat_art@3x.png?auto=format,enhance" width="50%" />
@@ -25,10 +25,15 @@
25
25
 
26
26
  ## Contents
27
27
 
28
- - [React Native Chat Tutorial](#-react-native-chat-tutorial)
29
- - [Example Apps](#-example-apps)
30
- - [Keep in mind](#-keep-in-mind)
31
- - [Contributing](#-contributing)
28
+ - [Official React Native SDK for Stream Chat](#official-react-native-sdk-for-stream-chat)
29
+ - [Contents](#contents)
30
+ - [📖 React Native Chat Tutorial](#-react-native-chat-tutorial)
31
+ - [Free for Makers](#free-for-makers)
32
+ - [🔮 Example Apps](#-example-apps)
33
+ - [💬 Keep in mind](#-keep-in-mind)
34
+ - [👏 Contributing](#-contributing)
35
+ - [Git flow \& Release process](#git-flow--release-process)
36
+ - [We are hiring](#we-are-hiring)
32
37
 
33
38
  ## 📖 React Native Chat Tutorial
34
39
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stream-chat-expo",
3
3
  "description": "The official Expo SDK for Stream Chat, a service for building chat applications",
4
- "version": "5.22.0-beta.4",
4
+ "version": "5.22.0-beta.6",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -10,7 +10,7 @@
10
10
  "main": "src/index.js",
11
11
  "types": "types/index.d.ts",
12
12
  "dependencies": {
13
- "stream-chat-react-native-core": "5.22.0-beta.4"
13
+ "stream-chat-react-native-core": "5.22.0-beta.6"
14
14
  },
15
15
  "peerDependencies": {
16
16
  "@react-native-community/netinfo": ">=6.0.0",
@@ -1,4 +1,4 @@
1
- import { Image, Linking, Platform } from 'react-native';
1
+ import { Image, Platform } from 'react-native';
2
2
 
3
3
  import * as ImagePicker from 'expo-image-picker';
4
4
 
@@ -17,8 +17,7 @@ export const takePhoto = async ({ compressImageQuality = 1 }) => {
17
17
  const response = await ImagePicker.requestCameraPermissionsAsync();
18
18
  permissionGranted = response.granted;
19
19
  } else {
20
- Linking.openSettings();
21
- return { cancelled: true };
20
+ return { askToOpenSettings: true, cancelled: true };
22
21
  }
23
22
  }
24
23