In

cordova Background service example