get ap verion from NSBundle
Java Objective-C JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
RNAppInfo.xcodeproj init Jul 3, 2015
RNAppInfo Fix imports Jan 31, 2017
android android support implementation Jul 29, 2016
.DS_Store init Jul 3, 2015
.npmignore init Jul 3, 2015
README.md android support implementation Jul 29, 2016
index.js android support implementation Jul 29, 2016
package.json android support implementation Jul 29, 2016

README.md

react-native-app-info

Installation

  1. $ npm install react-native-app-info --save
  2. $ rnpm link react-native-app-info

Usage

var AppInfo = require('react-native-app-info');

console.log("App Version Number",AppInfo.getInfoVersion());
console.log("App Short Version Number",AppInfo.getInfoShortVersion());

console.log("App Version Number",AppInfo.getInfoBundleIdentifier());
console.log("App Short Version Number",AppInfo.getInfoName());


console.log("App Version Number",AppInfo.getInfoDisplayName());


AppInfo.setNetworkActivityIndicatorVisible(true);

AppInfo.setNetworkActivityIndicatorVisible(false);

Notice: setNetworkActivityIndicatorVisible function is not supported on Android.

Licence

MIT