File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 22# react-native-version-number
33<img src =" https://travis-ci.org/APSL/react-native-version-number.svg?branch=master " />
44
5- Returns the ` CFBundleShortVersionString ` and the ` CFBundleVersion ` . Android version is under development .
5+ Returns the ` CFBundleShortVersionString ` and the ` CFBundleVersion ` . For Android, returns the ` versionCode ` and ` versionName ` .
66
77## Getting started
88
@@ -12,16 +12,6 @@ Returns the `CFBundleShortVersionString` and the `CFBundleVersion`. Android vers
1212
1313` $ react-native link react-native-version-number `
1414
15- ### Manual installation
16-
17- #### iOS
18-
19- 1 . In Xcode, in the project navigator, right click ` Libraries ` ➜ ` Add Files to [your project's name] `
20- 2 . Go to ` node_modules ` ➜ ` react-native-version-number ` and add ` RNVersionNumber.xcodeproj `
21- 3 . In Xcode, in the project navigator, select your project. Add ` libRNVersionNumber.a ` to your project's ` Build Phases ` ➜ ` Link Binary With Libraries `
22- 4 . Run your project (` Cmd+R ` )<
23-
24-
2515## Usage
2616``` javascript
2717import VersionNumber from ' react-native-version-number' ;
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-version-number" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "description" : " " ,
55 "main" : " index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments