Android Secure Components v3.5.0
Minor release with bug fixes, security improvements, and dependency updates.
Android SDK releases
View All TagsMinor release with bug fixes, security improvements, and dependency updates.
Maintenance release with dependency updates and improved Google Pay integration.
Enhanced the OTP input field (in the enrolment flow) so that it supports pasting, and improved the visual design.
Added detailed error reporting, upgraded security components to fix hardware acceleration issues on 64-bit devices, and refined the biometric enrollment UI.
This version is a major update over 1.0.0 that includes removals and changes in the public interface of the SDK, as well as a completely new distribution method. Make sure you address these changes by following the instructions in the migration guide at the end of the release notes for this version.
Minimum Android SDK: 24 (Android 7.0 Nougat)
Compile SDK: 35
Target SDK: 35
Kotlin: 1.8.0 or newer
Weavr secure components SDK: v.3.3.0
Google Pay device requirements: Google Play services must be installed and up to date; NFC only needed for default-payment flows.
onCancelled() to AddToWalletListener.WPPComponents.initializeWeavrSDK(context: Context, uiKey: String) to initialise the SDK instead of WPPComponents.initWeavrGPayClient.WPPComponents.getCardStatus to replace WPPComponents.canAddCardToWallet avoiding listeners and using coroutines instead.WPPComponents.setDefaultCardInGooglePay to replace WPPComponents.setCardAsDefaultPaymentMethod.WPPException to subclass Exception for throwing, as well as to standardise the error reporting within the SDK. Note that the SDK won't be throwing and instead use Outcome to report success or error.WeavrSDKErrorCodes to contain a list of error codes the SDK can use.PENDING and SUSPENDED to CardStatus.WPPComponents.isGooglePayAvailable to be a synchronous method rather than using coroutines needlessly.onError(WPPException) in AddToWalletListener. This replaces the old onError(WPPError) as the WPPError type had less information on what went wrong.WPPComponents.launchGpay as the result of WPPComponents.getPushProvisioningLauncher includes a provisionCard method instead.WPPComponents.initWeavrGPayClient in favour of WPPComponents.initializeWeavrSDK.CardStatusListener in favour of an async method to get the card status.WPPComponents.canAddCardToWallet in favour of WPPComponents.getCardStatus.WPPComponents.setGPayAsDefaultNFCPaymentMethod in favour of WPPComponents.setGooglePayAsDefaultNFCPaymentMethod. This avoids using coroutines needlessly as the outcome depends only on whether the activity to select was able to be launched or not, not the actual result.WPPComponents.getGpayLauncher in favour of WPPComponents.getPushProvisioningLauncher to improve naming consistency.WPPComponents.setCardAsDefaultPaymentMethod with WPPComponents.setDefaultCardInGooglePay as the callback was unnecessary due to callback being called from within the method itself.WPPResult to be replaced with Outcome. This is because WPPResult would use an optional Success generic type, forcing users to account for nulls everywhere. Additionally made Outcome compatible with Kotlin Result by calling Outcome.asResult.Unknown of CardStatus, and added UNKNOWN for consistency across state capitalisation.GPayError of CardStatus. This state will no longer be used.Fixes and stability improvements.
Introduces support for 16 KB page size compatibility mode.
The method for exchanging tokens in the biometrics login flow has been updated to make implementation simpler.
The Biometric Authentication component now supports the authentication of the end user via password rather than passcode. The password is used in two scenarios related to biometrics:
The v3 release introduces a unified biometric enrolment and authentication process across platforms.
Increases the scenarios under which AddToWalletButton will work.
These SDK releases were to backport the user-data collection fix from V2.0.1 to V1. This is so that embeddersEmbedder A company or developer that integrates Weavr's embedded finance services into their own application to provide financial services to their end customers. who do not use the Biometrics Authentication component, are not forced to adapt to the Safetynet removal breaking change.