Hacker News new | ask | show | jobs
by oever 589 days ago
And web apps on iOS cannot prevent the screen from dimming and locking, making many type of applications impossible to develop as PWA:

https://bugs.webkit.org/show_bug.cgi?id=254545

It's a bug that's been open for years and happens to be beneficial for the app store.

1 comments

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.
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.