Open alaksandarjesus opened 5 months ago
@alaksandarjesus We've had other people face this issue. This is because the application is running on expo mode whereas it needs to run on development mode for the native modules to be used.
Here are the commands I followed. npx expo prebuild npx expo start -> expo go build a -> running app on android {you'll see error mentioned above} s -> switch to development mode a -> run app on android.
This is what we've seen works before too. Here's the link to the reply quoted above. Can you please try this and check if this resolves your issue?
@alaksandarjesus We've had other people face this issue. This is because the application is running on expo mode whereas it needs to run on development mode for the native modules to be used.
Here are the commands I followed. npx expo prebuild npx expo start -> expo go build a -> running app on android {you'll see error mentioned above} s -> switch to development mode a -> run app on android.
This is what we've seen works before too. Here's the link to the reply quoted above. Can you please try this and check if this resolves your issue?
as far as I know there is only 1 build per day right for the free tier? we cant keep building and check if there are any issues occurred? or is there an another way to build where the apk is saved in the local system like every other framework?
@szaid6 It's not a limitation set by the Razorpay package. These are the steps we need to follow to allow native modules. And there are no limitations on following the steps above multiple times. Creating an APK is a different process. The steps mentioned above are run locally and are run through the expo app. Prebuild helps set the android/iOS projects, and does not count in the build section.
I am trying to integrate Razor Checkout on my expo application and these are the steps i followed
https://razorpay.com/docs/payments/payment-gateway/react-native-integration/standard/build-integration-android/
npx expo install react-native-razorpay
npx expo prebuild
In my application
And I get below error log
package.json