diff --git a/packages/react-native-sdk/docusaurus/docs/reactnative/01-setup/02-installation/02-expo.mdx b/packages/react-native-sdk/docusaurus/docs/reactnative/01-setup/02-installation/02-expo.mdx index b328d16f0e..2e6717766b 100644 --- a/packages/react-native-sdk/docusaurus/docs/reactnative/01-setup/02-installation/02-expo.mdx +++ b/packages/react-native-sdk/docusaurus/docs/reactnative/01-setup/02-installation/02-expo.mdx @@ -28,7 +28,7 @@ So what did we install precisely? - `@stream-io/video-react-native-sdk` (SVRN) is Stream's Video SDK which contains UI components, hooks and util functions that will enable audio/video calls. - `@stream-io/react-native-webrtc` is a WebRTC module for React Native, SVRN depends on this dependency, it's components and utilities to render audio/video tracks and interact with the phone's media devices. -- `@config-plugins/react-native-webrtc` is the expo config plugin for the WebRTC module for React Native. +- `@config-plugins/react-native-webrtc` Config plugin to auto-configure `@stream-io/react-native-webrtc` when the native code is generated (`npx expo prebuild`). - `react-native-incall-manager` handles media-routes/sensors/events during an audio/video call. - `react-native-svg` provides SVG support to React Native, SVRN's components and it's icons are reliant on this dependency. - `@react-native-community/netinfo` - is used to detect the device's connectivity state, type and quality. @@ -73,9 +73,9 @@ Add the config plugin for [`@stream-io/video-react-native-sdk`](https://github.c [ "@config-plugins/react-native-webrtc", { - // optionally you can add your own explanations for permissions on iOS - "cameraPermission": "Allow $(PRODUCT_NAME) to access your camera", - "microphonePermission": "Allow $(PRODUCT_NAME) to access your microphone" + // add your explanations for camera and microphone + "cameraPermission": "$(PRODUCT_NAME) requires camera access in order to capture and transmit video", + "microphonePermission": "$(PRODUCT_NAME) requires microphone access in order to capture and transmit audio" } ] // highlight-end diff --git a/packages/react-native-sdk/docusaurus/docs/reactnative/06-advanced/04-push-notifications/03-ringing-setup/02-expo.mdx b/packages/react-native-sdk/docusaurus/docs/reactnative/06-advanced/04-push-notifications/03-ringing-setup/02-expo.mdx index c0643bf71f..6e5c993ed7 100644 --- a/packages/react-native-sdk/docusaurus/docs/reactnative/06-advanced/04-push-notifications/03-ringing-setup/02-expo.mdx +++ b/packages/react-native-sdk/docusaurus/docs/reactnative/06-advanced/04-push-notifications/03-ringing-setup/02-expo.mdx @@ -102,6 +102,14 @@ In **app.json**, in the `plugins` field, add the `ringingPushNotifications` prop ], // highlight-next-line "@config-plugins/react-native-callkeep", + [ + // highlight-next-line + "@config-plugins/react-native-webrtc", + { + "cameraPermission": "$(PRODUCT_NAME) requires camera access in order to capture and transmit video", + "microphonePermission": "$(PRODUCT_NAME) requires microphone access in order to capture and transmit audio" + } + ], // highlight-next-line "@react-native-firebase/app", [ diff --git a/sample-apps/react-native/expo-video-sample/app.json b/sample-apps/react-native/expo-video-sample/app.json index 63540bf934..b126d9e3e0 100644 --- a/sample-apps/react-native/expo-video-sample/app.json +++ b/sample-apps/react-native/expo-video-sample/app.json @@ -49,8 +49,8 @@ [ "@config-plugins/react-native-webrtc", { - "cameraPermission": "Allow $(PRODUCT_NAME) to access your camera", - "microphonePermission": "Allow $(PRODUCT_NAME) to access your microphone" + "cameraPermission": "$(PRODUCT_NAME) requires camera access in order to capture and transmit video", + "microphonePermission": "$(PRODUCT_NAME) requires microphone access in order to capture and transmit audio" } ], [