mirror of
https://github.com/status-im/react-native-dialogs.git
synced 2025-03-01 00:30:28 +00:00
Update README.md
add `compile project(':react-native-dialogs')` for manual installation
This commit is contained in:
parent
55e66705b5
commit
6c2e173747
10
README.md
10
README.md
@ -51,6 +51,16 @@ include ':react-native-dialogs'
|
||||
project(':react-native-dialogs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-dialogs/android')
|
||||
```
|
||||
|
||||
update your ```app.gradle``` and add:
|
||||
```
|
||||
dependencies {
|
||||
compile project(':react-native-dialogs') // <-- Add this line
|
||||
compile "com.android.support:appcompat-v7:23.0.1"
|
||||
compile "com.facebook.react:react-native:+" // From node_modules
|
||||
//...
|
||||
}
|
||||
```
|
||||
|
||||
Next, you need to change the `MainApplication` of your app to register `ReactNativeDialogsPackage` :
|
||||
```java
|
||||
// ... Other imports
|
||||
|
Loading…
x
Reference in New Issue
Block a user