Instruction for upgrading the Onegini Android SDK to version 5.03¶
When upgrading from old SDK version to the version 5.03, several changes have to be applied in the end application:
Pin dialogs¶
From now on "Create PIN" and "Login with PIN" dialogs use newly added UserProfile
ValueObject which can be used to customize those screens with user's profile specific data.
OneginiCreatePinDialog¶
The com.onegini.mobile.sdk.android.library.utils.dialogs.OneginiCreatePinDialog
interface uses new UserProfile userProfile
ValueObject as first parameter in createPin
method:
1 2 3 4 |
|
OneginiCurrentPinDialog¶
The com.onegini.mobile.sdk.android.library.utils.dialogs.OneginiCurrentPinDialog
interface uses new UserProfile userProfile
ValueObject as first parameter in getCurrentPin
method:
1 2 3 4 |
|
Fingerprint dialog¶
The com.onegini.mobile.sdk.android.library.utils.dialogs.OneginiFingerprintDialog
interface uses new UserProfile userProfile
ValueObject as first parameter in showFingerprintPopup
method:
1 2 3 4 |
|
Push authentication dialogs¶
Push authentication dialogs now use new UserProfile
ValueObject that can be used to check which user profile is a receiver of the push message confirmation.
AlertInterface¶
The com.onegini.mobile.sdk.android.library.utils.dialogs.AlertInterface
interface uses new UserProfile receiver
ValueObject as parameter in showAlert
method:
1 2 3 4 5 |
|
ConfirmationWithPin¶
The com.onegini.mobile.sdk.android.library.utils.dialogs.ConfirmationWithPin
interface uses new UserProfile receiver
ValueObject as parameter in showConfirmation
method:
1 2 3 4 5 |
|
ConfirmationWithFingerprint¶
The com.onegini.mobile.sdk.android.library.utils.dialogs.ConfirmationWithFingerprint
interface uses new UserProfile receiver
ValueObject as parameter in showConfirmation
method:
1 2 3 4 |
|
OneginiClientAuthenticationHandler¶
The com.onegini.mobile.sdk.android.library.handlers.OneginiClientAuthenticationHandler
interface has new requestErrorInvalidProfile()
method that's being called when the Token Server returns invalid_profile
error.