Nirmal
Nirmal

Reputation: 1245

Is it possible to create a background service using PhoneGap to display notification in x intervals

I am working in an mobile native application which requires a background scanning of necessary data and display notification to the user after certain intervals.

But I am not sure how to achieve this?

Thanks in advance

Upvotes: 4

Views: 1428

Answers (1)

Simon MacDonald
Simon MacDonald

Reputation: 23273

You create a background service as you normally would in Android. Then you need to create a Plugin to call your service at your specified interval to query the data.

Upvotes: 2

Related Questions