Skip to main content

Installation

Get up and running with Nitro Version Check in your React Native project. The setup takes less than a minute.

Install the library​

bun add react-native-nitro-version-check

Or use your preferred package manager (npm, yarn, etc.)

Version 2.x and newer requires Nitro 0.35.0+ — for earlier versions, see Compatibility

Nitro Modules​

This library requires react-native-nitro-modules. If you don't already have it installed, add it:

bun add react-native-nitro-modules

Platform setup​

Expo​

For Expo projects, run prebuild after installing:

bunx expo prebuild

Bare React Native​

For bare React Native projects, install iOS pods:

cd ios && pod install

Requirements​

See the Compatibility guide to understand version requirements and migration paths.

Verify installation​

After installing, verify everything works:

import { VersionCheck } from 'react-native-nitro-version-check'

console.log(VersionCheck.version) // "1.2.0"
console.log(VersionCheck.buildNumber) // "42"
console.log(VersionCheck.packageName) // "com.example.app"

If you see your app's version info, you're all set.