From 0a751f938cbc24928ff6e13189cba23c9217444b Mon Sep 17 00:00:00 2001 From: seanzhang-stripe <92703819+seanzhang-stripe@users.noreply.github.com> Date: Fri, 24 Jan 2025 16:49:46 +0800 Subject: [PATCH 1/3] Add warning about opting out new architecture --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e76687327..aac5e2e89 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,9 @@ The Stripe React Native SDK allows you to build delightful payment experiences in your native Android and iOS apps using React Native. We provide powerful and customizable UI screens and elements that can be used out-of-the-box to collect your users' payment details. +[!WARNING] +This SDK is not fully compatible with React Native's [New Architecture](https://reactnative.dev/blog/2024/10/23/the-new-architecture-is-here). If you are using React Native 0.76 or above, please [opt-out](https://reactnative.dev/blog/2024/10/23/the-new-architecture-is-here#opt-out) from it. + ## Getting started Get started with our [📚 integration guides](https://stripe.com/docs/payments/accept-a-payment?platform=react-native) and [example project](./CONTRIBUTING.md#running-the-example-app), or [📘 browse the SDK reference](https://stripe.dev/stripe-react-native). From d057d0d134e39a05b28ee6f87c4487f2612d6531 Mon Sep 17 00:00:00 2001 From: seanzhang-stripe <92703819+seanzhang-stripe@users.noreply.github.com> Date: Fri, 24 Jan 2025 16:51:45 +0800 Subject: [PATCH 2/3] Fix the warning blockquote --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aac5e2e89..9be0cf044 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ The Stripe React Native SDK allows you to build delightful payment experiences in your native Android and iOS apps using React Native. We provide powerful and customizable UI screens and elements that can be used out-of-the-box to collect your users' payment details. -[!WARNING] -This SDK is not fully compatible with React Native's [New Architecture](https://reactnative.dev/blog/2024/10/23/the-new-architecture-is-here). If you are using React Native 0.76 or above, please [opt-out](https://reactnative.dev/blog/2024/10/23/the-new-architecture-is-here#opt-out) from it. +> [!WARNING] +> This SDK is not fully compatible with React Native's [New Architecture](https://reactnative.dev/blog/2024/10/23/the-new-architecture-is-here). If you are using React Native 0.76 or above, please [opt-out](https://reactnative.dev/blog/2024/10/23/the-new-architecture-is-here#opt-out) from it. ## Getting started From 21a926b709fb0c8b123977c20fd571b7718d7b5f Mon Sep 17 00:00:00 2001 From: seanzhang-stripe <92703819+seanzhang-stripe@users.noreply.github.com> Date: Tue, 28 Jan 2025 09:08:28 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9be0cf044..297f6fe6b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ The Stripe React Native SDK allows you to build delightful payment experiences in your native Android and iOS apps using React Native. We provide powerful and customizable UI screens and elements that can be used out-of-the-box to collect your users' payment details. > [!WARNING] -> This SDK is not fully compatible with React Native's [New Architecture](https://reactnative.dev/blog/2024/10/23/the-new-architecture-is-here). If you are using React Native 0.76 or above, please [opt-out](https://reactnative.dev/blog/2024/10/23/the-new-architecture-is-here#opt-out) from it. +> Until we support React Native's [New Architecture](https://reactnative.dev/blog/2024/10/23/the-new-architecture-is-here), if you are using React Native 0.76 or higher, we recommend [opting out](https://reactnative.dev/blog/2024/10/23/the-new-architecture-is-here#opt-out) of it. ## Getting started