Skip to main content

Installation

Install the SDK using npm.
npm install @dytesdk/react-native-core react-native-webrtc

Platform Specific Instructions#

Android Minimum Version 24

We require minimum API version 24.0 for our SDK.

  1. Edit your android/gradle.properties and add the following line
android.enableDexingArtifactTransform.desugaring=false
  1. Create / append to the file android/app/proguard-rules.pro
-keep class org.webrtc.** { *; }-dontwarn org.chromium.build.BuildHooksAndroid
  1. 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'        }    }