-
Notifications
You must be signed in to change notification settings - Fork 9
Using Prebuilt React Native Core
By default, this plugin depends only on React-Core, which means React Native is built from source during pod install. If your project uses prebuilt React Native binaries, you can opt in to the React-Core-prebuilt dependency by setting the RCT_USE_PREBUILT_RNCORE environment variable.
Set RCT_USE_PREBUILT_RNCORE to '1' before running pod install. There are two ways to do this:
Add this line at the top of your ios/Podfile:
ENV['RCT_USE_PREBUILT_RNCORE'] = '1'Export the variable before running pod install:
export RCT_USE_PREBUILT_RNCORE=1
cd ios && pod installRCT_USE_PREBUILT_RNCORE |
Dependencies resolved |
|---|---|
Not set or != '1'
|
React-Core only |
'1' |
React-Core + React-Core-prebuilt
|
Use this flag when your React Native setup relies on prebuilt binaries instead of building from source. This is typically the case when:
- You are using a custom React Native distribution that ships prebuilt frameworks
- Your CI/CD pipeline uses prebuilt artifacts to speed up builds
- Your project explicitly provides
React-Core-prebuiltpods
If you are unsure whether you need this, you likely do not. The default (building from source) works for most projects.
If you have any questions or suggestions, feel free to send an email to support@infobip.com or create an issue.
- Library events
- Server errors
- Users and installations
- Messages and notifications management
- Inbox
- Privacy settings
- In‐app chat
- WebRTC Calls and UI
- Migration guides
- JSON Web Token (JWT) structure and generation example