What's the impact of this on battery life?
Want to run a PWA in the background?
Easy, just play music constantly, and the OS won't kill the app.
nostr:nprofile1qqsqgc0uhmxycvm5gwvn944c7yfxnnxm0nyh8tt62zhrvtd3xkj8fhgpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtcpzemhxue69uhhyetvv9ujuerfw36x7tnsw43z7qgkwaehxw309aex2mrp0yhx6mmnw3ezuur4vghs0klf00 blew my mind with this hack!
Discussion
I guess as much as any music player?
That's not a lot on its own, but can multiple PWAs play concurrently? If so, the impact might be quite noticeable!
I love the idea as a hack, but I also like efficient programming 😅
Nope, only one app can use the hack at a time, and it breaks when the user wants to listen to actual music.