Removed navigation-bar - unmaintained

This commit is contained in:
Max Lynch 2021-09-13 12:25:49 -05:00
parent e954edd4b9
commit 11b059932b

View File

@ -1,57 +0,0 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
/**
* @beta
* @name Navigation Bar
* @description
* The NavigationBar plugin allows you to hide and auto hide the android navigation bar.
*
* @usage
* ```typescript
* import { NavigationBar } from '@ionic-native/navigation-bar/ngx';
*
* constructor(private navigationBar: NavigationBar) { }
*
* ...
*
* let autoHide: boolean = true;
* this.navigationBar.setUp(autoHide);
* ```
*/
@Plugin({
pluginName: 'NavigationBar',
plugin: 'cordova-plugin-navigationbar',
pluginRef: 'navigationbar',
repo: 'https://github.com/cranberrygame/cordova-plugin-navigationbar',
platforms: ['Android'],
})
@Injectable()
export class NavigationBar extends IonicNativePlugin {
/**
* hide automatically (or not) the navigation bar.
* @param autohide {boolean}
* @return {Promise<any>}
*/
@Cordova({
callbackStyle: 'object',
successName: 'success',
errorName: 'failure',
})
setUp(autohide?: boolean): Promise<any> {
return;
}
/**
* Hide the navigation bar.
* @return {Promise<any>}
*/
@Cordova({
callbackStyle: 'object',
successName: 'success',
errorName: 'failure',
})
hideNavigationBar(): Promise<any> {
return;
}
}