# Install

In the first step you need to add HyperRTC repository to your project repositories :

allprojects {
    repositories {
        maven {
            url "http://maven.kavenegar.io/"
        }
    }
}

You need to add HyperRTC SDK to your dependencies block of build.gradle module.

dependencies {
    implementation 'io.kavenegar:call-sdk:1.2.8.8'
}

# Permissions

You need to add these permissions in your project manifest file.

<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />

# Initialize SDK

To start HyperRTC SDK, you need to initialize SDK in your application onCreate method.





 




public class MyApplication extends Application {

    @Override
    public void onCreate() {
        KavenegarCall.initialize(this, Environment.PRODUCTION);
        super.onCreate();
    }
}