Description
react-native-version-info gives a React Native app its native version information. It reads the version and build number from the native side on each platform, so you do not have to keep a version constant in JavaScript. On iOS it returns CFBundleShortVersionString, CFBundleVersion and CFBundleIdentifier. On Android it returns versionName, versionCode and applicationId. On Windows it returns the major, minor and build numbers as the app version, the revision as the build version, and the name as the bundle identifier. A table in the README maps each platform's fields to appVersion, buildVersion and bundleIdentifier, with examples such as 1.0.2 and 42. Installation is with npm or yarn, followed by linking. The README describes automatic linking first, and asks iOS users with pods to run pod update afterwards.…
Highlights
- Reads app version and build number natively
- Supports Android, iOS and Windows
- Automatic and manual linking
- One API across platforms
Ratings & Reviews
No ratings yet
Be the first to rate react-native-version-info.
People also visit

react-native-idfa
Android and iOS module for react-native to read IDFA (advertising identifier)
react-native-version-info FAQ
What is react-native-version-info?
A React Native library that returns the app's native version information on Android, iOS and Windows.
How do I install it?
Use npm or yarn, as the README's installation section shows, then link the library, automatically or manually.
Do iOS users need an extra step?
If the project uses pods, run pod update after installing, as the README says.
Which fields come back on Android?
versionName, versionCode and applicationId, mapped to appVersion, buildVersion and bundleIdentifier.
Which platforms are supported?
Android, iOS and Windows, according to the README table.
What are the best react-native-version-info alternatives?
Popular alternatives to react-native-version-info include react-native-version-number, react-native-device-info and react-native-os. See all react-native-version-info alternatives

















