React Native is an important framework for indie hackers, startups, and established businesses to build and ship native mobile experiences quickly to a large user base. At Stripe, we have maintained both iOS and Android SDKs and are now enabling new experiences for developers building on React Native.
To best support React Native developers, we're thrilled to work with Expo, the popular framework and platform for building universal React Native applications. With Expo's tools and stripe-react-native
, it's never been easier to build secure and delightful mobile experiences.
Improving the developer experience
In building the stripe-react-native library with Expo Go support, our goal is to enable developers to create intuitive applications using tools that just work out-of-the-box. In addition, developers also want the ability to add customization as needed.
Getting started
To get up and running with Expo and Stripe, follow the docs reference: https://docs.expo.dev/versions/latest/sdk/stripe/
Existing developers using expo-stripe-payments
should follow this migration guide to get up and running with @stripe/stripe-react-native
: Read on GitHub
What's next?
Expo is working to make all React Native development as fast and friendly as it is to work in the classic managed workflow with Expo Go, while at the same time allowing you to use any custom native code you'd like.
Here are some of the new features we're planning to implement for Stripe React Native:
- Standalone Google Pay support
- WeChatPay app-to-app redirect support, which is the most convenient checkout experience for over 800 million customers in China
- Investigating the demand for a separate React Native SDK to enable Stripe Terminal in-person payment experiences. If you’re interested in this, please comment or leave a thumbs up here.
Thanks to the Expo team for working with us and to the React Native developer community for the many PR contributions and invaluable feedback! We’d love for you to test out the new SDK and submit feedback and issues on GitHub, and if you want to learn more about the inner workings of the SDK tune in for our talk at https://www.react-native.eu/ and watch our developer videos on YouTube.
If you'd like to try out the new Stripe React Native module, check out:
Top comments (2)
Any plans to make it universal by including support for expo web?