# Moddakir-AndroidSDK Android Library connects you Directly with teacher to learn the Holy Qur’an 📖
These instructions will help you setup, integrate and run your project integrated with our SDK.
Android SDK version above 31.
- Add the JitPack repository to your settings.gradle:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
- Add the dependency
dependencies {
implementation 'com.github.Moddakir-App:moddakir-sdk-android:LatestReleaseNumber'
}
Call makeCall method :
makeCall(String AppID,String AppKey, Context Context ,String Gender,String Name,String Phone,String Email,String Language)
Validate the user’s name,user's phone number,user's email ,user's gender and language.
Present the waiting screen to the user while trying to connect with a teacher.
Present the in-call screen once the teacher accepts the call.
Present the rating screen after the call ends if it continues more than 30 seconds.
Present the rating done pop-up after rating the teacher and the call.
AppID : Contact Moddakir Support to get this value
AppKey: Contact Moddakir Support to get this value
Context: Context of activity that will start the call
Gender: The user’s gender "male/female"
Name: The user's Name
Phone: The user Phone include the country code
Email: The user Email
Language: application language "ar/en/fr/in/ur"