@sleiv/react-native-graceful-exit
v0.1.0
Published
Gracefully exit your React Native app by transitioning it to the home screen before termination.
Downloads
1
Readme
react-native-graceful-exit
Gracefully exit your React Native app by transitioning it to the home screen before termination.
Installation
npm install @sleiv/react-native-graceful-exit
or
yarn add @sleiv/react-native-graceful-exit
Usage
import { GracefulExit } from '@sleiv/react-native-graceful-exit';
// ...
GracefulExit.exit().catch((e) => {
console.error(e);
});
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library