Background service

Hello,

I know its not a question directly about Ionic, but here’s my situation:
I’m using Ionic and Cordova (NO phonegap) and I need to periodically (like twice a day, or something like that) update some data on Sqlite Database even when the app is closed. I tried to use the plugin: https://github.com/katzer/cordova-plugin-background-mode, but it was not enough because the app can get closed and my task wont be done.

Is there a way to do a perodic service even with the app closed? A way, like coding this service in Java (native) or something like that?

Thank you

1 Like

Same issue…

Is there any solution, how to achieve this?

I created my own Cordova Plugin

@filipebr can you share your plugin?

1 Like

oh
can you shared your own plugin?
i need this so much
:frowning:

I have the same problem and it would be great if someone can let us know how they solved the problem