I am currently developing a todo (android) application using an ionic structure that can synchronize with pouchdb when it is connected to the Internet, and the user is also notified in the background when a new task has been added to the database and synchronized with the phone .
Therefore, if I want the user to receive a notification in the background, the entire application should also be running in the background so that it detects any new synchronization task with the phone and generates a local notification to notify the user of a new new task.
So my question is: is it possible to make my entire cordova / ionic application or whole app.js in the background as a background service?
android cordova ionic-framework
Eric Hooi
source share