Hacker News new | ask | show | jobs
by aqfamnzc 1263 days ago
Many other benefits to the company: (not necessarily for the user)

* Persistent shortcut button on device's launcher

* Notifications to pull user back into app to consume content, spend money, view ads

* Data collection like you say

* Uniquely identify user w/ device identifiers

* No browser UI and quirks

* Persistent storage on user's device

2 comments

On the dev side of things, a huge advantage of using the native SDK is that you’re not stuck with the downsides of the web’s “bring your own everything” approach. You’ve get an expansive set of capable UI widgets and frameworks for everything imaginable that are battle-tested and opinionated with there being a well supported “happy path” for just about any task.

Additionally many of the APIs are mature and haven’t changed significantly in a while, which means the body of relevant reference material online is huge — it’s not necessarily outdated just because it’s a couple years old, predating [X buzzword feature] getting added to [Y trendy JS framework] and turning popular convention upside down for the fiftieth time.

Well, that’s how it on iOS at least. It’s more murky on Android because Android Framework is kind of a mess, but it still has some advantages over the web.

All of those are possible with PWAs except #5, and I'd argue that having completely different SDKs for each platform is much worse :(
A pwa can only track you, as long as it is running and depending on the browser, has focus.

A native app can track you all the time.

Also, PWAs on apple have only "persistent" storage for 7 days.

https://developer.apple.com/forums/thread/710157

Notifications are not. Yea the browser technically provides them but no one allows this (nor should they)
Lyft has a PWA, which IMO is a really good use case for browser-based notifications.
Unique identification is no longer possible thanks to the 7 day cap on script writeable storage.

Notifications are coming in 2023.

But the big one — access to the address book picker - is still behind an Experimental flag !!