-
Notifications
You must be signed in to change notification settings - Fork 112
Description
Describe the feature you'd like:
Currently most of the react native apps are based on EXPO framework. As it has some of the enterprise features such as eas build and easy to publish updates to Play Store/App Store. As of Razorpay only supports bare workflow which is react-native cli support. Razorpay has native modules dependency. So it can't be installed directly on expo. But after SDK 41. They have added support for building native modules with dev client (Separate binary just like Expo GO) but it will contain the native code modules in binary.
Suggested implementation:
Expo allows to implement native modules by building Config Plugins (Basically you tell expo what are the native code changes required ). When user run expo install razorpay. Expo will automatically configure native code changes with out ejecting the app.
Describe alternatives you've considered:
Similar implementation made in Stripe.
Currently we are using stripe payments as it supports expo. They have their UPI payment option in beta. But i feel Razorpay is still better for Indian consumers.
Teachability, Documentation, Adoption, Migration Strategy:
https://docs.expo.dev/guides/config-plugins/
! This is expo thread request for Razorpay support. https://expo.canny.io/feature-requests/p/support-for-razorpay