stream-chat-react-native 6.4.0-beta.3 → 6.4.1-beta.1
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-react-native",
|
|
3
3
|
"description": "The official React Native SDK for Stream Chat, a service for building chat applications",
|
|
4
|
-
"version": "6.4.
|
|
4
|
+
"version": "6.4.1-beta.1",
|
|
5
5
|
"homepage": "https://www.npmjs.com/package/stream-chat-react-native",
|
|
6
6
|
"author": {
|
|
7
7
|
"company": "Stream.io Inc",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"types": "types/index.d.ts",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"es6-symbol": "^3.1.3",
|
|
23
|
-
"stream-chat-react-native-core": "6.4.
|
|
23
|
+
"stream-chat-react-native-core": "6.4.1-beta.1"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@react-native-camera-roll/camera-roll": ">=7.8.0",
|
|
@@ -73,6 +73,9 @@ export const getPhotos = CameraRollDependency
|
|
|
73
73
|
? async ({ after, first }): Promise<ReturnType> => {
|
|
74
74
|
try {
|
|
75
75
|
if (Platform.OS === 'android') {
|
|
76
|
+
console.warn(
|
|
77
|
+
'@react-native-camera-roll/camera-roll can be removed in favour of new google policy(https://support.google.com/googleplay/android-developer/answer/14115180?hl=en) if you do not have gallery as your core feature of the app.\nYou can replace it with react-native-image-picker and uninstall it. Guide - https://getstream.io/chat/docs/sdk/react-native/guides/native-image-picker/.',
|
|
78
|
+
);
|
|
76
79
|
const granted = await verifyAndroidPermissions();
|
|
77
80
|
if (!granted) {
|
|
78
81
|
throw new Error('getPhotos Error');
|