https://infinitbility.github.io/how-to-close-react-native-app-programmatically/
How to close react native app programmatically