Vue event when open PWA on mobile from the background

Viewed 284

I have a Vue application that's used as PWA (added to homescreen on mobile).

Everything works fine but I have one issue: When somebody sends the app to the background, and after some minutes opens the same app again, but some data may have changed in the last minutes.

Does Vue have any event to handle reopening? Because I need to check (call API) whether the database has new items?

Thank you for the answers!

0 Answers
Related