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