cordova-plugin-iosexitapp

1.0.0 • Public • Published

cordova-plugin-exitapp

This plugin adds the ability to programmatically close an app on Android or Windows Phone 8.

Installation

Plugin id: cordova.custom.plugins.exitapp

To install this plugin, follow the Command-line Interface Guide.

If you are not using the Cordova Command-line Interface, follow Using Plugman to Manage Plugins.

Usage

confirmed = function(buttonIndex) { if(buttonIndex == 1) { console.log("navigator.app.exitApp"); navigator.app.exitApp(); } }

onTouch = function() { navigator.notification.confirm('', confirmed, 'Exit?'); }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i cordova-plugin-iosexitapp

Weekly Downloads

1

Version

1.0.0

License

Apache 2.0

Last publish

Collaborators

  • revetkn