Skip to content

Releases: Adyen/adyen-react-native

2.11.1

02 Jun 11:28
fb7112f

Choose a tag to compare

What's Changed

Bug Fixes

  • iOS: Run cleanup processes on the main thread to prevent native code crashes. (#1113)

2.11.0

13 May 15:11
6445b1c

Choose a tag to compare

What's Changed

Features

  • Apple Pay Enhancements: Added support for new callback events and configuration options:
    • Added onAuthorize (#1092)
    • Added onShippingContactChange and onShippingMethodChange. (#1093)
    • Added onCouponCodeChange callback; supportsCouponCode and couponCode configurations. (#1094)
  • For card payments: Added support for installment configurations. (#1074)

Bug Fixes

  • iOS: Renamed ADYCardViewCls to CardViewCls to ensure compatibility with Expo 52. (#1098)

Improved

  • Code Quality: Resolved various SonarCloud maintainability issues across TypeScript, Swift (iOS), and Kotlin (Android) codebases. (#1084, #1082, #1083)

SDK Updates

  • Dependency versions:
Name New version
Android Drop-in/Components 5.18.0
iOS Drop-in/Components 5.24.0

Full Changelog: 2.10.0...2.11.0

2.10.0

21 Apr 10:15
7fce821

Choose a tag to compare

Changes

Features

  • For card payments: the new <CardView> component lets you render card payment forms directly in your React Native layout, without a full-screen modal. (#1049)
  • For the AdyenCSE module: you can now validate card details before encrypting them, using the new validateCardNumber, validateCardExpiryDate, and validateCardSecurityCode methods. (#1037)

Deprecations

  • The AdyenCheckout.start("scheme") flow. This flow will be removed in v3. Use the embedded <CardView> component instead. A runtime warning now appears when you use the old approach. (#1065)

Bug Fixes

  • For Google Pay: the button now updates correctly after the default card finishes loading.(#1062)

SDK Updates

  • Dependency versions: Android Drop-in/Components 5.17.0, iOS Drop-in/Components 5.23.1.

Internal

  • Various dependency updates (security patches and tooling).

New Contributors

Full Changelog: 2.9.1...2.10.0

2.9.1

02 Mar 10:19
df3b0c1

Choose a tag to compare

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.h was not correctly discoverable.
    • Added support for React Native 0.76 and Expo 52 in ADYPlatformPayView.
  • Correctly exported the following modules: AdyenApplePay, AdyenDropIn, AdyenGooglePay, and AdyenInstant.

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

Full Changelog: 2.9.0...2.9.1

2.9.0

14 Jan 16:19
bbbcd62

Choose a tag to compare

New

  • The data object in onSubmit callback now includes sdkData parameter. For Advanced flow, we recommend that you include this parameter in your /payments request.
  • For the Expo plugin: added support for overrides on the extended MainActivity.

Changed

Improved

Fixed

  • For iOS:
    • When the application leaves the foreground, the /session request is no longer recreated.
    • When an invalid client key is provided, the error is now handled and provides a human-readable error message.
  • 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

14 Jan 14:55
40faf75

Choose a tag to compare

What's Changed

  • For Expo integrations:
    • expo prebuild now correctly generates imports in MainActivity.kt.
    • You are no longer required to use the --clean flag when running expo prebuild to avoid generating duplicate lines.

2.8.0

01 Oct 17:03
10476dd

Choose a tag to compare

What's Changed

Features

  • Fabric Native Components: We've introduced new Fabric Native Components: ApplePayButton for iOS and GooglePayButton for Android.
  • Payment Availability Checks: The AdyenApplePay and AdyenGooglePay modules now include an isAvailable method. 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 isReady property has been added to the useAdyenCheckout hook, providing an observable state for the <AdyenCheckout> context's readiness.
  • Improved Redirects: The payment data payload in onSubmit now includes a supportNativeRedirect field. Passing this property to the /payments API improves app-to-app redirects.

Fixes

  • Sessions Flow: The onComplete method signature from the <AdyenCheckout> context now correctly returns a SessionsResult for the Sessions flow.
  • Voucher Payments: The onComplete method 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

14 Aug 13:59
8b910c0

Choose a tag to compare

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

01 Aug 12:33
66a132c

Choose a tag to compare

What's Changed

Fixed

Other

Full Changelog: 2.7.1...2.7.2

2.7.1

18 Jul 15:44
55a9092

Choose a tag to compare

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.