Skip to content

Commit e68eab7

Browse files
mliberatoreporter-stripetillh-stripemmv08janicduplessis
authored
Merges master into Crypto Onramp Beta Branch (#2217)
* 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>
1 parent 01f3f2f commit e68eab7

File tree

56 files changed

+2573
-2107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2573
-2107
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
yarn lint && yarn typescript
1+
yarn lint && yarn typescript && yarn format:android:write

CHANGELOG.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
# CHANGELOG
22

3-
## x.x.x - x.x.x
3+
## x.x.x - 2025-x-x
4+
**Changes**
5+
- [Changed] Updated Stripe iOS SDK from 24.25.0 to 25.0.0
6+
- [Changed] Updated Stripe Android SDK from 21.29.+ to 22.0.+
7+
- [Removed] Removed Giropay. Use alternative payment methods instead. See [this page](https://docs.stripe.com/payments/giropay) for more information.
8+
9+
**Fixes**
10+
- [#2201](https://github.com/stripe/stripe-react-native/issues/2201) Fixed iOS sheets (PaymentSheet, CustomerSheet, AddressSheet, etc.) not presenting in scene-based lifecycle apps. The SDK now properly supports both traditional app delegates and scene-based lifecycles (iOS 13+) by using `RCTKeyWindow`.
11+
12+
## 0.56.0 - 2025-11-06
413

514
**Changes**
6-
- CustomerSession is now generally available. The `customerSessionClientSecret` parameter is no longer experimental.
7-
- ConfirmationTokens are now generally available. The `confirmationTokenConfirmHandler` parameter and `ConfirmationToken.Result` type are no longer experimental.
8-
- [Added] Added support for `CustomerSession` to CustomerSheet. The CustomerSession object grants the SDK temporary access to the Customer and provides additional configuration options. These configuration options allow you to customize the behavior of CustomerSheet. A complete list of features exposed on the CustomerSession are [in our API docs](https://docs.corp.stripe.com/api/customer_sessions/create#create_customer_session-components-customer_sheet).
9-
* [Added] Added support for `onBehalfOf` to CustomerSheet.IntentConfiguration. This parameter makes CustomerSheet use a connected account to determine the payment method that users see and whether CardBrandChoice is enabled. For more information, see the [SetupIntent docs](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-on_behalf_of).
15+
- [Added] CustomerSession is now generally available. The `customerSessionClientSecret` parameter is no longer experimental.
16+
- [Added] ConfirmationTokens are now generally available. The `confirmationTokenConfirmHandler` parameter and `ConfirmationToken.Result` type are no longer experimental.
17+
- [Added] Added support for `CustomerSession` to CustomerSheet. The CustomerSession object grants the SDK temporary access to the Customer and provides additional configuration options. These configuration options allow you to customize the behavior of CustomerSheet. A complete list of features exposed on the CustomerSession are [in our API docs](https://docs.corp.stripe.com/api/customer_sessions/create#create_customer_session-components-customer_sheet).
18+
* [Added] Added support for `onBehalfOf` to CustomerSheet.IntentConfiguration. This parameter makes CustomerSheet use a connected account to determine the payment method that users see and whether CardBrandChoice is enabled. For more information, see the [SetupIntent docs](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-on_behalf_of).
19+
20+
**Fixes**
21+
- Fixed Android crash `IllegalStateException: State must be at least CREATED to move to DESTROYED` when removing payment methods in EmbeddedPaymentElement. The crash occurred when views were destroyed before completing the lifecycle initialization.
1022

1123
## 0.55.1 - 2025-10-23
1224

0 commit comments

Comments
 (0)