0.0.2 • Published 7 years ago

cordova-plugin-exitapp-ios v0.0.2

Weekly downloads
175
License
Apache 2.0
Repository
github
Last release
7 years ago

cordova-plugin-exitapp-ios

This plugin implements navigator.app.exitApp() on iOS to close your application programmatically. Please be aware that your application may be rejected by Apple when using this plugin.

Installation

cordova plugin add cordova-plugin-exitapp-ios

Usage

The usage is pretty simple. Call navigator.app.exitApp(); to exit the application immediately. Optional you can pass a parameter true || false to ask the user if the really wants to close the application.