Skip to content

Commit

Permalink
Android release 🤖
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaromb committed Sep 2, 2016
1 parent b537d91 commit a5e975a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# react-native-version-number
<img src="https://travis-ci.org/APSL/react-native-version-number.svg?branch=master" />

Returns the `CFBundleShortVersionString` and the `CFBundleVersion`. Android version is under development.
Returns the `CFBundleShortVersionString` and the `CFBundleVersion`. For Android, returns the `versionCode` and `versionName`.

## Getting started

Expand All @@ -12,16 +12,6 @@ Returns the `CFBundleShortVersionString` and the `CFBundleVersion`. Android vers

`$ react-native link react-native-version-number`

### Manual installation

#### iOS

1. In Xcode, in the project navigator, right click `Libraries``Add Files to [your project's name]`
2. Go to `node_modules``react-native-version-number` and add `RNVersionNumber.xcodeproj`
3. In Xcode, in the project navigator, select your project. Add `libRNVersionNumber.a` to your project's `Build Phases``Link Binary With Libraries`
4. Run your project (`Cmd+R`)<


## Usage
```javascript
import VersionNumber from 'react-native-version-number';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-version-number",
"version": "0.1.0",
"version": "0.1.1",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit a5e975a

Please sign in to comment.