@sholtee/cordova-plugin-exit

0.0.1 • Public • Published

Exit (PhoneGap/Cordova Plugin)

This plugin lets you close your app programmatically by implementing navigator.app.exit() method. Unlike similar plugins here you can pass custom data on terminate.

Platform Support

This plugin supports PhoneGap/Cordova apps running on Android.

Installation

Automatic Installation using PhoneGap/Cordova CLI (Android)

cordova plugin add @sholtee/cordova-plugin-exit

Usage

const userData = {
  field: "kerekesfacapa"
};
navigator.app.exit(userData);

Readme

Keywords

Package Sidebar

Install

npm i @sholtee/cordova-plugin-exit

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

3.51 kB

Total Files

5

Last publish

Collaborators

  • sholtee