Skip to content

Commit

Permalink
docs: add info about expo prebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
santhoshvai committed Oct 2, 2024
1 parent 0fc76ce commit 7131bd2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ Add the config plugin for [`@stream-io/video-react-native-sdk`](https://github.c
}
```

If Expo EAS build is not used, please do `npx expo prebuild --clean` to generate the native directories again after adding the config plugins.

:::infoINFO
Permissions need to be granted by the user as well. Requests for Camera and Microphone usage are automatically asked when the stream is first requested by the app. But other permissions like `BLUETOOTH_CONNECT` in Android need to be requested manually. However, we recommend that all necessary permissions be manually asked at an appropriate place in your app for the best user experience.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ In **app.json**, in the `plugins` field, add the `ringingPushNotifications` prop
- For iOS only, since `firebase-ios-sdk` requires `use_frameworks` then you want to configure `expo-build-properties` by adding `"useFrameworks": "static"`.
:::

If Expo EAS build is not used, please do `npx expo prebuild --clean` to generate the native directories again after adding the config plugins.

## Optional: Disable Firebase initialisation on iOS

React Native Firebase Messaging automatically registers the device with APNs to receive remote messages. But since we do not use Firebase on iOS, we can disable it via the `firebase.json` file that we can newly create:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ In **app.json**, in the `plugins` field, add true to the `enableNonRingingPushNo
}
```

If Expo EAS build is not used, please do `npx expo prebuild --clean` to generate the native directories again after adding the config plugins.

## Setup the push config for the SDK

The SDK automatically processes the non ringing call push notifications once the setup above is done if the push config has been set using `StreamVideoRN.setPushConfig`. To do this follow the steps below,
Expand Down

0 comments on commit 7131bd2

Please sign in to comment.