Check out Ionic Enterprise

App Minimize

Improve this doc

AppMinimize is a plugin to minimize the application on android devices

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

Installation

  1. Install the Cordova and Ionic Native plugins:
    $ ionic cordova plugin add https://github.com/tomloprod/cordova-plugin-appminimize.git
    $ npm install --save @ionic-native/app-minimize
    
  2. Add this plugin to your app's module

Supported platforms

Usage

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


constructor(private appMinimize: AppMinimize) { }

...

this.plugin.minimize().then(
  success => console.log('Closed'),
  err => console.log('Something went wrong')
);

Instance Members

minimize()

Minimizes the application

Returns: Promise<any>

API

Native

General