universal-appstate
Obtain application becoming foreground or background
Supported
Installation
npm install --save universal-appstate
Usage
; console;console; // active|background const _handleAppStateChange = { console; // active|background} AppState;AppState;
APIS
isAvailable: boolean
Whether to support.
nextAppState: 'active' | 'background'
Application becoming foreground or background.