Hacker News new | ask | show | jobs
by hollerith 583 days ago
Unless I'm missing something, it also happens to benefit the average user for a random web site not to be able to prevent the phone's screen from locking.
1 comments

The bug states that it works in the browser just not in PWA's.

So random websites can actually do this, but not websites the users specifically installs as a PWA, which is kinda the opposite of what you would expect.

Exactly, for example IndexedDB, which let's an app use more storage, is only available to PWA's.

With the wakelock API it's the reverse.

Oh my.