malves-dev / iOS-ExitApp

navigator.app.exitApp() on iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS-ExitApp

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 com.malves-dev.cordova.exitApp or ionic cordova plugin add https://github.com/malves-dev/iOS-ExitApp.git

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.

About

navigator.app.exitApp() on iOS


Languages

Language:Objective-C 80.0%Language:JavaScript 20.0%