cordova-is-background

1.1.0 • Public • Published

cordova-is-background

Travis npm package Dependency Status devDependency Status

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).

Readme

Keywords

Package Sidebar

Install

npm i cordova-is-background

Weekly Downloads

17

Version

1.1.0

License

MIT

Last publish

Collaborators

  • perrin4869