Skip to content

Latest commit

 

History

61 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-nitro-version-check

A lightweight, fast version-checking library for React Native, powered by Nitro Modules.

npm version npm downloads license

A drop-in replacement for the unmaintained react-native-version-check — rewritten from scratch with Nitro Modules.


Example

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

// Direct access
VersionCheck.version       // "1.2.0"
VersionCheck.buildNumber   // "42"
VersionCheck.packageName   // "com.example.app"
VersionCheck.installSource // "appstore" | "testflight" | "playstore" | "sideloaded"

// Or destructure properties
const { version, buildNumber, packageName, installSource } = VersionCheck

// Check for updates
if (await VersionCheck.needsUpdate()) {
  Linking.openURL(await VersionCheck.getStoreUrl())
}

Installation

bun add react-native-nitro-version-check

Version 2.x and newer requires Nitro 0.35+ — for earlier versions, use version 1.x

Check the full installation guide for platform setup and additional dependencies.

Documentation

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

About

Fast version checking and more for React Native, powered by Nitro Modules.

Topics

Resources

Stars

18 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages