App Minimize

Contents

AppMinimize is a plugin to minimize the application on android devices

https://github.com/tomloprod/cordova-plugin-appminimize

Ionic 最小化应用App Minimize插件的安装(Installation)

ionic cordova plugin add cordova-plugin-appminimize npm install @ionic-native/app-minimize

Ionic 最小化应用App Minimize插件支持的平台(Supported Platforms)

  • Android

Ionic 最小化应用App Minimize插件的用法(Usage)

import { Platfrom } from 'ionic-angular';
import { AppMinimize } from '@ionic-native/app-minimize';


constructor(private platform: Platform, private appMinimize: AppMinimize) { }

...

this.platform.registerBackButtonAction(() => {
   this.appMinimize.minimize();
});