# @wisdomgarden/capacitor-exit-app-ios

> exit app on ios

Latest version **1.2.2-6** (published 2022-02-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @wisdomgarden/capacitor-exit-app-ios
pnpm add @wisdomgarden/capacitor-exit-app-ios
yarn add @wisdomgarden/capacitor-exit-app-ios
bun add @wisdomgarden/capacitor-exit-app-ios
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.2-6 |
| Published | 2022-02-10 |
| First published | 2022-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 30.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Manh Do |
| Maintainers | dison, peixin, chenyunjie1 |
| Keywords | capacitor, plugin, native, ios, exit app, quit app |

## Links

- npm: https://www.npmjs.com/package/@wisdomgarden/capacitor-exit-app-ios
- Repository: https://github.com/tienmanh94hbk/capacitor-exit-app-ios
- Homepage: https://github.com/tienmanh94hbk/capacitor-exit-app-ios#readme
- Issues: https://github.com/tienmanh94hbk/capacitor-exit-app-ios/issues
- npm.io page: https://npm.io/package/@wisdomgarden/capacitor-exit-app-ios

## Recent versions

- 1.2.2-6 (latest) — 2022-02-10
- 1.2.2-5 — 2022-02-10
- 1.2.2-4 — 2022-02-10
- 1.2.2-3 — 2022-02-10
- 1.2.2-2 — 2022-02-10
- 1.2.2-1 — 2022-02-10

## README

# capacitor-exit-app-ios

Capacitor plugin to force quit app on Ios

> ### Notice
>
> This plugin may not be allowed upon apple review.

## Method
| method            | info                                          | platform    |
| ----------------- | --------------------------------------------- | ----------- |
| `killApp()  `     | force quit app every where call it            | ios         |

## Usage

```$xslt
import {Plugins} from '@capacitor/core';
const { ExitAppIosPlugin } = Plugins;

//
//
    if (this.platform.is('android')) {
      navigator['app'].exitApp();
    } else {
      ExitAppIosPlugin.killApp().then();
    }
//
//
```

## iOS setup

- `sudo gem install cocoapods` _(once a time)_
- `ionic start my-cap-app --capacitor`
- `cd my-cap-app`
- `mkdir www && touch www/index.html`
- `npx cap add ios`
- `npm i capacitor-exit-app-ios`
- `npx cap sync ios` _(always do sync after a plugin install)_
- `npx cap open ios`

* sign your app at xcode (general tab)

## Github

https://github.com/tienmanh94hbk/capacitor-exit-app-ios

## Cheers 🍻

## Follow me [@Facebook](https://www.facebook.com/manh.do.186)

## License

MIT

---
_Source: https://npm.io/package/@wisdomgarden/capacitor-exit-app-ios · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
