-
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
Latest iOS SDK has missing ExternalWalletSelectionProtocol.h #44
Comments
@Mayur-Wadpalliwar Thanks for sharing the reference. But I think you were not able to get the exact issue. The problem is entirely related to the latest iOS framework. I think that the 'ExternalWalletSelectionProtocol' has been deprecated from iOS framework which required some sort of changes on react-native-razorpay module as well. And this updation has not yet been made. Anyways I was able to fix the issue by following the |
@ProiOSDeveloper You are absolutely spot on. We have migrated our SDK to Swift and the react wrapper has changed a bit. We highly recommend that you use the latest SDK. We will be pushing an update to the react-native wrapper for our SDK (react-native-razorpay) soon. In the mean time you can use the latest SDK by replacing the following file in your local node_modules. Replace the content of with the content available here: Do let us know if you face any issues there. |
@ProiOSDeveloper I've used the '.framework' from node_modules but the build failed with @singhnitin88 Replacing the content didn't help either. I might be missing some step, could you detail out the steps to fix this issue. Thanks. |
@chaitu87 Please ensure that you are following the steps listed here carefully: |
@chaitu87 You will have to set the framework search path build setting to '../node_modules/react-native-razorpay/ios' |
Fixed with the update |
As per your documentation when I replaced the existing framework in RazorpayCheckout.xcodeproj, it gives following error:
'Razorpay/ExternalWalletSelectionProtocol.h' file not found
I think the iOS SDK and react native project are not in sync. It would be great if you could provide link to last react-native-razorpay compatible framework.
The text was updated successfully, but these errors were encountered: