lakshmansundeep
lakshmansundeep

Reputation: 73

How to run a background service in cordova

I need to know about how to run a background service to give notifications in cordova mobile application. I went through a plugin this but in that example when i clicked the 'Interval' option which is triggering notification for every minute when only app was opened or paused. It wasn't triggering any notification when app was killed(Swipe out from recent tasks) on background. So is there any alternative option to run the process in background in cordovaapplications

Upvotes: 0

Views: 686

Answers (1)

Waqar Abbas
Waqar Abbas

Reputation: 1

According to phonegap/Cordova documentation their is no way to run background service because phone can not execute javascript when your app is not running.Yet no plugin was available to perform this task

Upvotes: 0

Related Questions