1.32.0 -> 2.0.0

Migrating your code

Remove standalone ImsKmpSdk framework integration

Remove any separate ImsKmpSdk framework import or link. It’s bundled with the SDK now; a duplicate dependency may break compilation or crash at runtime.

TripDetectionManager.getCrashClient()

New

let client = TripDetectionManager.getCrashClient()
client?.startListeningForCrashEvents(listener)
//
client?.provideUserFeedback(feedback)

Handle nil if Crash Detection is unavailable. Checkout Crash Detection Eventsfor more details.


Initialization

Remove these calls from your call to initialize():

  • configRegion

  • configEnvironment

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.

circle-info

Note that SDKConfig.shared.identity should be explicitly checked at app launch and setIdentity() called if it is nil. This was the expected behaviour in prior SDK versions, but is required for version 2.0.0


Identity.clearIdentity()

Before

After

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.


Last updated