https://codingwithrashid.com/how-to-detect-react-native-app-is-in-background/
How to Detect React Native App is in Background