It's good. Had trouble getting a timer app to run in the background
Discussion
Thank you, glad you like it! 🙏
Running PWAs in the background is tricky depending on the platform
My experience has been that iOS tends to kill background PWAs even with “stay alive” commands so I’ve had to do some clever tricks like log actions in localStorage browser memory so when the user comes back then it will know what happened before it was killed as a process
There may be better ways that I haven’t figured out yet
Yeah I tried changing all the battery optimization settings, like 3 in different places, for the timer app but it still paused after 10-15sec in the background. I'm having to run it on win10, good enough.
The crazy things is it seems like it was working for a few times on my earlier app versions... alarm went off with phone off a few times, no problem. Not sure how to get back to that. using android 15