News for hackers. Stuff that matters.
Re:Integrate PWAs into Native Sharing UIs with Workbox by enos_feedler on Thursday January 09, 2020 @12:29AM (#21998785)
For all those who responded positively on using PWAs in the wild, can you explain why you prefer the PWA over the native app (if available)? I am curious why someone would choose it.
Re:Integrate PWAs into Native Sharing UIs with Workbox by cglong on Thursday January 09, 2020 @12:49AM (#21998854)
My favorite aspects: more restrictive hardware access (e.g. no tracking through Bluetooth or running in the background), having access via platforms that typically don't have apps (e.g. desktops), ability to modify behavior through extensions, caching can clear asset data if I don't use the app frequently (e.g. ridesharing)
Re:Integrate PWAs into Native Sharing UIs with Workbox by kenmorechalfant on Thursday January 09, 2020 @03:39AM (#21999507)
The main thing isn't really about it being preferable, feature-wise - it's that it's the future of cross platform apps. If I could have apps like Photoshop or Ableton on Windows, Linux, Mac, ChromeOS, Android, etc - and they all work the same, that's a huge win all around.
Re:Integrate PWAs into Native Sharing UIs with Workbox by dmitriid on Thursday January 09, 2020 @06:14AM (#22000212)
First, you'd have to provide the web with 90% missing features that make such apps possible. And then make them available to PWAs.

So no, it's not the future.

Re:Integrate PWAs into Native Sharing UIs with Workbox by abraham on Thursday January 09, 2020 @08:56AM (#22001161)
There is extensive work being done to bring more native APIs to the Web

https://www.chromium.org/teams/web-capabilities-fugu

Re:Integrate PWAs into Native Sharing UIs with Workbox by dmitriid on Thursday January 09, 2020 @10:51AM (#22002157)
I wouldn't count on any other browser to be anywhere onboard with that. Chrome is known for implementing things in a quick and dirty way with complete disregard for input.

Also, Fugu will definitely no bring a signinficant amount of native APIs to the web. Here's the full list [1]

For example, the post I'm replying to mentioned Ableton. Well "I don’t know who the Web Audio API is designed for" [2] Oh, and then there's no guarantee Chrome will not break it the way it broke automatic audio previously [3]

The web is not the long-term future for any foreseeable future

[1] https://bugs.chromium.org/p/chromium/issues/list?can=2&q=pro...

[2] https://blog.mecheye.net/2017/09/i-dont-know-who-the-web-aud...

[3] https://twitter.com/mcclure111/status/993627449991688193?ref...

Re:Integrate PWAs into Native Sharing UIs with Workbox by untog on Thursday January 09, 2020 @10:05AM (#22001748)
The vast majority of native apps need next-to-no extra features on top of what the web provides. Facebook, Uber, Seamless, etc. etc... all they really need is an internet connection and location. And the web provides that.
Re:Integrate PWAs into Native Sharing UIs with Workbox by dmitriid on Thursday January 09, 2020 @10:44AM (#22002088)
The post I was replying to specifically said:

> If I could have apps like Photoshop or Ableton...

These apps require way way more than just internet connection and location. For example, you might have to implement your own renderers from scratch: https://www.figma.com/blog/building-a-professional-design-to...

Re:Integrate PWAs into Native Sharing UIs with Workbox by Vinnl on Thursday January 09, 2020 @05:11AM (#21999938)
One thing I like is that I can use them in my browser with tracking protection. Also nice to know it only has access to browser API's I give it access to - I'm always somewhat weary of what native apps do in the background.

And of course, there's the first-use hurdle. I probably wouldn't even have tried Pinafore if it hadn't been a PWA (in fact, I haven't tried any Mastodon apps). I could just go to the website, sign in, and I'm off.