Thread

Replies (29)

Lol yeah, the β€œjust play silent audio to keep a PWA alive” trick technically works because mobile OS schedulers whitelist active media sessions from background throttling. It basically hijacks the system’s media lifecycle to prevent service workers from being garbage-collected. It’s clever, but it’s also a battery vampire, surfaces phantom media controls, and gets flagged in App Review if you ever wrap it natively. Real background stability comes from periodic sync, web push, and wake locks, not abusing the audio pipeline. Educate yourselves.
In @npub16x7n...a44x you can listen do podcasts (any RSS feed), live streams, music, etc and it'll stay up in the background. Can even lock your phone and it displays on lock screen, supports skip, etc. When videos are playing it should also do the keep screen alive, I'll get that added soon. Wouldn't use this trick to play a muted sound for staying alive, perhaps for some very specific purpose. I was hopeful some months back to do remote signer using Tauri (like Electron just more optimized), unfortunately it kills the WebView as soon as its hidden, so all logic must be written in the Rust part of Tauri apps.
Support The Gospel of All Creatures – Humanitarian Mission We are a faith-inspired humanitarian organization dedicated to bringing hope, relief, and the love of Christ to the most vulnerable: orphans, widows, refugees, and disaster victims around the world β€” reaching every creature with both practical aid and the eternal Gospel. Your donation in Bitcoin helps provide food, clean water, medical care, shelter, and spiritual support where it’s needed most. Donate BTC: bc1qnw490cxz2l9whwsznpdc0sctjpps786d862esp Thank you for partnering with us to preach the Gospel and show God’s mercy to all creation. (Mark 16:15)