# Cordova Plugin Exit
[![npm](https://img.shields.io/npm/v/cordova-plugin-exit.svg?style=flat-square)](https://www.npmjs.com/package/cordova-plugin-exit)
[![npm](https://img.shields.io/npm/dm/cordova-plugin-exit.svg?style=flat-square)](https://www.npmjs.com/package/cordova-plugin-exit)
[![license](https://img.shields.io/github/license/cakuki/cordova-plugin-exit.svg?style=flat-square)](LICENSE)

Allows to exit from Cordova app programmatically.

## Platforms

- Android
- iOS
- Windows Phone (not tested)

## Usage

```js
    cordova.plugins.exit();
```

## Source

This plugin is just a bit polished (package/plugin name changed for convention) version of this project:

https://github.com/joycorp/cordova-plugin-exitapp

Which is a refactored collection of these plugins/projects:

- Android & WP: https://github.com/gaqzi/cordova-plugin-exitapp
- iOS: https://github.com/FRD49/iOS-ExitApp
