Using an LLM (ChatGPT, Claude) or Coding Assistant (Cursor, Github Copilot)? Here are a few tips:
- Include the Para LLM-optimized context file for the most up-to-date help
- Check out the Example Hub Wiki for an interactive LLM using Para Examples Hub
General Troubleshooting Steps
Before addressing specific issues, try these general troubleshooting steps for both React Native and Expo projects:Clear Cache and Dependencies
Clear Cache and Dependencies
Rebuild iOS and Android folders (Expo)
Rebuild iOS and Android folders (Expo)
bash expo prebuild --clean
Rebuild the project
Rebuild the project
Common Issues and Solutions
Missing Polyfills
Missing Polyfills
Error: Errors related to missing modules like
crypto
, buffer
, or stream
.Solution: Update your metro.config.js
to include necessary polyfills:Incomplete Shims
Incomplete Shims
Error: Errors persist despite Metro configuration, often related to global objects.Solution: Create a
shim.js
file at the root of your project and import it in your entry file.For the complete shim.js
setup, refer to the Polyfills and Shims section in the React Native and Expo setup guides.Missing Crypto Subtle API
Missing Crypto Subtle API
Error: Errors related to
crypto.subtle
API or missing cryptographic functions.Solution: Add the PolyfillCrypto
component to your root App
component.Storage-Related Errors
Storage-Related Errors
Best Practices
- Implement robust error handling for all Para operations.
- Use secure storage methods for sensitive data.
- Keep your project’s native code up to date with the latest Para SDK requirements.
Integration Support
If you’re experiencing issues that aren’t resolved by our troubleshooting resources, please contact our team for assistance. To help us resolve your issue quickly, please include the following information in your request:- 1
A detailed description of the problem you’re encountering.
- 2
Any relevant error messages or logs.
- 3
Steps to reproduce the issue.
- 4
Details about your system or environment (e.g., device, operating system, software version).