{"id":22602462,"url":"https://github.com/tomloprod/cordova-plugin-appminimize","last_synced_at":"2025-04-11T02:52:07.879Z","repository":{"id":57207819,"uuid":"58849840","full_name":"tomloprod/cordova-plugin-appminimize","owner":"tomloprod","description":"This is a cordova plugin to minimizes the application in android devices","archived":false,"fork":false,"pushed_at":"2018-12-09T09:42:19.000Z","size":9,"stargazers_count":38,"open_issues_count":1,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-04T18:55:36.998Z","etag":null,"topics":["android","cordova-plugin","minimizes"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomloprod.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-15T07:43:14.000Z","updated_at":"2023-03-06T09:04:18.000Z","dependencies_parsed_at":"2022-09-08T21:00:35.316Z","dependency_job_id":null,"html_url":"https://github.com/tomloprod/cordova-plugin-appminimize","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomloprod%2Fcordova-plugin-appminimize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomloprod%2Fcordova-plugin-appminimize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomloprod%2Fcordova-plugin-appminimize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomloprod%2Fcordova-plugin-appminimize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomloprod","download_url":"https://codeload.github.com/tomloprod/cordova-plugin-appminimize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247872302,"owners_count":21010213,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","cordova-plugin","minimizes"],"created_at":"2024-12-08T12:21:10.455Z","updated_at":"2025-04-11T02:52:07.860Z","avatar_url":"https://github.com/tomloprod.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cordova-plugin-appminimize [![License](https://img.shields.io/github/license/tomloprod/cordova-plugin-appminimize.svg)](http://www.opensource.org/licenses/mit-license.php)\n\n**AppMinimize** is a cordova plugin to minimize the application in android devices\n\n## Supported Platforms\n\n- Android\n\n## Installation\n\nCordova:\n\n    cordova plugin add cordova-plugin-appminimize\n\n## Usage\n\nThis plugin exports an object with one method called \"minimize\":\n\n```javascript\nwindow.plugins.appMinimize.minimize();\n```\n\n## Ionic Example\n\nIn this example the application is minimized by pressing the back button\n\n```javascript\n$ionicPlatform.registerBackButtonAction(function (event) {\n    event.preventDefault();\n    window.plugins.appMinimize.minimize();\n}, 100);\n```\n\n\n## Ionic Example\n\nIn this example the application is minimized by pressing the back button\n\n```bash\nionic cordova plugin add cordova-plugin-appminimize\nnpm install --save @ionic-native/app-minimize\n```\n\n```typescript\nimport { AppMinimize } from '@ionic-native/app-minimize';\n\n...\n\nconstructor(private appMinimize: AppMinimize) { }\n\n...\n\nthis.platform.registerBackButtonAction(() =\u003e {\n    this.appMinimize.minimize();\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomloprod%2Fcordova-plugin-appminimize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomloprod%2Fcordova-plugin-appminimize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomloprod%2Fcordova-plugin-appminimize/lists"}