From the course: JavaScript: Progressive Web Applications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

What's missing in the iOS implementaton

What's missing in the iOS implementaton - JavaScript Tutorial

From the course: JavaScript: Progressive Web Applications

Start my 1-month free trial

What's missing in the iOS implementaton

- [Instructor] As of today, that's August 2018, Apple has decided to implement a few of the features of PWAs in iOS but not all. There are a few things we can try to clean up, but for the most of these, there's not much we can do until and unless Apple decides to implement the features. Apple limits PWAs to 50 megabytes of space for cached files. In addition, if the user doesn't use the app for a few weeks, the system will delete the cache. The icon will remain on the home screen, but the resources will need to be downloaded again the next time the app is run. I'm not sure if this is a bug or a feature. If the app isn't used frequently, why would the files need to stay resident? There's no access to code executing in the background. So, for example, if your PWA plays music; and it loses focus, the music will stop playing. This also makes push notifications one of the best ways to reengage users frequently unavailable on iOS, as notifications would potentially need to be processed…

Contents