Run in background

Can anyone give any tips on how to make the app run in the background? I need to put a timeout on a page, but the timer stops when the screen turns off. I need the stopwatch to keep running. I’ve already tested the “TaifunBatteryOptimization” extension, but it didn’t work.

Apps made with Kodular don’t run in background.

And what exactly should happen after that timeout?

This statement is incorrect

1 Like

A popup message will appear with a “CLOSE” button and a message warning that the time on the page is over. When you click “CLOSE”, it will refresh the page.

Apps never run in background, services do. And it has been possible for a long time to create and run services.

1 Like

How would it be? Can you exemplify?

Always search before you ask.