Skip to content

Commit

Permalink
ref(dev-guide/react-native-sdk): documented API 33 for react-native-o…
Browse files Browse the repository at this point in the history
…rientation-locker dependency
  • Loading branch information
Calinteodor committed Nov 21, 2023
1 parent f632ea0 commit e5b7ac7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/dev-guide/react-native-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,17 @@ module.exports = (async () => {
```
This enables the screen share feature.

#### API
- Our app use react-native-orientation-locker dependency that uses API 33 features. Make sure that your app, in `android\build.gradle`, targets that version:
```markdown
buildscript {
ext {
compileSdkVersion = 33
targetSdkVersion = 33
}
}
```

### iOS

#### Permissions
Expand All @@ -92,7 +103,7 @@ module.exports = (async () => {
#### Build Phases

##### Run Script Phases
- For the sounds to work please add the following script in Xcode:
- For the sounds to work, please add the following script in Xcode:
```shell
SOUNDS_DIR="${PROJECT_DIR}/../node_modules/@jitsi/react-native-sdk/sounds"
cp $SOUNDS_DIR/* ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/
Expand Down

0 comments on commit e5b7ac7

Please sign in to comment.