News for hackers. Stuff that matters.
Re:Why Google and Apple act the way they do, working to snuf... by MBCook on Wednesday January 04, 2023 @05:38PM (#34252937)
Why is the answer to this question always “Safari sucks”?

Are there no good PWAs that run on Android? Are there none that, though perhaps smaller is scope, run well in Safari?

People have been advocating for PWAs for a very long time now but it’s incredibly hard to get examples of good ones. There is always some complaint about Safari instead.

Re:Why Google and Apple act the way they do, working to snuf... by Gigachad on Wednesday January 04, 2023 @05:46PM (#34253038)
Telegram is probably the best example of a PWA. It's not as good as the mobile app, especially for gestures, but it's better than a lot of native apps.
Re:Why Google and Apple act the way they do, working to snuf... by dmitriid on Saturday January 07, 2023 @03:42AM (#34286325)
Telegram really is an outlier among messengers. Each version is developed by like one person, and they are all feature-rich, feature-complete, fast and smooth.
Re:Why Google and Apple act the way they do, working to snuf... by cglong on Wednesday January 04, 2023 @05:55PM (#34253151)
Apple's stronghold affects PWA feasibility on Android too. If I have to write a PWA for Android and a native app for iOS to cover gaps in Safari, why choose a PWA at all?
Re:Why Google and Apple act the way they do, working to snuf... by MBCook on Wednesday January 04, 2023 @06:21PM (#34253436)
Apple may be ~50% of the market in the US but it’s ~20% of the market worldwide. On the desktop anyone on any mainstream OS can use Chrome or FF.

Yet someone the total lack of PWA success is 100% Safari’s fault.

Look at all those users I listed above. How are there no common/well known PWAs if they’re so great? People use websites like the Google Suite and Figma and such. They use web apps built as desktop apps in Electron. They use native apps.

Almost no one uses PWAs. Even if Figma or Gmail or whatever is available to be saved as a PWA it doesn’t seem to be commonly done.

There must be some other problem than Safari. It can’t be the big issue.

Re:Why Google and Apple act the way they do, working to snuf... by toyg on Wednesday January 04, 2023 @06:34PM (#34253591)
> ~20% of the market worldwide

But a much higher percentage of the profitable market, in terms of app income.

Re:Why Google and Apple act the way they do, working to snuf... by pjmlp on Thursday January 05, 2023 @01:40AM (#34256808)
There are many markets where it is hardly a presence out of those 20% and not every company is a global corporation.
Re:Why Google and Apple act the way they do, working to snuf... by madeofpalk on Wednesday January 04, 2023 @06:00PM (#34253227)
Google, to some degree, worked with Twitter to make twitter.com a 'flagship example' of what PWAs could be. If that's the best Google could come up with, the platform stands zero chance.
Re:Why Google and Apple act the way they do, working to snuf... by lern_too_spel on Wednesday January 04, 2023 @07:57PM (#34254387)
I prefer the Twitter PWA to the native app. What do you think is wrong with it?
Re:Why Google and Apple act the way they do, working to snuf... by jacooper on Wednesday January 04, 2023 @08:31PM (#34254710)
Filled with empty loading pages? Not smooth at all compared to the native app? And having zero animations doesn't help at all
Re:Why Google and Apple act the way they do, working to snuf... by steve1977 on Thursday January 05, 2023 @12:44AM (#34256494)
And that’s for an app that is actually trivial.
Re:Why Google and Apple act the way they do, working to snuf... by fsflover on Thursday January 05, 2023 @03:44AM (#34257461)
Twitter is actively trying to force people to use the app by making web experience miserable.
Re:Why Google and Apple act the way they do, working to snuf... by lern_too_spel on Thursday January 05, 2023 @02:19PM (#34265020)
Everything loads instantly for me. What browser are you using?
Re:Why Google and Apple act the way they do, working to snuf... by TobyTheDog123 on Wednesday January 04, 2023 @06:16PM (#34253387)
Because Safari sucks.

The reason iOS and Google/Android PWAs suck is because Apple does everything in its power to make them suck:

- Complex and user-unfriendly "add-to-homescreen" functionality

- Limited/trailing functionality for native APIs

- The obnoxious url/browser bar persistent at the bottom of the page, with horrendous and uncustomizable hiding/showing of said bar.

People advocate for PWAs, but I never use them because as an end-user they're awful to use, because developers can't create them to the quality of native applications because of these limitations. Of course the complaints go to Safari in that case.

They absolutely could have PWAs be of higher quality, but they don't, for obvious reasons.

Re:Why Google and Apple act the way they do, working to snuf... by saagarjha on Wednesday January 04, 2023 @06:40PM (#34253655)
You can hide the URL bar with the right meta tag, no?
Re:Why Google and Apple act the way they do, working to snuf... by TobyTheDog123 on Wednesday January 04, 2023 @07:35PM (#34254154)
If the user adds the PWA to their homescreen through the user-unfriendly process, I believe so.

But users won't (and don't) go through that.

Re:Why Google and Apple act the way they do, working to snuf... by MBCook on Wednesday January 04, 2023 @06:26PM (#34253482)
I get why they suck on iOS.

Why aren’t they on Android? Windows? Linux? MacOS?

Existing PWAs should be better known, especially in HN-like/tech circles.

But that’s not what I see.

Re:Why Google and Apple act the way they do, working to snuf... by TobyTheDog123 on Wednesday January 04, 2023 @06:34PM (#34253590)
I can't entirely speak for Android, but I assume that Google has similar nonsense (as evidenced by sideloading being a pain to the average user)

For Windows, Linux, and MacOS, there's no real need for them, or not enough need for them to exist. There are no policies or guidelines to follow, there is no 30% tax.

The browsers people use on desktop devices provide everything that developers need and can reasonably expect of the platform. There aren't any usability differences, there are barely any performance differences, and there are barely any feature differences.

In fact, I think many desktop end-users would prefer the app to be web-based because it feels so native.

In addition, it's what another commenter said - if it can't be on iOS, then what's even the point of having one?

Re:Why Google and Apple act the way they do, working to snuf... by pjmlp on Thursday January 05, 2023 @01:41AM (#34256821)
Because many countries hardly have an iOS presence and there are tons of companies that only care about the local market.
Re:Why Google and Apple act the way they do, working to snuf... by dylan604 on Wednesday January 04, 2023 @06:16PM (#34253389)
>There is always some complaint about Safari instead.

when one app is used by roughly half of all mobile users, that's not something you can ignore. so complaining about that one app when these conversations come up does not seem out of place. essentially, the conversation is something like:

- PWAs are great!

-- How well do they run on Safari?

- PWAs are great on other platforms.

-- So about half of mobile users? Doesn't seem that great to me

Re:Why Google and Apple act the way they do, working to snuf... by MBCook on Wednesday January 04, 2023 @06:24PM (#34253473)
Safari is used by half of US users. Worldwide it’s closer to 20%. And the desktop is totally open.

I’m not saying I expect PWAs to be huge, but it seems like they should be more notable PWAs if people really wanted them so bad.

Re:Why Google and Apple act the way they do, working to snuf... by dylan604 on Wednesday January 04, 2023 @07:12PM (#34253937)
meh, semantics. the point is that there's a large enough audience that it doesn't add up to making sense for dev time.
Re:Why Google and Apple act the way they do, working to snuf... by esprehn on Wednesday January 04, 2023 @08:40PM (#34254777)
There's a bunch that run very well on Android: Twitter, Instagram, Uber, Lyft, even TikTok all have very good PWAs.

TikTok aggressively funnels you into the native app for various business reasons, but the experience is well polished if they'd let you use it all the time.

Re:Why Google and Apple act the way they do, working to snuf... by dmitriid on Saturday January 07, 2023 @03:43AM (#34286329)
> many of the native API integrations missing

Those "native API integrations" are Chrome-only non-standards that neither Safari nor Firefox are ever going to implement.