-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: _reactNativeRazorpay.default.open is not a function. #145
Comments
@kkcool6 please refer the example project in this repo , run npm I on it , remove node-modules from react-native-razorpay or blacklist it. |
Thanks @iThink32 , I checked the example folder and it worked, but I noticed that version of razor pay is 2.0.13 and also there are two more frameworks attached in Xcode, SystemConfiguration and CoreTelephony, so I changed my razorpay version and included these frameworks and it solved my problem. |
@kkcool6 hey first of all our latest react-native-razorpay package is 2.0.18, please update your package to the latest one and try.Try running npm update instead of npm i |
I was using the latest version before, tried a clean install of all modules as well, but it didn't work, But I can try again with a fresh installation and with both the frameworks, will update the status if it works for me. |
@kkcool6 ok , try the example folder with the latest repo. |
closing due to inactivity. |
Followed the video on integration with react native, but unable to make it work on IOS, integration is successful but the checkout function not working tried on the existing project and on a fresh project as well.
Here is the configuration.
Xcode 10 ,
RN 0.57.1
React 16.5.0
Razor pay version 2.0.18
here is the output from xcode console .
TypeError: _reactNativeRazorpay.default.open is not a function. (In '_reactNativeRazorpay.default.open(options)', '_reactNativeRazorpay.default.open' is undefined)
The text was updated successfully, but these errors were encountered: