A background service plugin for phonegap