react-native >= 0.60.0
### 1 - Install the package:
`$ yarn add react-native-navigation-bar-color`
or
`$ npm install react-native-navigation-bar-color --save`
## That's is all!
react-native <= 0.59.0
### 1 - Install the package:
`$ yarn add react-native-navigation-bar-color`
or
`$ npm install react-native-navigation-bar-color --save`
### 2 - Configure package:
1. Open up `android/app/src/main/java/[...]/MainApplication.java`
- Add `import com.thebylito.navigationbarcolor.NavigationBarColorPackage;` to the imports at the top of the file
- Add `new NavigationBarColorPackage()` to the list returned by the `getPackages()` method
2. Append the following lines to `android/settings.gradle`:
```
include ':react-native-navigation-bar-color'
project(':react-native-navigation-bar-color').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-navigation-bar-color/android')
```
3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
```
implementation project(':react-native-navigation-bar-color')
```