Skip to content

chcnetconsulting/cordova-plugin-background-task

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Background Task Plugin for Apache Cordova

Allows you to run JavaScript when the app is active and for 3 minutes after the app is suspended.

Install

cordova plugin add https://github.com/leecrossley/cordova-plugin-background-task.git

You do not need to reference any JavaScript, the Cordova plugin architecture will add a backgroundtask object to your root automatically when you build.

Usage

Start

backgroundtask.start(functionToRun);

Platform support

iOS only.

License

MIT License

About

Cordova / PhoneGap Background Task Plugin for Apache Cordova >= 3.0.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 81.1%
  • JavaScript 18.9%