cordova-is-background
v1.1.0
Published
Utility function for finding out if the application is in the background or not
Downloads
100
Readme
cordova-is-background
Utility function for finding out if the application is in the background or not
Install
$ npm install --save cordova-is-background
Usage
import isBackground from 'cordova-is-background';
if (isBackground()) {
notify('you have a new message!');
}
License
See the LICENSE file for license rights and limitations (MIT).