From e5b7ac705239637fc2fe6ccf50b9888093b3455d Mon Sep 17 00:00:00 2001 From: Calin-Teodor Date: Tue, 21 Nov 2023 16:01:16 +0200 Subject: [PATCH] ref(dev-guide/react-native-sdk): documented API 33 for react-native-orientation-locker dependency --- docs/dev-guide/react-native-sdk.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/dev-guide/react-native-sdk.md b/docs/dev-guide/react-native-sdk.md index 2f4e88a20..f192c29ae 100644 --- a/docs/dev-guide/react-native-sdk.md +++ b/docs/dev-guide/react-native-sdk.md @@ -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 @@ -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}/