Module AppState-BsReactNative
type state=
;|Active|Background|InactiveAppStatecan tell you if the app is in the foreground or background, and notify you when the state changes.AppStateis frequently used to determine the intent and proper behavior when handling push notifications.You can read more on
AppStateAPI usage in official docs: https://facebook.github.io/react-native/docs/appstate
let currentState: unit => state;