diff --git a/src/@ionic-native/plugins/navigation-bar/index.ts b/src/@ionic-native/plugins/navigation-bar/index.ts deleted file mode 100644 index 7c96ef3ab..000000000 --- a/src/@ionic-native/plugins/navigation-bar/index.ts +++ /dev/null @@ -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} - */ - @Cordova({ - callbackStyle: 'object', - successName: 'success', - errorName: 'failure', - }) - setUp(autohide?: boolean): Promise { - return; - } - - /** - * Hide the navigation bar. - * @return {Promise} - */ - @Cordova({ - callbackStyle: 'object', - successName: 'success', - errorName: 'failure', - }) - hideNavigationBar(): Promise { - return; - } -}