Releases: datatrans/android-sdk
4.0.0
🎉🍾 Goodbye mobileToken – welcome transactionId!
Today, we are introducing a new transaction model that organizes all actions related to a single payment, including failed and successful attempts and refunds, under a single transactionId.
These new Transactions API v2 flows allow us to eliminate the mobileToken🥲 and finally unify our web and mobile APIs.
This release is the first version of Mobile SDK 4, built on a new architecture. It currently supports the following payment methods:
- Credit and debit cards
- Apple Pay
- Google Pay
- PayPal
- PostFinance Pay
- Twint
We are working toward full feature parity with the 3.x SDK line, with additional payment methods and features planned for upcoming releases. At the same time, we remain fully committed to supporting the 3.x SDK.
Mobile SDK 4 requires a backend integration based on Transactions API v2 and replaces mobileToken with transactionId.
→ See the Migration Guide for upgrade instructions.
New
mobileToken replaced by transactionId
- The
/v2/transactionsinit request is now identical for web and SDK integrations - Transaction status is now available through the Transactions API during mobile payments
Multiple attempts
- If multiple payment methods are available, the SDK allows users to retry with another method after an error instead of terminating the payment flow
Consistent webhook handling
- Webhooks are now sent consistently across payments, registrations and authentications
- A webhook is triggered on success, error, cancellation, when the user abandons the process, and when the SDK is not even started (timeout)
Integrated 3DS SDK
- Native 3-D Secure screens and seamless app switching to and from banking apps
- More frictionless flows
- Frictionless flows now occur without UI flicker
- Improved soft-decline handling
Auto-authorize support
- Added a new SDK option:
autoAuthorize - Automatically progresses the transaction after authentication/user confirmation, without requiring the user to reopen the merchant app
Important: Make sure you understand this feature before enabling it, see What’s new in Mobile SDK 4.
Security and anti-fraud
- Several improvements to enhance security and reduce fraud
UI refresh
- Modernized UI aligned with current platform design guidelines
- Improved saved method selection
- Improved accessibility
Under-the-hood improvements
- Replaced legacy architecture and components
- More stable payment flows involving third-party apps
3.11.0
🌸🐰 Easter Update: AGP 9.1.0 support and CVV-only tokenization
This release resolves compatibility issues with AGP 9.1.0 / R8 and introduces support for UI-less CVV tokenization.
Added
- UI-less CVV tokenization (PCIP)
- Support for AGP 9.1.0 and R8
Updated
- Safe mode to pass URL to relay Activity.
Fixed
3.10.0
3.9.4
We've updated the card.io scanning library to comply with Google Play's page size requirement.
If you haven’t yet transitioned to the more capable Google card scanner, please use this version when submitting your apps to Google Play after November 1.
Updated
- Recompiled the card.io library with 16 KB page size alignment
3.9.3
3.9.2
💳🍂 September Update: PostFinance Pay
A fresh update before autumn kicks in! We're adding PostFinance Pay, updating Klarna, and polishing a few edges.
Added
- PostFinance Pay is now supported
- Edge-to-edge layout supported for target SDK 35 and above
Updated
- Klarna library updated to 2.7.1
- Klarna payment method logo
Fixed
- Improved and fixed DCC handling
- Missing Klarna Proguard rules have been added.
- Fixed missing condition to allow web view to be treated as not secured in test mode, so you can record or screenshot it like other flows (e.g., credit card).
- Minor bugs
3.8.1
3.8.0
💳🎄 DCC Update & bug fixes for Christmas!
Probably our last release of the year. We fixed a few things and also optimized how DCC works with our Android SDK.
Added
- The DCC currency choice is now preselected for Mastercard payments
- Added a method to unsubscribe your
TransactionListenerif needed, see here for more information
Updated
- The Klarna SDK has been updated to the latest version
- We now use the TWINT repository for the TWINT library
Fixed
- Fixed a crash when the SDK is killed in the background
- Fixed an app color display glitch that happened with certain web payments
- Minor bugs