Installation
- npm
- yarn
- CDN
Install the SDK using npm.
npm install @dytesdk/react-native-core react-native-webrtc
Install the SDK using yarn.
yarn add @dytesdk/react-native-core react-native-webrtc
#
Platform Specific Instructions- Android
- iOS
Android Minimum Version 24
We require minimum API version 24.0
for our SDK.
- Edit your
android/gradle.properties
and add the following line
android.enableDexingArtifactTransform.desugaring=false
- Create / append to the file
android/app/proguard-rules.pro
-keep class org.webrtc.** { *; }-dontwarn org.chromium.build.BuildHooksAndroid
- In your
android/app/build.gradle
edit the release configuration and add the following line importing the proguard configuration
buildTypes { release { ... ... ... proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } }
iOS minimum version 12.0
We require minimum OS version 12.0
for our SDK.
- Open your podfile and make sure your platform is set to ios 12
platform :ios, '12.0'
- Add the permission entries in
info.plist
<key>NSBluetoothPeripheralUsageDescription</key><string>We will use your Bluetooth to access your Bluetooth headphones.</string><key>NSBluetoothAlwaysUsageDescription</key><string>We will use your Bluetooth to access your Bluetooth headphones.</string><key>NSCameraUsageDescription</key><string>For people to see you during meetings, we need access to your camera.</string><key>NSMicrophoneUsageDescription</key><string>For people to hear you during meetings, we need access to your microphone.</string><key>NSPhotoLibraryUsageDescription</key><string>For people to share, we need access to your photos.</string><key>UIViewControllerBasedStatusBarAppearance</key><false/>