ExitApp

Implements navigator.app.exitApp on WP8
gaqzi1.0.01
platforms: wp8
$ cordova plugin add se.sanitarium.cordova.exitapp

cordova-plugin-exitapp

This plugin adds the ability to close a Windows Phone 8 app programatically. It was build because a WP8 app was rejected because it didn't close the app with custom back button behavior.

Installation

Package name on the Cordova plugin repository is se.sanitarium.cordova.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

The usage is extremely simple:

navigator.app.exitApp();