1.32.0 -> 2.0.0

Migrating your code

ImsTripManager.disableTripManager

Before

ImsTripManager.disableTripManager(context, deleteTripFiles = true) // or false

After

ImsTripManager.disableTripManager(context)

On logout, when you need a full user teardown and local data cleared, call ImsSdkManager.clearIdentity(context) from a coroutine. Use disableTripManager only to stop trip detection while keeping trip data for later when appropriate.


ImsTripManager.getCrashClient()

New

val client = ImsTripManager.getCrashClient()
client?.startListeningForCrashEvents(listener)
// …
client?.provideUserFeedback(feedback)

Handle null if Crash detection is unavailable. Checkout Crash Detection Events for more details.


ImsSdkManager.Builder (initialization)

Remove these calls from your SDK setup chain:

  • setSdkApiConfigEnvironment(...)

  • setSdkApiConfigRegion(...)

If your app read config URL or region from the saved SDK configuration object, remove that usage


Identity

Before

After

Update construction, persistence, and any code that used apiKey on Identity.


ImsSdkManager.clearIdentity

Before

After (must run in a coroutine)

Call on logout when the user should be fully signed out of the SDK. Any SDK API call made after invoking this method will fail.


AppMisuseManager

Remove calls to AppMisuseManager.enableAppMisuse and AppMisuseManager.disableAppMisuse.


Last updated