Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
sdk(react-native-sdk): update README file (#13545)
Calinteodor7877ff452892
diff --git a/react-native-sdk/README.md b/react-native-sdk/README.mdindex 0bbe605289..eac9d237b7 100644--- a/react-native-sdk/README.md+++ b/react-native-sdk/README.md@@ -2,11 +2,48 @@## Installation- Inside your project, run `npm i @jitsi/react-native-sdk`.<br/><br/>Additionally if not already installed, the following dependencies need to be added:- <br/>`npm i @react-native-async-storage/async-storage react-native-webrtc`+Inside your project, run `npm i @jitsi/react-native-sdk`.<br/><br/>Additionally, if not already installed, some dependencies will need to be added.++This can be done by running the following script:+```+"update-deps": "node node_modules/@jitsi/react-native-sdk/update_dependencies.js"+```+This will check and update all your dependencies.<br/><br/>+[comment]: # (These deps definitely need to be added manually, more could be neccesary)+Because of SVG use in react native, you need to update metro.config your project's file:++```+const { getDefaultConfig } = require('metro-config');++module.exports = (async () => {+ const {+ resolver: {+ sourceExts,+ assetExts+ }+ } = await getDefaultConfig();++ return {+ transformer: {+ babelTransformerPath: require.resolve('react-native-svg-transformer'),+ getTransformOptions: async () => ({+ transform: {+ experimentalImportSupport: false,+ inlineRequires: true,+ },+ }),+ },+ resolver: {+ assetExts: assetExts.filter(ext => ext !== 'svg'),+ sourceExts: [...sourceExts, 'svg']+ }+ }+})();+```+### iOS#### Project Info.plist@@ -20,9 +57,10 @@- Voice over IP- Background fetch- Add Copy Sounds step:+1. Open XCode, go to Build Phases and add this step and the script below.```- SOUNDS_DIR="${PROJECT_DIR}/../node_modules/rnsdk/sounds"+ SOUNDS_DIR="${PROJECT_DIR}/../node_modules/@jitsi/react-native-sdk/sounds"cp $SOUNDS_DIR/* ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/```#### Podfile@@ -34,7 +72,7 @@ Run `cd ios && pod install && cd ..`- In your build.gradle have at least `minSdkVersion = 24`- TODO: HOW TO ADD COPY SOUNDS STEP-- Under the `</application>` tag of your AndroidManifest.xml make sure that it includes+- In `android/app/src/debug/AndroidManifest.xml` and `android/app/src/main/AndroidManifest.xml`, under the `</application>` tag, include```<uses-permission android:name="android.permission.RECORD_AUDIO" /><uses-permission android:name="android.permission.CAMERA" />