Background and asynchronous task in Ionic app

Asked

Viewed 49 times

0

I am working with Ionic and create an app where save the current location of each user, however, the function that performs the search for the user coordinates runs when I start the lifecycle of the "home" screen. I need this function to be performed repeatedly in a certain time interval and in the background. I can already run the app in the background, the only problem found is the asynchronous execution... I’m looking for possible solutions so I can implement...

  • I believe you should put this function in a service worker

  • 1

    Thanks for your suggestion William, I found in the documentation, I will study...

No answers

Browser other questions tagged

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