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.)

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:

npx expo prebuild

Bare React Native

For bare React Native projects, install iOS pods:

cd ios && pod install

Requirements

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.