react-native-exit-app

Exit / Close / Kill / shutdown your react native app. Does not invoke a crash notification.

NOTICE:

Setup

Fast and easy:

npm install react-native-exit-app --save
react-native link react-native-exit-app

Or manual: add the latest version as dependeny to your package.json.

{
  "name": "YourProject",
  ...
  },
  "dependencies": {
    ...
    "react-native-exit-app": "0.1.0",
    ...
  }

iOS

Android

import RNExitApp from 'react-native-exit-app';
...
RNExitApp.exitApp();
...

Versioning

This project uses semantic versioning: MAJOR.MINOR.PATCH. This means that releases within the same MAJOR version are always backwards compatible. For more info see semver.org.