Unknown type name 'RazorpayCheckout'
See original GitHub issueRazorpay Package Version : 2.2.4
Xcode Version (iOS) : 12.4
Razorpay-pod version (iOS) : 2.2.4
What happened:
When building the app through Xcode it is throwing error :
Unknown type name 'RazorpayCheckout'; did you mean 'RNRazorpayCheckout'
Steps To Reproduce
- Intsall the package
- change the ios version in podfile to 10.0
- pod install
- Build the app
Screenshot Link for the same: https://ibb.co/7W1nkDz
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (5 by maintainers)
Top Results From Across the Web
Unknown type name 'RazorpayCheckout'; did you mean ...
I was able to build the sample app with the versions given in package.json but when I upgraded the react native and react...
Read more >Unknown type name 'RazorpayCheckout'; did you mean ...
I am using react-native integrating Razorpay Payment Gateway. Version used : "react-native-razorpay": "^2.2.4". Perfectly works with Android, ...
Read more >razorpay - Bountysource
Unknown type name 'RazorpayCheckout'; did you mean 'RNRazorpayCheckout'? $ 0. Created 1 year ago in razorpay/react-native-razorpay with 3 comments. Getting ...
Read more >react-native-razorpay - npm
Call RazorpayCheckout.open method with the payment options . The method returns a JS Promise where then part corresponds to a successful payment ...
Read more >Problem with 'error: unknown type name' : r/C_Programming
Hello, I have the following problem. I have typedef alias: typedef cx_ecfp_private_key_t privatekey_t; // In header file 'crypto.h' I also ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing the issue in that case, feel free to add more comments here.
We are able to compile without any errors, with below versions.
“dependencies”: { “@react-native-community/cli”: “^5.0.1”, “react”: “17.0.1”, “react-native”: “0.64.2”, “react-native-base64”: “^0.2.1”, “react-native-eject”: “^0.1.2”, “react-native-elements”: “^3.4.2”, “react-native-razorpay”: “^2.2.7”, “typescript”: “^4.3.4” },
Can you try with the latest versions of react-native and razorpay libraries and let us know if you still face the errors ?