PWA F7Vue reopen --> triger action

Hello! Question from a newbie.

In smartphone is opened PWA (F7 VusJS). Then we press HOME button and PWA is minimized.

Inside the PWA, all actions (except Service Worker) are paused? Timers, animations, etc.

How can I trigger the action when PWA is reopened (after pressing the HOME button). PWA is running, then we press HOME, and we again return to the PWA - and how to trigger special command. For example, command updates list on the screen.

Thanks!

Всем привет! Вопрос от новичка.

В смартфоне открыто PWA (F7 VusJS). Нажимается кнопка HOME, PWA соответственно складывается.

Внутри PWA все действия (не считая ServiceWorker) как бы ставятся на паузу, я правильно понимаю? Таймеры, анимация и т. д.

Каким способом можно тригернуть действие когда PWA снова включается (после нажатия кнопки HOME). То есть PWA запущено, жмём HOME, и снова возращаемся к PWA и чтобы при этом возвращении сработала команда. Например обновился список на экране.

Спасибо!

It depends on system behavior. It can be killed as well if not enough free memory i guess.

1 Like