React Native Device Activity
Device Activity Events for React Native (iOS and Android)
Install
npm i rn-device-activity --save
Configure
react-native link rn-device-activity
Usage
; { // called on suspend of app} { // called on pause of app} { // called on destroy of app} // Resume / PauseDeviceEventEmitter;DeviceEventEmitter; // Android ONLYDeviceEventEmitter;