Skip to content

Commit 80f847c

Browse files
author
James Edward Butler
committed
Merge commit 'e3df5671be646722b565ae3af1c5ada1aeb000ca'
manually merge PR 31 from parent fork APSL#31
2 parents 210995a + e3df567 commit 80f847c

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Install the package
2525

2626
Link
2727

28-
`$ react-native link`
28+
`$ react-native link react-native-version-number`
2929

3030
#### Manual installation
3131

@@ -68,6 +68,20 @@ public class MainApplication extends Application implements ReactApplication {
6868
}
6969
```
7070

71+
**iOS**
72+
73+
In XCode, in the project navigator:
74+
75+
Right click Libraries
76+
Add Files to [your project's name]
77+
Go to `node_modules/react-native-version-number`
78+
Add the .xcodeproj file
79+
80+
In XCode, in the project navigator, select your project.
81+
82+
Add the `libRNVersionNumber.a` from the deviceinfo project to your project's Build Phases ➜ Link Binary With Libraries
83+
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).
84+
Add header search path: `$(SRCROOT)/../node_modules/react-native-version-number/ios`
7185

7286
## Usage
7387
```javascript

0 commit comments

Comments
 (0)