Skip to content

Conversation

@mliberatore
Copy link
Collaborator

Summary

Exposes bindings for createRadarSession (docs: iOS, Android).

Motivation

Related to ongoing CryptoOnramp work.

Testing

  • I tested this manually
  • I added automated tests

Tested manually using a throwaway button that can be seen in commit 8092bb2. This commit has been removed from the PR. For the error screenshots, these were deliberate issues just to test the response processing. For iOS, we removed the guid parameter internal to the SDK. For Android, we passed an invalid stripe account id.

iOS Success iOS Error Android Success Android Failure

Documentation

Select one:

  • I have added relevant documentation for my changes.
  • This PR does not result in any developer-facing changes.

mats-stripe
mats-stripe previously approved these changes Oct 15, 2025
Twigz and others added 4 commits November 6, 2025 14:23
* Merge branch 'master' into 0.52.0-crypto-onramp-2-private-beta

* Fix some @_spi imports

* Fix placeholder function when not using onramp
* Updates to iOS 25.0.0 SDK

* Removes giropay references

* Fixes migration of `paymentMethodTypes: [NSNumber]` to `paymentMethodTypes: [STPPaymentMethodType]`

Release notes:

> [Changed] STPPaymentIntent.paymentMethodTypes and STPSetupIntent.paymentMethodTypes now return [STPPaymentMethodType] instead of [NSNumber] in Swift for better ergonomics.

* Migrates `authorizationResultHandler` which now accepts one parameter and returns async by using a continuation.

* Merge branch 'master' into 0.52.0-crypto-onramp-2-private-beta

* Fix some @_spi imports

* Fix placeholder function when not using onramp

---------

Co-authored-by: Twig <aharris.1990@gmail.com>
* Revert "Use files instead of npmignore to cleanup npm package (#2081)" (#2099)

This reverts commit 9b24cd8.

* Update package.json (#2105)

* Re-enable FC tests on iOS by forcing native flow (#2104)

* Re-enable FC tests on iOS by forcing native flow

* Fix Android build

* fix: add missing await to NativeStripeSdk.initialise calls (#2113)

The initialise method is async and returns a Promise, but it wasn't being
awaited. This could cause race conditions where subsequent Stripe operations
might be called before initialization completes.

Changes:
- Added await to initStripe function call to NativeStripeSdk.initialise
- Wrapped useEffect initialization in async IIFE
- Both Android and iOS initialization paths now properly await completion

* Parse link config for embedded (#2115)

* Remove package-lock.json (#2110)

* Use files instead of npmignore to cleanup npm package  (#2109)

* Revert "Revert "Use files instead of npmignore to cleanup npm package (#2081)" (#2099)"

This reverts commit c8d2bb2.

* Use npm publish

* Improve android ci build performance (#2111)

* Improve android ci build performance

* Test

* Update gradle action

* Use gradle cache action for both

* Improve apple pay docs (#2117)

* Embedded invisible Android fix (#2118)

* Try to fix layout issue

* Update CHANGELOG.md

* Add isLoaded (#2120)

* Bump Android SDK version to 21.26.+ (#2124)

* Bump Android SDK version to 21.26.+

* wip?

* 0.53.0 (#2121)

* Update CHANGELOG.md

* v0.53.0 (#2127)

* Fix iOS build on new arch 0.81 with static linkage (#2129)

* Fix iOS build on new arch 0.81 with static linkage

* Add changelog

* Fix a potential bug in the stop method. (#2133)

* Fix handling images with alpha (#2134)

* Update CHANGELOG.md (#2135)

* v0.53.1 (#2136)

* Set up headless task when using StripeProvider (#2128)

* Migrate CI to bitrise (#2137)

* Migrate CI to bitrise

* Update iOS test name

---------

Co-authored-by: Nick Porter <88012362+porter-stripe@users.noreply.github.com>

* feat: add Alma implementation (#2140)

Co-authored-by: Bella Koch <160939932+amk-stripe@users.noreply.github.com>

* Update CHANGELOG.md (#2149)

* v0.54.0 (#2150)

* Fix stripe ui errors when rotating screen (#2147)

* Fix stripe ui errors when rotating screen

* Fix format

* 0.54.1 proposal (#2153)

* v0.54.1 (#2154)

* Add iOS patch info to README (#2102)

* Add info about apply the patch to fix the iOS old architecture codegen issue

* Update wording

* update instructions to specify that issue is fixed with latest version

* fix typo

* Fix pods cache on CI (#2159)

* Fix pods cache on CI

* Test

* Update CODEOWNERS (#2162)

* Bump iOS version to ~> 24.24.0 (#2163)

* Bump iOS version to ~> 24.24.0

* update pods

* Add ability to applyLiquidGlass and update navigationBarStyle (#2165)

* Add ability to applyLiquidGlass and update navigationBarStyle

This reverts commit def71e55e0cea7e322333a4c47e4c1b3815c682d.

* kick off ci

* Revert "kick off ci"

This reverts commit 9447677.

* Add warning message to wave-atom affected releases (#2168)

* allow `uk_` keys for customer ephemeral keys (#2169)

* Propose 0.55.0 (#2175)

* v0.55.0 (#2176)

* Fix issue with missing metadata on FC events on Android (#2178)

* Fix issue with missing metadata on FC events on Android

* Add note in changelog

* Add ConfirmationTokens API (#2166)

* feat: Add confirmation token support for embedded payment element

Implements confirmation token callbacks for the embedded payment element,
allowing merchants to use confirmationTokenConfirmHandler as an alternative
to the traditional confirmHandler flow.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Committed-By-Agent: claude

* Test iOS CT path

* Update Android impl

* Update embedded screen

* Add embedded CT support

* run code gen

* Add import

* Scroll to find button

* Add notes about API

* Fix race condition

#2166 (comment)

* fix mappers

* lint

* Revert "Fix race condition"

This reverts commit ded8d94.

---------

Co-authored-by: Claude <noreply@anthropic.com>

* Add missing mappings for Link payment method type (#2179)

* Add missing mappings for Link payment method type

* Add note to changelog

* Update CHANGELOG.md (#2184)

* v0.55.1 (#2185)

* Code gen update (#2151)

* Fix border radius not being applied to Apple Pay button (#2189)

* GA CTs and CS (#2188)

* Fix patch releases not automatically being used from `stripe-android` (#2191)

* Customersession for customersheet and OBO (#2192)

* public api

* update react native sdk version

* backend changes

* emitter layer

* emission listener and callback spec

* callback listener and emission caller

* CustomerSheet w. CustomerSession Screen

* uncomment OBO parsing

* update iOS sdk version

* fix confirmationTokenConfirmHandler

* Update CHANGELOG.md

* fix embedded-cpm e2e test

wait until payment methods are loaded
add padding so the e2e test can actually click complete payment

* Handle lifecycle states better (#2200)

* Handle lifecycle states better

* Simplify fix

* Simplify fix more

* Update CHANGELOG.md (#2204)

* v0.56.0 (#2206)

* Remove fragments (#2174)

* Remove fragments

* Cleanup

* Cleanup

* More cleanup

* Fix dynamicColorFromParams

* Fix custom payment methods

* Fix dynamicColorFromParams

* Remove toBundle

* Fix format

* Cleanup

* Remove Giropay (#2209)

* Fix how we get root VC for scene based apps (#2216)

* Use RCTKeyWindow rather than UIApplication window

* Update CHANGELOG.md

* Update iOS SDK to 25.0.0 and Android SDK to 22.0.0 (#2210)

* Update iOS SDK to 25.0.0

* [TEMP] TODO DELETE THIS - make example prefer maven local

* Update Android

* update changelog

* Revert "[TEMP] TODO DELETE THIS - make example prefer maven local"

This reverts commit 66b9176.

* lint android and make it part of the pre-commit

* update with latest

* update example pod

* Add dev guide to claude md (#2215)

* initial

* Claude rewrites my initial guide

* Updates root view controller access to match `master`

* Fix android compilation

---------

Co-authored-by: Nick Porter <88012362+porter-stripe@users.noreply.github.com>
Co-authored-by: Till Hellmund <tillh@stripe.com>
Co-authored-by: Mikhail <mveehkim@gmail.com>
Co-authored-by: Janic Duplessis <janicduplessis@gmail.com>
Co-authored-by: George Birch <gbirch@stripe.com>
Co-authored-by: Tian Zhao <tianzhao@stripe.com>
Co-authored-by: Jay Newstrom <jaynewstrom@stripe.com>
Co-authored-by: rghirell <rghirell@student.42.fr>
Co-authored-by: Bella Koch <160939932+amk-stripe@users.noreply.github.com>
Co-authored-by: Samer Alabi <141707240+samer-stripe@users.noreply.github.com>
Co-authored-by: charliecruzan-stripe <97612659+charliecruzan-stripe@users.noreply.github.com>
Co-authored-by: John Woo <99628984+wooj-stripe@users.noreply.github.com>
Co-authored-by: Mat Schmid <mats@stripe.com>
Co-authored-by: guido-stripe <103590313+guido-stripe@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Andrew Harrison <Twigz@users.noreply.github.com>
Co-authored-by: Yuki <yuki@stripe.com>
Co-authored-by: Twig <aharris.1990@gmail.com>
…xpose-create-radar-session

# Conflicts:
#	src/functions.ts
@mliberatore mliberatore changed the base branch from 0.52.0-crypto-onramp-2-private-beta to master December 9, 2025 17:07
@mliberatore mliberatore dismissed mats-stripe’s stale review December 9, 2025 17:07

The base branch was changed.

# Conflicts:
#	.husky/pre-commit
#	CHANGELOG.md
#	CLAUDE.md
#	android/build.gradle
#	android/gradle.properties
#	android/src/androidTest/java/com/reactnativestripesdk/addresssheet/AddressSheetViewTest.kt
#	android/src/androidTest/java/com/reactnativestripesdk/mappers/MappersTest.kt
#	android/src/main/java/com/reactnativestripesdk/CardFieldView.kt
#	android/src/main/java/com/reactnativestripesdk/CollectBankAccountLauncherManager.kt
#	android/src/main/java/com/reactnativestripesdk/EmbeddedPaymentElementView.kt
#	android/src/main/java/com/reactnativestripesdk/EmbeddedPaymentElementViewManager.kt
#	android/src/main/java/com/reactnativestripesdk/EventEmitterCompat.kt
#	android/src/main/java/com/reactnativestripesdk/FakeOnrampSdkModule.kt
#	android/src/main/java/com/reactnativestripesdk/FinancialConnectionsSheetManager.kt
#	android/src/main/java/com/reactnativestripesdk/GooglePayLauncherManager.kt
#	android/src/main/java/com/reactnativestripesdk/PaymentSheetAppearance.kt
#	android/src/main/java/com/reactnativestripesdk/PaymentSheetManager.kt
#	android/src/main/java/com/reactnativestripesdk/StripeSdkModule.kt
#	android/src/main/java/com/reactnativestripesdk/customersheet/CustomerSheetManager.kt
#	android/src/main/java/com/reactnativestripesdk/customersheet/ReactNativeCustomerSessionProvider.kt
#	android/src/main/java/com/reactnativestripesdk/utils/Extensions.kt
#	android/src/main/java/com/reactnativestripesdk/utils/KeepJsAwakeTask.kt
#	android/src/main/java/com/reactnativestripesdk/utils/Mappers.kt
#	android/src/oldarch/java/com/reactnativestripesdk/NativeOnrampSdkModuleSpec.java
#	android/src/oldarch/java/com/reactnativestripesdk/NativeStripeSdkModuleSpec.java
#	android/src/onramp/java/com/reactnativestripesdk/OnrampSdkModule.kt
#	android/src/test/java/com/reactnativestripesdk/PaymentSheetAppearanceTest.kt
#	android/src/test/java/com/reactnativestripesdk/PaymentSheetManagerTest.kt
#	android/src/test/java/com/reactnativestripesdk/mappers/PaymentOptionDisplayDataMapperTest.kt
#	bitrise.yml
#	example/ios/Podfile.lock
#	example/server/index.ts
#	example/server/onrampBackend.ts
#	example/src/App.tsx
#	example/src/screens/HomeScreen.tsx
#	example/src/screens/Onramp/CryptoOnrampFlow.tsx
#	example/src/screens/Onramp/FormField.tsx
#	example/src/screens/Onramp/sections/AttachKycInfoSection.tsx
#	example/src/screens/Onramp/sections/LinkAuthenticationSection.tsx
#	example/src/screens/Onramp/sections/index.ts
#	ios/FinancialConnections.swift
#	ios/Mappers.swift
#	ios/StripeOnrampSdk.mm
#	ios/StripeSdk.mm
#	ios/StripeSdkImpl+CustomerSheet.swift
#	ios/StripeSdkImpl+Embedded.swift
#	ios/StripeSdkImpl+PaymentSheet.swift
#	ios/StripeSdkImpl.swift
#	package.json
#	src/functions.ts
#	src/hooks/useOnramp.tsx
#	src/index.tsx
#	src/specs/NativeOnrampSdkModule.ts
#	src/types/Onramp.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants