react-native-hide-navigator-android
v1.0.8
Published
## Uses hide android bottom "back home menu" button for react-native project
Downloads
2
Readme
react-native-hide-navigator-android
Uses
hide android bottom "back home menu" button for react-native project
Getting started
$ npm install react-native-hide-navigator-android --save
Mostly automatic installation
$ react-native link react-native-hide-navigator-android
Manual installation
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import com.henry.hidenavigator.RNHideNavigatorPackage;
to the imports at the top of the file - Add
new RNHideNavigatorPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-hide-navigator-android' project(':react-native-hide-navigator-android').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-hide-navigator-android/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-hide-navigator-android')
Usage
import RNHideNavigator from 'react-native-hide-navigator-android';
// TODO: What to do with the module?
RNHideNavigator;