Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Install the package

Link

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

#### Manual installation

Expand Down Expand Up @@ -68,6 +68,20 @@ public class MainApplication extends Application implements ReactApplication {
}
```

**iOS**

In XCode, in the project navigator:

Right click Libraries
Add Files to [your project's name]
Go to `node_modules/react-native-version-number`
Add the .xcodeproj file

In XCode, in the project navigator, select your project.

Add the `libRNVersionNumber.a` from the deviceinfo project to your project's Build Phases ➜ Link Binary With Libraries
Click .xcodeproj file you added before in the project navigator and go the Build Settings tab. Make sure All is toggled on (instead of Basic).
Add header search path: `$(SRCROOT)/../node_modules/react-native-version-number/ios`

## Usage
```javascript
Expand Down