ProCONF Android SDK
How to integrate ProCONF Android SDK
To integrate ProCONF Android SDK into your application, you will need to perform a few tasks. Follow the steps given below.
-
Create libs folder
- Create the libs folder at root level inside your Android application codebase and place given proconfSdk-standard-debug.aar into the libs folder.
-
Add dependency
-
Add ProCONF SDK dependency as below: inside your module's
build.gradleadd below code- Java
- Kotlin
dependencies {
implementation files('../libs/proconfSdk-standard-debug.aar')
}dependencies {
implementation(files("../libs/proconfSdk-standard-debug.aar"))
}
-
-
Add pre-build SDK artifacts/binaries
-
build.gradle: This typically goes into thebuild.gradlefile in the root of your project as below- Java
- Kotlin
allprojects {
repositories {
maven {
url "artifacts_path" // Ex. "file:/tmp/repo"
}
google()
mavenCentral()
maven { url 'https://www.jitpack.io' }
}
}
allprojects {
repositories {
maven {
url = uri("artifacts_path") // Ex. "file:/tmp/repo"
}
google()
mavenCentral()
maven {
url = uri("https://www.jitpack.io")
}
}
} -
settings.gradle: In recent versions of Android Studios,allprojects{}might not be found inbuild.gradle. In that case, the repository goes into thesettings.gradlefile in the root of your project as below- Java
- Kotlin
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
url "artifacts_path" // Ex. "file:/tmp/repo"
}
maven {
url "https://maven.google.com"
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
url = uri("artifacts_path") // Ex. "file:/tmp/repo"
}
maven {
url = uri("https://maven.google.com")
}
}
}
-
-
Add pre-build SDK dependency
- Java
- Kotlin
dependencies {
// (other dependencies)
implementation ('org.jitsi.react:jitsi-meet-sdk:+') { transitive = true }
}dependencies {
// (other dependencies)
implementation("org.jitsi.react:jitsi-meet-sdk:+") {
isTransitive = true
}
}