Update README.md
This commit is contained in:
parent
21e0b9192f
commit
525bece3cf
16
README.md
16
README.md
|
@ -38,21 +38,29 @@ react-native link react-native-navbar-color
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Manual
|
#### Manual
|
||||||
1. Make sure you include in `MainApplication.java` file.
|
1. [`REACT_NATIVE_PROJECT/android/app/src/main/java/PROJECT_ID/MainApplication.java`]
|
||||||
|
|
||||||
|
Make sure you include in `MainApplication.java` file.
|
||||||
|
|
||||||
```
|
```
|
||||||
import com.bhavan.RNNavBarColor.RNNavBarColor;
|
import com.bhavan.RNNavBarColor.RNNavBarColor;
|
||||||
```
|
```
|
||||||
|
|
||||||
2. In the ***getPackages*** method, add the following instantiation to the returned list.
|
In the ***getPackages*** method, add the following instantiation to the returned list.
|
||||||
```
|
```
|
||||||
new RNNavBarColor()
|
new RNNavBarColor()
|
||||||
```
|
```
|
||||||
3. In the `build.gradle` file add inside ***dependencies { .... }***
|
|
||||||
|
2. [`REACT_NATIVE_PROJECT/android/app/build.gradle`]
|
||||||
|
|
||||||
|
In the `build.gradle` file add inside ***dependencies { .... }***
|
||||||
```
|
```
|
||||||
compile project(':react-native-navbar-color')
|
compile project(':react-native-navbar-color')
|
||||||
```
|
```
|
||||||
4. In the `settings.gradle` file add
|
|
||||||
|
3. [`REACT_NATIVE_PROJECT/android/settings.gradle`]
|
||||||
|
|
||||||
|
In the `settings.gradle` file add
|
||||||
```
|
```
|
||||||
include ':react-native-navbar-color'
|
include ':react-native-navbar-color'
|
||||||
project(':react-native-navbar-color').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-navbar-color/android')
|
project(':react-native-navbar-color').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-navbar-color/android')
|
||||||
|
|
Loading…
Reference in New Issue