Closed karthikmandava7 closed 4 years ago
I'm trying to integrate React Native SDK for Custom UI, but it's not working as expected. Maybe I've done wrong in any place in the integration process, but I'm unable to find out exactly the issue. Can you please help.
Xcode - Version 11.2.1 (11B53)
"react": "16.9.0"
"react-native": "^0.60.0"
Hi @karthikmandava7. We have released an upgraded version (i.e. 2.1.2). Can you please update and let me know your response.
i am getting same error in current version
@prataprish007: Are you following these steps - https://github.com/razorpay/react-native-razorpay/wiki#installation-steps. ?
Closing this due to inactivity. You can always open the issue again.
I too am getting this issue in the latest version - 2.2.4 after upgrading from 2.1.23
node_modules/react-native-razorpay/ios/RazorpayCheckout.m:12:9: 'Razorpay/Razorpay-Swift.h' file not found
I manually linked it (without cocoapods) as instructed here
the only thing I did differently was that I also added the following to Header Search Paths
${SRCROOT}/../../../ios/Pods/Headers/Public
because without it, my build kept failing with this error
RazorpayCheckout.h:9:9: fatal error: 'RCTBridgeModule.h' file not found
Hi @karanwadhwa, the Razorpay SDK inside our react native plugin is getting downloaded from cocoa pods and it has a pod dependency.
I would suggest you to use pod as it is recommended by us and by react-native latest versions. Currently our cocoapod plugin version is 1.1.12.
You can check the current pod versions inside podfile.lock. If it's not the latest then please update it.
If you still want to go without the pod then you have to add the latest razorpay SDK in your codebase, that you can download the latest SDK from here and try adding that into your project.
node_modules/react-native-razorpay/ios/RazorpayCheckout.m:12:9: 'Razorpay/Razorpay-Swift.h' file not found
@Nautiyalsachin I too am getting the same error, *mentioned above,
I have already tried doing it with and without CocoaPods,
But the build is still failing.
Not sure what to do, any suggestions?
Versions->
react => 16.13.1 react-native => 0.63.3 react-native-razorpay => ^2.2.8, CocoaPods =>1.11.2 Platforms => iOS 14.5, Xcode => 12.5.1/12E507
Hi @PulkitAsri,
Can you please provide the razorpay-pod version?
I am facing the same error too. None of the solutions above work. Followed this steps: https://github.com/razorpay/react-native-razorpay#manual Please advice urgently, this is blocking our release.
Versions: react => ^17.0.2 react-native => ^0.66.4 react-native-razorpay => ^2.3.0, CocoaPods => 1.12.1 razorpay-pod (1.3.2)
Xcode => Version 13.2.1 (13C100)
@tabin-accessai i would suggest to remove the Podfile.lock, Runner.xcworkspace, and Pods from your project's ios folder and run pod install. Do let us know if the error is still not resolved.
@tabin-accessai i would suggest to remove the Podfile.lock, Runner.xcworkspace, and Pods from your project's ios folder and run pod install. Do let us know if the error is still not resolved.
Thanks for replying, but the error still persists.