Troubleshooting and FAQs

Troubleshoot common error scenarios and find answers to frequently asked questions.


This issue is caused by the new changes introduced in Xcode 12.

To resolve this:

  1. Use for launching the app on your Mac.
  2. Add the following lines to Podfile within post_install do |installer| .
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end

Know more about

.

For Expo: This error typically occurs when the react-native-razorpay package's native libraries are not included in the build. To resolve this, switch to a development build instead of an expo build, as development builds allow for the use of native libraries, which should enable the package to access the necessary functionality.

For React CLI: This error indicates that the react-native-razorpay package was not correctly installed. To fix this, try reinstalling the package.

To update the SDK version using npm, follow these steps:

  1. Open the terminal or command prompt and navigate to your project directory where the package.json file resides.
  2. Use the npm update command followed by the package name to update a specific package to its latest version. For example, npm update <razorpay_package_name> (replace <razorpay_package_name> with the name of the package you want to update).
  3. If you are using a React Native iOS application, run cd ios && pod repo update && pod update to ensure the internal iOS dependencies are updated to the versions set by the Razorpay package. This is because cocoapods may not automatically update the internal trunk spec to fetch the latest versions.
  4. After running the update command, review the updates fetched by npm to ensure they do not introduce any breaking changes.
  5. Conduct thorough testing to ensure that the updated packages do not adversely affect the application functionality and commit the changes.


Your customer is unable to click the Cancel button because the navigation bar is hidden. Follow the steps to

.


Is this integration guide useful?