by fictionfuture · 8y ago · 0 comments
In many cases(including mine) it now makes more sense to go PWA first instead of native.
The PWA is 233 kb compared to 148 MB iOS native app.
https://formidable.com/static/Formidable-Case_Starbucks_PWA....
Quite aside from anything else, the Starbucks PWA is a strictly worse experience than the native application.
Still not practical. APIs available to the web ecosystem are always going to be one level abstracted or behind their fully native counterparts.
https://www.thurrott.com/windows/windows-10/135665/pwas-comi...
But also, consider that people don't seem to really download that many apps. Less than one a month. So I agree with you, in that users may be conditioned to expect a certain workflow, but it's not like it's a deeply ingrained habit that people are doing daily. Also, when you visit a site multiple times, the browser shows a pop-up offering to add the app to your homescreen. So it's low-friction onboarding.
https://techcrunch.com/2017/08/25/majority-of-u-s-consumers-...
Disclaimer: I work on Google Web DevRel
I have not encountered a single case where a web app offered a better experience than a native app.
There is a reasonable argument that it's cheaper to develop, allowing support for more platforms to be rolled out with less development time. That's the single reason that might be valid.
For companies with more reliable visitors, Native definitely has an edge in options, but if a company is trying to build feature and experience parity across platforms, much if that edge is dulled.
I currently use IndexedDB to store over 500mb of data on phones successfully in a B2B application.
The biggest issue in my experience is access to native "well optimized" APIs. (If I want a video feed, it causes significantly more battery draw to do it in a webview vs a native camera feed).
See link below for per-browser storage quota: https://developers.google.com/web/ilt/pwa/live-data-in-the-s...
Disclaimer: I work on Google Web DevRel
In many cases this doesn't really matter, but could very easily be a complete dealbreaker for someone trying to decide what to build.
React Native remains a hard sell for me. The idea behind it is that knowledge of React is where the learning curve is. Which is a flawed premise. React, itself, is dead simple. But ditching years of CSS and DOM knowledge and learning the React Native component API and quirks regarding iOS and Android? That's a massive hill to climb. Even with JavaScript by your side. I'd rather try Cordova+React if I had to. And if I truly wanted native performance, then it's Obj-C for me. Might as well suck it up and do it right in the first place.