AuthenticationMigrationInitializer
Initializes authenticator migration during app startup.
Including the following dependency in your build.gradle.kts file:
dependencies {
implementation(project(":mfa:auth-migration"))
}Content copied to clipboard
This will trigger the automatic migration. To start automatic migration, please add the following code to your manifest file:
<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
android:exported="false">
<meta-data
android:name="com.pingidentity.auth.migration.AuthenticationMigrationInitializer"
android:value="androidx.startup" />
</provider>Content copied to clipboard