Installing and importing the DaVinci module
PingOne Android
To use the DaVinci module for Android, add the relevant dependencies to your project:
-
In the Project tree view of your Android Studio project, open the
Gradle Scripts/build.gradle.ktsfile for the DaVinci module. -
In the
dependenciessection, add the following:implementation("com.pingidentity.sdks:davinci:2.0.0")Example of thedependenciessection after editing:dependencies { val composeBom = platform(libs.androidx.compose.bom) implementation(composeBom) // DaVinci client implementation("com.pingidentity.sdks:davinci:2.0.0") ... implementation(libs.androidx.core.ktx) implementation(libs.androidx.appcompat) implementation(libs.material) }