Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

This is a cordova plugin to minimizes the application in android devices

License

Notifications You must be signed in to change notification settings

talkspiritlab/cordova-plugin-appminimize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ THIS PROJECT IS NOT MAINTAINED NOR USED BY OUR TEAM ANY MORE. PLEASE DO NOT USE IT.

cordova-plugin-appminimize License

AppMinimize is a cordova plugin to minimize the application in android devices

Supported Platforms

  • Android

Installation

Cordova:

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

Usage

This plugin exports an object with one method called "minimize":

window.plugins.appMinimize.minimize();

Ionic Example

In this example the application is minimized by pressing the back button

$ionicPlatform.registerBackButtonAction(function (event) {
    event.preventDefault();
    window.plugins.appMinimize.minimize();
}, 100);

Ionic 2 Example

In this example the application is minimized by pressing the back button

this.platform.registerBackButtonAction(() => {
    window['plugins'].appMinimize.minimize();
});

About

This is a cordova plugin to minimizes the application in android devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 71.4%
  • JavaScript 28.6%