Navigation Barβ
This plugin is still in beta stage and may not work as expected. Please submit any issues to the plugin repo.
The NavigationBar plugin allows you to hide and auto hide the android navigation bar.
Repo: https://github.com/cranberrygame/cordova-plugin-navigationbar
Installation
- Install the Cordova and Ionic Native plugins:
$ ionic cordova plugin add cordova-plugin-navigationbar $ npm install --save @ionic-native/navigation-bar@4
- Add this plugin to your app's module
Supported platforms
- Android
Usage
import { NavigationBar } from '@ionic-native/navigation-bar';
constructor(private navigationBar: NavigationBar) { }
...
let autoHide: boolean = true;
this.navigationBar.setUp(autoHide);
Instance Members
setUp(autohide)
hide automatically (or not) the navigation bar.
Param | Type | Details |
---|---|---|
autohide |
boolean
|
Returns: Promise<any>
hideNavigationBar()
Hide the navigation bar.
Returns: Promise<any>