kr.co.joycorp.cordova.exitapp

Implements navigator.app.exitApp on WP8, Android


Keywords
cordova, exit, terminate, ecosystem:cordova, cordova-wp8, cordova-android, cordova-ios
License
Apache-2.0
Install
npm install kr.co.joycorp.cordova.exitapp@1.0.2

Documentation

ExitApp PhoneGap/Cordova Plugin

this plugin from ios - https://github.com/FRD49/iOS-ExitApp

android, wp - https://github.com/gaqzi/cordova-plugin-exitapp

changed support cordova 7.0+ & publish npm list

Platform Support

This plugin supports PhoneGap/Cordova apps running on both iOS and Android.

Version Requirements

This plugin is meant to work with Cordova 3.5.0+.

Installation

Automatic Installation using PhoneGap/Cordova CLI (iOS and Android)

  1. Make sure you update your projects to Cordova iOS version 3.5.0+ before installing this plugin.

     cordova platform update ios
     cordova platform update android
    
  2. Install this plugin using PhoneGap/Cordova cli:

     cordova plugin add https://github.com/joycorp/cordova-plugin-exitapp.git
     cordova plugin add cordova-plugin-exitapp2
    

Usage

navigator.app.exitApp();