Sanniv Khare 7 min read

Stripe React Native 0.86: stripe-ios 27, minSdk 24 and RN 0.87

Stripe React Native 0.86: stripe-ios 27, minSdk 24 and RN 0.87

The short version: @stripe/stripe-react-native 0.86.0 (published 2 December 2026) is a major upgrade dressed as a minor one. Before you bump it, your app must already be on React Native 0.87 or later (Expo SDK 58 for Expo apps), compile against Android SDK 37 and have minSdkVersion 24. In your JavaScript, every intentConfiguration.mode now needs a type of 'payment' or 'setup', and payment modes need a captureMethod. Underneath, the native SDKs jump from stripe-ios 26.16.1 to 27.0.0 and from stripe-android 23.26.0 to 24.0.0, and both now talk to the Stripe API as version 2026-09-30.endive instead of 2020-08-27.

This post is a source diff: we ran npm pack on @stripe/stripe-react-native 0.85.0, 0.85.1 and 0.86.0, unpacked all three and diffed the ios/ and android/ folders, the podspec, android/gradle.properties, android/proguard-rules.txt and package.json, then checked each change against Stripe’s own changelogs for the three repositories.

Why we did this: we keep payment SDKs current in the React Native banking and commerce apps we build for clients, and an upgrade that moves the React Native floor, the Android SDK levels and both native Stripe SDKs in one release needs to be planned in the right order, not discovered in CI.

The upgrade order

Do it in three steps, each one green before the next:

Upgrade order: React Native 0.87, then compileSdk 37 and minSdk 24, then Stripe 0.86

The SDK’s peer dependencies refuse anything older, so React Native goes first.

  1. React Native 0.87 or later (or Expo SDK 58). The 0.86.0 package.json changed its peer range from react-native >= 0.75.0 to >= 0.87.0 and expo from >= 46.0.9 to >= 58.0.0. Stripe’s migration guide says it plainly: upgrade React Native first, or stay on an older SDK release.
  2. Android SDK levels. Raise compileSdkVersion to 37 and minSdkVersion to at least 24 in your app. Many AndroidX libraries already need 24; we listed them in minSdk 23 to 24: which AndroidX libraries require it.
  3. Stripe 0.86.0, then the JavaScript changes below, then pod install.

What changed in the native build files

gradle.properties and podspec values in 0.85.1 and 0.86.0

The defaults the module ships in 0.85.1 and 0.86.0, from the unpacked packages.

On Android, android/gradle.properties changes three lines and leaves targetSdkVersion at 36 and Kotlin at 2.2.21. The module reads compileSdkVersion and minSdkVersion from your root project’s ext block when you set them, so the numbers that matter are yours:

// android/build.gradle (root)
buildscript {
    ext {
        compileSdkVersion = 37
        minSdkVersion = 24
        targetSdkVersion = 36
    }
}
diff of android/gradle.properties between 0.85.1 and 0.86.0

Real output from diffing the two unpacked packages.

The stripe-android 24.0.0 changelog lists more than the module’s own file shows: Kotlin goes from 2.2.21 to 2.3.21, Jetpack Compose from 1.10.6 to 1.12.1, Dagger from 2.58 to 2.59 and AndroidX Lifecycle from 2.10.0 to 2.11.0. Those arrive as transitive dependencies, so expect your Gradle dependency tree to move even if you never touch Compose yourself.

On iOS, the podspec pins stripe_version = '27.0.0' for both the CocoaPods and the Swift Package Manager path. One detail the changelogs do not mention: the iOS deployment target in the podspec moved from 13.0 to 15.0 in the 0.85.1 patch release, not in 0.86.0. If you skipped 0.85.1, you get both changes at once.

There is one more iOS condition in the 0.86.0 changelog: apps that include Onramp (the stripe-react-native/Onramp pod or the Expo includeOnramp option) now need Xcode 26.4 or later, because pod install enables the Identity package trait that StripeCryptoOnramp needs from stripe-ios 27.

The JavaScript changes that break the build

Two changes in the TypeScript types will stop tsc before anything runs, and one of them also fails at runtime.

IntentConfiguration with type and captureMethod in 0.86

type decides the mode; captureMethod must match how your server creates the PaymentIntent.

mode.type is now required. Until 0.85, the native side chose payment mode when amount was present and setup mode otherwise. In 0.86.0 both native modules switch on type instead. We read the code on each side: iOS gained a validateModeType function in StripeSdkImpl+PaymentSheet.swift, and Android’s PaymentElementConfig.kt now has a when (type) with an else branch that throws. A config without type comes back from initPaymentSheet as an error. Android’s message reads (iOS says 'nil' at the end):

intentConfiguration.mode.type must be either 'payment' or 'setup', but was 'null'

captureMethod is required in the types. At runtime both platforms still fall back to automatic capture when the value is missing (mapCaptureMethod on iOS and mapToCaptureMethod on Android both default to Automatic). That fallback is the trap for anyone who places holds: if your server creates PaymentIntents with capture_method: 'manual', pass CaptureMethod.Manual here, or the client and server disagree. Stripe-ios 27 itself also made captureMethod explicit in PaymentSheet.IntentConfiguration.Mode.payment.

For a SetupIntent, the change is one line:

mode: {
  type: 'setup',
  setupFutureUsage: 'OffSession',
}

AddressSheet loses googlePlacesApiKey. The prop was deprecated in 0.83.0 and is now gone; address autocomplete works without it. On Android, stripe-android 24 removed the matching builder methods too.

New, optional: allowedPaymentMethodTypes and excludedPaymentMethodTypes on IntentConfiguration. If your server creates intents with allowed_payment_method_types or excluded_payment_method_types, mirror the same lists here. In the native diff this is a pass-through: iOS sets intentConfiguration.allowedPaymentMethodTypes and excludedPaymentMethodTypes on the stripe-ios object.

Native SDK changes worth reading before release

These come from the stripe-ios 27.0.0 and stripe-android 24.0.0 changelogs (both dated 30 November 2026). We list the ones that touch code a React Native app or its server owns:

Change Platform What to check
API version 2026-09-30.endive instead of 2020-08-27 iOS and Android Your server can keep its own API version. Anything you pass in additionalAPIParameters must be valid for the new version. (stripe-ios 27.0.0)
allResponseFields follows the new API version iOS Fields removed or renamed; an expired authorization reports cancellation_reason: expired, not automatic. (stripe-ios 27.0.0)
Specific error codes for failed redirect payments iOS Bancontact, EPS, iDEAL, Klarna, Przelewy24 failures return codes like payment_method_customer_decline instead of payment_intent_authentication_failure. Update any error mapping in your UI. (stripe-ios 27.0.0)
External Payment Methods deprecated iOS and Android Move to Custom Payment Methods; EPMs keep working but are no longer maintained. (stripe-android v24.0.0)
allowsPaymentMethodsRequiringShippingAddress deprecated iOS and Android No longer has an effect; such methods are always shown. (stripe-android v24.0.0)
PaymentSheet and CustomerSheet are @MainActor iOS Matters only if you wrote your own Swift code against stripe-ios; the React Native module already calls them from the main thread. (stripe-ios 27.0.0)
returnUrl setters removed from confirm params Android Matters only for custom native Android code. (stripe-android v24.0.0)

Connect inline components and the R8 rules

Most of the native diff is new code, not changed code. 0.86.0 adds an ios/ConnectInline folder (sheet coordinator, rules, view controller, WebView proxies), a connect package on Android with seven Kotlin files, and a new Fabric component StripeConnectInlineHost, plus CheckoutExpressCheckoutElementView for the Checkout Sessions preview. react-native-webview appears as a new optional peer dependency.

If you ship with R8, note the new block at the end of android/proguard-rules.txt: keep rules for androidx.webkit.WebViewFeature, WebViewCompat and its WebMessageListener, WebMessageCompat, and two members of RNCWebView. The comment in the file says inline Connect components reach them through reflection. The rules come with the library, so you do not copy them; but if your app has its own aggressive -assumenosideeffects or shrinking rules for WebView classes, check they do not fight these. We audited how other libraries ship keep rules in broad R8 keep rules in 35 React Native libraries.

The 0.86.0 fixes are all Connect hardening: top-frame navigation away from the hosted Connect page now goes to the system browser on iOS for every navigation type, popups open in the system browser on both platforms (they were dropped on Android), only https:, mailto: and tel: links open, and Android Connect hosts must be served over https.

What to check on your own app

  • npm ls react-native shows 0.87 or later before you touch Stripe.
  • grep -rn "intentConfiguration" src/ and add type to every mode; add captureMethod that matches the server’s PaymentIntent.
  • grep -rn "googlePlacesApiKey" src/ and delete the prop.
  • Your root Android ext block says compileSdkVersion = 37 and minSdkVersion 24 or higher.
  • If you include Onramp, your build machines run Xcode 26.4 or later.
  • Your client-side error mapping for redirect payment methods handles the new specific codes.

Runtime behaviour on devices is outside this post; the checklist above is what the diff says will fail first.

Sources: npm package, stripe-react-native CHANGELOG, stripe-react-native MIGRATING.md, stripe-ios MIGRATING.md, stripe-android MIGRATING.md.

Made by the team behind this post

Apps from our studio

  • Goes with this post

    Cardigami

    Pop-up greeting cards that rise out of the fold on iPhone Duo.

    iPhone · App Store

    Get
  • Goes with this post

    BMDB.fun

    Your Bollywood world at a glance, with links straight to the OTT app that streams each film.

    Android TV · Web · Mobile

    Get
  • Nix

    The Mac uninstaller that finds what the Trash leaves behind: caches, logs, derived data and saved states.

    macOS

    Get
  • OneClick QuitAll

    Quit every running app in one click. See memory and CPU first.

    macOS · Mac App Store

    Get

Need this built? Let’s talk.

We build and run apps for Mac, TV, mobile and the web, and write about what we learn.