Migration from 1.4.x to 1.5.x
PowerAuth Mobile SDK in version 1.5.0 is a maintenance release that brings few enhancements to Android and adds support for more Apple platforms.
Compatibility with PowerAuth Server
- This release is fully compatible with PowerAuth Server version
0.24.xand1.0.x.
Android
API changes
- The
IBiometricAuthenticationCallbackinterface has slightly changed:void onBiometricDialogSuccess(@NonNull byte[] biometricKeyEncrypted)is nowvoid onBiometricDialogSuccess(@NonNull BiometricKeyData biometricKeyData).- You can call
biometricKeyData.getDerivedData()to get data equivalent to previousbyte[] biometricKeyEncrypted.
- The
IAddBiometryFactorListenerinterface is now inio.getlime.security.powerauth.biometrypackage.onAddBiometryFactorFailed(@NonNull PowerAuthErrorException error)callback now returnsPowerAuthErrorExceptioninstead ofThrowable.
-
The
ICommitActivationWithBiometryListenerinterface now provides non-null exception inonBiometricDialogFailed(@NonNull PowerAuthErrorException exception)callback. PowerAuthKeychainConfiguration.Builderhas new optionauthenticateOnBiometricKeySetup(boolean)to tell SDK that biometric authentication is not required for the biometric key setup.- Altering this option to
falsewill cause that RSA keypair is created in Android KeyStore instead of AES key. - Previously created AES keys are not altered, so biometric factors configured with older SDKs works as before.
- Altering this option to
iOS
API changes
-
Minimum supported iOS version is now
9.0 -
PowerAuth mobile SDK is now available for
tvOSandmacCatalystplatform and fully supports Apple Silicon CPU architectures. -
Support for new platforms has the following implications to SDK integration:
- CocoaPods tool version
1.10+is required. - CocoaPods integration now uses precompiled
XCFrameworksas binary artifacts, so be careful in case that your application project has wholePodsfolder added to the git source control. - It’s recommended to use Xcode 12.2+ to build library for all available ARM64 targets. Otherwise you risk that CocoaPods will keep an incomplete library in its cache.
- CocoaPods tool version
Last updated on May 27, 2021 (10:17)
Edit on Github
Send Feedback