-
Notifications
You must be signed in to change notification settings - Fork 107
FAQ's
These FAQ's include usually faced integration problems of Razorpay.
Question: What should you do if you see the following error?
dyld: Library not loaded: @rpath/libswiftCoreGraphics.dylib
Referenced from: /private/var/mobile/Containers/Bundle/Application/696F0EAD-E2A6-4C83-876F-07E3D015D167/<Your_App>.app/Frameworks/<Framework_Name>.framework/<Framework_Name>
Reason: image not found
Answer:
- To workaround this issue, set the
Embedded Content Contains Swift Code (EMBEDDED_CONTENT_CONTAINS_SWIFT)
build setting to YES in your app.
For more info you can follow this link - https://developer.apple.com/library/archive/qa/qa1881/_index.html
- Ensure that you have the framework added in Frameworks, Libraries, and Embed Content under Target settings - General. Change Embed status from - 'Do not Embed' to 'Embed & Sign'.
CocoaPods: Verify that you have already installed CocoaPods.
Proguard Rules: Verify that you have already installed CocoaPods.
If you are using proguard for your builds, you need to add following lines to proguard files
-keepattributes *Annotation*
-dontwarn com.razorpay.**
-keep class com.razorpay.** {*;}
-optimizations !method/inlining/
-keepclasseswithmembers class * {
public void onPayment*(...);
}
Question: How to integrate for 0.60 and above react-native versions?
or
Question: How to use Auto linking in react native?
Answer: refer this link - https://github.com/razorpay/react-native-razorpay#for-react-native-060
Question: How to integrate for 0.59 and below react-native versions?
Answer: refer this link - https://github.com/razorpay/react-native-razorpay#for-react-native-059-and-lower
Question: How to install react native through manual linking?
Answer: refer this link - https://github.com/razorpay/react-native-razorpay#manual
Follow this link if you want more FAQ's or if your issue is not reported here - https://razorpay.com/docs/payment-gateway/ios-integration/faq/