Releases: Adyen/adyen-react-native
Releases · Adyen/adyen-react-native
2.9.1
What's Changed
Fixes
-
iOS:
- Fixed Apple Pay availability when the amount and payment data are derived from the session context.
- Resolved an issue where
ADYRedirectComponent.hwas not correctly discoverable. - Added support for React Native 0.76 and Expo 52 in
ADYPlatformPayView.
-
Correctly exported the following modules:
AdyenApplePay,AdyenDropIn,AdyenGooglePay, andAdyenInstant.
New
- Update Android to v5.16.1
- When the shopper uses a connected hardware keyboard, the primary button can now be selected using keyboard input. Previously, a keyboard navigation issue prevented interaction with the button.
- For Drop-in: when a shopper selects a stored payment method and a regular payment method simultaneously, a crash no longer occurs.
- Update iOS to 5.22.2
- HUF Currency Formatting: Fixed an issue where Hungarian Forint (HUF) amounts were incorrectly formatted on iOS 26.4 Beta. The iOS beta changed the minor digits for HUF from 2 to 0 in this beta, which conflicted with the Adyen backend expectation of 2 decimal places. The SDK now explicitly overrides HUF to use 2 minor units, ensuring consistent amount formatting across all iOS versions.
Example App
- Tab Navigation: The "Home" page now features integrations organised into three tabs: Sessions, Advanced, and API-Only.
Internal
- Refactored the message bus to improve extensibility and separate Session and Payment events.
New Contributors
- @MiguelBebensee made their first contribution in #940
Full Changelog: 2.9.0...2.9.1
2.9.0
New
- The
dataobject inonSubmitcallback now includessdkDataparameter. For Advanced flow, we recommend that you include this parameter in your/paymentsrequest. - For the Expo plugin: added support for overrides on the extended
MainActivity.
Changed
-
Dependency versions:
Name New version iOS Drop-in/Components 5.22.1 Android Drop-in/Components 5.16.0 react-server-dom-webpack19.0.3. This addresses the CVE-2025-55182 vulnerability.
Improved
- Source code cleanup: fixed code smells and reduced code duplication.
- Moved
plugininsidesrc. - For the Example App:
- After an
onErrorcall, the session is now refreshed. - Credentials from an untracked
secrets.jsonfile are now used.
- After an
Fixed
- For iOS:
- When the application leaves the foreground, the
/sessionrequest is no longer recreated. - When an invalid client key is provided, the error is now handled and provides a human-readable error message.
- When the application leaves the foreground, the
- For the Android Twint Component: instant payments no longer cause the app to crash.
- When a network error occurs during an internal session fetch, the app no longer crashes.
- For the Example App:
- A bug related to session fetch errors no longer occurs.
- A UI bug caused by rapid navigation after a card payment no longer occurs.
2.8.1
2.8.0
What's Changed
Features
- Fabric Native Components: We've introduced new Fabric Native Components:
ApplePayButtonfor iOS andGooglePayButtonfor Android. - Payment Availability Checks: The
AdyenApplePayandAdyenGooglePaymodules now include anisAvailablemethod. This allows developers to asynchronously check if a payment can be made before presenting the corresponding button to the user. - Context State Observability: A new
isReadyproperty has been added to theuseAdyenCheckouthook, providing an observable state for the<AdyenCheckout>context's readiness. - Improved Redirects: The payment data payload in
onSubmitnow includes asupportNativeRedirectfield. Passing this property to the/paymentsAPI improves app-to-app redirects.
Fixes
- Sessions Flow: The
onCompletemethod signature from the<AdyenCheckout>context now correctly returns aSessionsResultfor the Sessions flow. - Voucher Payments: The
onCompletemethod is now also used for Voucher payments in the Advanced flow.
Dependencies
- React Native SDK: The SDK now uses React Native v0.78.3.
- iOS SDK: Updated to 5.20.1.
- Android Drop-in: Updated to 5.14.0.
Example App
- The Example app now uses React Native v0.78.3.
- The Example app has been refactored to TypeScript for improved type safety.
Other
- Project Structure: We've introduced a better folder structure for improved organization and maintainability.
Full Changelog: 2.7.3...2.8.0
2.7.3
What's Changed
Fixes
- Android Standalone Action: The redirect action dialog no longer disappears when a user swipes or taps outside the dialog view.
- GooglePay: fixes problem when Google Pay sheet does not open randomly.
Full Changelog: 2.7.2...2.7.3
2.7.2
What's Changed
Fixed
- Drop-in on Android now works with New Architecture. It no longer requires bridgeless mode.
Other
- Example app version: React Native v0.77.1
Full Changelog: 2.7.1...2.7.2
2.7.1
New
- Added Swift support for Expo 53+.
Improved
-
Updated versions:
SDK Version iOS Drop-in/Components 5.19.1 Android Drop-in/Components 5.13.1 -
Apple Pay: the amount displayed on the payment sheet is now correctly updated after a partial payment.
Fixes
- iOS Drop-in: Gift cards and meal vouchers are now correctly displayed in the payment method list for Sessions.
- Android Redirect: The redirect action dialog no longer disappears when a user swipes or taps outside the dialog view.
- Android Drop-in: The status bar color is now transparent in the base theme.
- Cards: The UI for selecting a card brand for a co-badged card now only appears for supported brands.
2.7.0
Warning
We've identified an issue where the expiry date input field for card payments in Drop-in and Components function incorrectly when the app is resumed from the background.
What's Changed
New
- Minimal version of Expo set to 52 due to Android Target API Level requirements
- For Card Component: when the shopper enters the details for a co-badged card, they can now see the available brand options in a separate section in the payment form.
- Update iOS to 5.19.1:
- Adding new localizations or overriding strings is now possible when using enforced locale.
- For the BCMC Component: when you specify custom localization parameters, the Component now correctly uses them.
- Update Android to 5.12.0:
- For the address lookup feature, the full country name in the Search for your address field is now shown. Previously, the country code was shown.
Other
- Improve UI for Advanced stored cards for example app
Full Changelog: 2.6.1...2.7.0
2.6.1
What's Changed
Fixes
- Fixed an issue where
expo prebuildcould generate incorrectimportsinMainActivity.kt. expo prebuildno longer requires the--cleanflag and avoids generating duplicate lines.- Resolved a crash in
AddressLookupon Android caused by a missing address field inonUpdateAddressarray.
New Contributors
- @Robert-SD made their first contribution in #602
Full Changelog: 2.6.0...2.6.1
2.6.0
What's Changed
New
- Expo Prebuild now works with both modern Android API level 52 or later, and earlier levels.
- For cards configuration, we added the
onBinLookupandonBinValuecallbacks. - Update iOS SDK to 5.17 and Android SDK to 5.10:
- Add payment method PayTo with support for recurring payments.
- For native 3D Secure 2, when a shopper cancels the payment during the payment flow, the didProvide(...) delegate method is now triggered.
Fixes
- Fixed an issue where iDeal opened in the Drop-in instead of the instant payment component.
- For iOS, fixed a modal presentation issue when
SFSafariViewControlleris dismissed with it's presenter.
Full Changelog: 2.5.0...2.6.0