Damus
Max profile picture
Max
@Max
Want to run a PWA in the background?
Easy, just play music constantly, and the OS won't kill the app.

@Alex Gleason blew my mind with this hack!
3016❤️40🤙7😂3❤️2👀2💜1
HoloKat · 18w
So like a silent 1s 1kb loop?
ZharlieW · 18w
Yep — that’s the same black magic Aegis relies on to keep running in the background on iOS
royster⚡️ · 18w
Yea but which song?
Leo Wandersleb · 18w
Yeah, ... which wallet did that with some annoying beep sound I had trouble figuring out? Play mostly silence please!
⚡ODT⚡ · 18w
What's the impact of this on battery life?
Neo ⚡️ · 18w
Let's use this 😁 https://youtu.be/O4xFzWCT_HU
FreedomTech · 18w
I play a video in minimized mode at work to keep my computer alive.
Arjen · 18w
brilliant!
idsera · 18w
I don't know if this is a joke but look this nostr:npub1syjmjy0dp62dhccq3g97fr87tngvpvzey08llyt6ul58m2zqpzps9wf6wl
Zsubmariner · 18w
PSA: this is evil. do not do this.
Max · 18w
The same trick works for native apps as well, including iOS
jakub · 18w
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, ...
Nick · 18w
🤯
Repeatedly nuked profile · 18w
Good for PWAs. For native apps, good for Testflight, but try getting past AppStore review with it.
SondreB · 18w
In nostr:nprofile1qqsdr0fnxvmn8hxyz8cwazfm8zu9yt7qmc38ll69nkvsgn8dnej4sxckxm0xe 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 als...
Gospel of all creatures · 18w
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 pr...
Sebastix · 17w
Which OS kills the PWA in the background? There are some API's to do some background stuff with PWAs.
Dominique Rose · 13w
No. You both are fucking idiots. All of Jack's friends are fucking losers for being part of this bullshit!!!