cordova-plugin-appminimize
AppMinimize is a cordova plugin to minimize the application in android devices
Supported Platforms
- Android
Installation
Cordova:
cordova plugin add cordova-plugin-appminimize
Usage
This plugin exports an object with one method called "minimize":
windowpluginsappMinimize;
Ionic Example
In this example the application is minimized by pressing the back button
$ionicPlatform;
Ionic Example
In this example the application is minimized by pressing the back button
ionic cordova plugin add cordova-plugin-appminimizenpm install --save @ionic-native/app-minimize
; ... constructorprivate appMinimize: AppMinimize ... this.platform.registerBackButtonAction;