Make application check data update every X minutes

Asked

Viewed 55 times

1

I have an application developed in Cordova and I would like every 1 hour for example, the application to check if there is any change in the data, I would like you to do this without the user having to open the application, ie really leave automatic.

I found a plugin however it only works if I minimize the application, I want it to work even if the application is closed.

Example: Whatsapp even closed performs check if there is new message and warns the user.

Does anyone know any solution to this problem?

  • @rubStackOverflow this answer does not help me. I updated my question to help explain

  • Are you aware of any application Cordova what is this behavior? I think this type of action is difficult in non-native applications.

  • I don’t know any, in a conversation I was told to search on how to make an application start together with the operating system, I was told that this is the process that occurs with facebook and Whatsapp for example, you have heard about this?

  • I’ve heard of native applications I don’t use Cordova, see if this helps: https://github.com/ToniKorin/cordova-plugin-autostart

  • Thanks, but this plugin does not help with the problem :/

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.