News for hackers. Stuff that matters.
Re:WebKit Goals for 2020 by arciini on Saturday November 09, 2019 @03:48AM (#21490425)
There's been a lot of talk on this thread about the push notifications aspect. Setting that aside, at Wanderlog (https://wanderlog.com), we considered using PWA's and didn't because of another 2 WebKit limitations: storage and fast expiration.

We wanted to store pictures of where the user wants to go and cache map tiles offline. Mobile Safari has a limit of 50 MB. This is not enough for these use-cases.

Even more annoyingly, Apple deletes PWA's on iPhones after a few weeks. Our users often plan their trips months or many weeks in advance, and don't look at them for weeks at a time. By the time they go on the trip, they may be shocked to see that Apple has evicted their data from the local storage, just as they land somewhere where they no longer have access to 3G data!

I think Google's approach of providing virtually unlimited permanent storage is also probably not the best, but something in the middle might be better.

At the moment, it's clear that making PWA's capable is not an Apple-wide priority, even if the WebKit or Safari team may be in favor. We decided to avoid fighting it and build a native (React Native) app instead.

Re:WebKit Goals for 2020 by The_rationalist on Saturday November 09, 2019 @05:33AM (#21490709)
Why not choosing Cordova/IONIC? Through it's 4000 native Java plugins it can do all the things a PWA can, and even more.