Live data from Hacker News

What PWA Can Do Today

whatpwacando.today

71–80 of 285 posts

Re: What PWA Can Do Today

#71
post #53

Earlier quoted context omitted.

"On a purely technical level the main thing stopping PWA adoption" I rather think, the main thing stopping PWA are that browsers still can not decide how to treat them. In some ways you can just do anything unrestricted and in other areas your PWA gets treated and limited like a random untrusted website, with no way to get needed rights. At least that was my experience last time I messed with it. It is of course a pr…

Go to any webpage/PWA, hit the share button, hit “add to home screen“. That’s it. It’s not complicated or restricted in any way.

Hm, last time I checked and tried this, there were still limitations, but it has been a while and maybe something improved.

Re: What PWA Can Do Today

#73

It's kinda sad that the website doesn't prominently display which features have "universal" support across iOS and Android. The whole point of PWAs is to provide cross platforms apps so if a feature isn't available on all/most platforms, I don't think it's fair to say that it's really usable at all in your PWA.

If you open the site on a target device, it'll tell you whether the feature works on that browser or not.

Re: What PWA Can Do Today

#74

Earlier quoted context omitted.

> 2D barcode Which JS library do you use? I couldn't find a single library that can reliably scan PDF417 barcodes.

I assume the built in one that OP has? https://developer.mozilla.org/en-US/docs/Web/API/Barcode_Det...

Safari doesn't support that API whatsoever so a third party JS library is really your only option. The landscape of open source barcode detection libraries is bleak at the moment.

Re: What PWA Can Do Today

#75

Earlier quoted context omitted.

I assume the built in one that OP has? https://developer.mozilla.org/en-US/docs/Web/API/Barcode_Det...

Safari doesn't support that API whatsoever so a third party JS library is really your only option. The landscape of open source barcode detection libraries is bleak at the moment.

That's a shame. Works really well on Android.

Re: What PWA Can Do Today

#77
post #53

Earlier quoted context omitted.

Go to any webpage/PWA, hit the share button, hit “add to home screen“. That’s it. It’s not complicated or restricted in any way.

Hm, last time I checked and tried this, there were still limitations, but it has been a while and maybe something improved.

it has changed, at least on MacOS Sonoma. I can "add a website to dock" and it launches in fullscreen if the manifest.json is set up correctly.

Re: What PWA Can Do Today

#78
post #63

Earlier quoted context omitted.

On IOS, I can't install a PWA/add to home screen with a simple click. I think thats the bigger obstacle.

Can't you? You just hit Share->Add to Home Screen, granted that's two clicks, but it seems pretty straight-forward.

Not really. Not for non-tech savvy users. Try it on an iPhone. First you'll have to find the share button on the browser bar, then scroll down and find the option 'Add to home screen'. I don't think its very obvious.

Most users don't know about it, and need a how-to guide - similar to what the posted link does.

Re: What PWA Can Do Today

#79
post #18

Earlier quoted context omitted.

Thanks for putting it in context, the Bluetooth API has been a big source of frustration in my exploration of PWAs. So many simple setup apps wouldn't need to be native. A cross platform Bluetooth API for the web would provide really easy PoC with MCUs.

Yes I really want random websites to have access to Bluetooth

No, they do not get access unless you allow it and explicitly selet a bluetooth device the page is allowed to connect to. The bluetooth dialog is handled entirely by the browser.

Re: What PWA Can Do Today

#80
post #18

This should have big warnings on it. Some of these are not web standards; they are features implemented unilaterally by Google in Blink that have been explicitly rejected by both Mozilla and Apple on privacy and security grounds. Take Web Bluetooth, for example: Mozilla: > This model is unsustainable and presents a significant risk to users and their devices. — https://mozilla.github.io/standards-positions/#web-bluet…

Thanks for putting it in context, the Bluetooth API has been a big source of frustration in my exploration of PWAs. So many simple setup apps wouldn't need to be native. A cross platform Bluetooth API for the web would provide really easy PoC with MCUs.

> So many simple setup apps wouldn't need to be native.

If they are simple, why not making them native?

Post reply on HN