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.x
and1.0.x
.
Android
API changes
- The
IBiometricAuthenticationCallback
interface 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
IAddBiometryFactorListener
interface is now inio.getlime.security.powerauth.biometry
package.onAddBiometryFactorFailed(@NonNull PowerAuthErrorException error)
callback now returnsPowerAuthErrorException
instead ofThrowable
.
-
The
ICommitActivationWithBiometryListener
interface now provides non-null exception inonBiometricDialogFailed(@NonNull PowerAuthErrorException exception)
callback. PowerAuthKeychainConfiguration.Builder
has new optionauthenticateOnBiometricKeySetup(boolean)
to tell SDK that biometric authentication is not required for the biometric key setup.- Altering this option to
false
will 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
tvOS
andmacCatalyst
platform 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
XCFrameworks
as binary artifacts, so be careful in case that your application project has wholePods
folder 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