Please follow the guide located in React Native Environment Setup "React Native CLI Quickstart" tab. The following is an overview of the needed tooling.
Basic tooling:
For Android, install:
- Java Development Kit
- Android Studio with Android SDK
For iOS, install:
- XCode with Command Line Tools
- Cocoapods
Once all the tooling is ready:
- On the root folder:
npm i: this will install dependencies for the library
Before upgrading, you should check if a newer React Native version is available and whether an upgrade is needed.
Run the automated version check script:
npm run check-rn-versionor
yarn check-rn-versionThis script will:
- Show your current React Native version (from
devDependencies) - Check the latest available version on npm
- Compare versions and indicate if an upgrade is available
- Provide upgrade guidance and resources
Consider upgrading when:
- A new major version is released (may include breaking changes)
- A new minor version includes features you need
- Security patches are released
- You encounter bugs that are fixed in newer versions
- You want to use new React Native features
Note: This library uses peerDependencies with "react-native": "*", meaning it should work with any React Native version. However, you should test thoroughly after upgrading.
The SDK version constant is shared between iOS and Android platforms to ensure consistency. The version is defined in a single source of truth.
The SDK version is stored in sdk-version.json at the root of the project:
{
"version": 20260105
}The version uses a date-based format (YYYYMMDD), for example:
20260105= January 5, 202620260215= February 15, 2026
- Single Source of Truth: The version is defined in
sdk-version.json - Android: The
build.gradlefile reads the JSON and creates aBuildConfig.SDK_VERSIONfield that is used in the Java code - iOS: A script (
scripts/generate-sdk-version-header.js) generatesios/SDKVersion.hfrom the JSON file - Automatic Generation: The header file is automatically generated when you run
npm prepareoryarn prepare
If you need to manually regenerate the iOS header file (for example, after editing sdk-version.json), run:
npm run generate-sdk-versionor
yarn generate-sdk-version- Android: The version is accessed via
BuildConfig.SDK_VERSIONinRnBugfenderModule.java - iOS: The version is accessed via the
SDK_VERSIONconstant fromSDKVersion.hinRnBugfender.mm
Note: Do not edit ios/SDKVersion.h manually. It is auto-generated and will be overwritten. Always update sdk-version.json instead.