Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Iragne/react-native-app-info
get ap verion from NSBundle
https://github.com/Iragne/react-native-app-info
Last synced: 5 days ago
JSON representation
get ap verion from NSBundle
- Host: GitHub
- URL: https://github.com/Iragne/react-native-app-info
- Owner: Iragne
- Created: 2015-07-03T15:29:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-14T09:30:12.000Z (about 7 years ago)
- Last Synced: 2024-12-01T12:09:37.078Z (11 days ago)
- Language: Java
- Size: 22.5 KB
- Stars: 43
- Watchers: 5
- Forks: 16
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-react-native - react-native-app-info ★42 - React Native app info and version (Components / System)
- awesome-react-native-native-modules - react-native-app-info ★39
- awesome-react-native - react-native-app-info ★42 - React Native app info and version (Components / System)
- awesome-react-native - react-native-app-info ★42 - React Native app info and version (Components / System)
- awesome-react-native - react-native-app-info ★42 - React Native app info and version (Components / System)
- awesome-react-native-ui - react-native-app-info ★33 - React Native app info and version (Components / System)
README
# react-native-app-info
## Installation
1. `$ npm install react-native-app-info --save`
2. `$ rnpm link react-native-app-info`## Usage
```js
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