Android
What to change in your app when moving the IMS Android SDK from 1.29.x to 2.0.x.
Migration Guide (Android 1.29.x → 2.0.x)
2
3
4
5
Logging in a user
// Before
val flow = ImsSdkManager.setIdentity(context, identityOrNull)
flow.collect { result ->
when {
result.isSuccess -> { }
result.isFailure -> { }
}
}// After
lifecycleScope.launch {
val result = ImsSdkManager.setIdentity(context, identity)
when {
result.isSuccess -> { }
result.isFailure -> { }
}
}6
7
See also — new in 2.0.x (no migration required)
Last updated