Iragne / react-native-app-info

get ap verion from NSBundle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

get ap verion from NSBundle


Languages

Language:Java 53.7%Language:Objective-C 31.0%Language:JavaScript 15.3%