# cordova-plugin-rscexitapp

> Implements navigator.app.exitApp on iOS, WP8, Android

Latest version **0.0.5** (published 2017-09-27) · Apache 2.0 license · 0 weekly downloads

## Install

```sh
npm install cordova-plugin-rscexitapp
pnpm add cordova-plugin-rscexitapp
yarn add cordova-plugin-rscexitapp
bun add cordova-plugin-rscexitapp
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2017-09-27 |
| First published | 2017-09-25 |
| Weekly downloads | 0 |
| License | Apache 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Rakesh Walisheter, Mark Allen |
| Maintainers | dennis.liu |
| Keywords | cordova, exit, terminate, ecosystem:cordova, cordova-wp8, cordova-android |

## Links

- npm: https://www.npmjs.com/package/cordova-plugin-rscexitapp
- Repository: https://github.com/rscdennis/cordova-plugin-rscexitapp
- Homepage: https://github.com/rscdennis/cordova-plugin-rscexitapp#readme
- Issues: https://github.com/rscdennis/cordova-plugin-rscexitapp/issues
- npm.io page: https://npm.io/package/cordova-plugin-rscexitapp

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2017-09-27
- 0.0.4 — 2017-09-27
- 0.0.3 — 2017-09-26
- 0.0.2 — 2017-09-25
- 0.0.1 — 2017-09-25

## README

# cordova-plugin-rscexitapp
Implements navigator.app.exitApp on iOS, WP8, Android
---------------------------------------------------------------------------------------------------
This plugin adds the ability to programmatically close an app on Android or Windows Phone 8. 

## Installation

Plugin id: cordova.custom.plugins.exitapp

To install this plugin, follow the [Command-line Interface Guide](http://cordova.apache.org/docs/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface).

If you are not using the Cordova Command-line Interface, follow [Using Plugman to Manage Plugins](http://cordova.apache.org/docs/en/edge/plugin_ref_plugman.md.html).

## Usage

confirmed = function(buttonIndex) {
    if(buttonIndex == 1) {
        console.log("navigator.app.exitApp");
        navigator.app.exitApp();
    } 
}

onTouch = function() {
    navigator.notification.confirm('', confirmed, 'Exit?');
}

---
_Source: https://npm.io/package/cordova-plugin-rscexitapp · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
