PWACompat: the Web App Manifest for all browsers – @ChromiumDev

Sam Thorogood from our team writes:
You’ve designed a webapp, built its code and service worker, and finally added the Web App Manifest to describe how it should behave when ‘installed’ on a user’s device. This includes things like high-resolution icons to use for e.g. a mobile phone’s launcher or app switcher, or how your webapp should start when opened from the user’s home screen.
And while many browsers will respect the Web App Manifest, not every browser will load or respect every value you specify.


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan

<p><a href="https://dev.to/samthor">Sam Thorogood</a> from our team writes:</p> <blockquote> <p>You've designed a webapp, built its code and service worker, and finally added the Web App Manifest to describe how it should behave when 'installed' on a user's device. This includes things like high-resolution icons to use for e.g. a mobile phone's launcher or app switcher, or how your webapp should start when opened from the user's home screen.</p> <p>And while many browsers will respect the Web App Manifest, not every browser will load or respect every value you specify. Enter PWACompat, a library that takes your Web App Manifest and automatically inserts relevant meta or link tags for icons of different sizes, the favicon, startup mode, colors etc.</p> </blockquote> <p><a href="https://developers.google.com/web/updates/2018/07/pwacompat">Read full post</a>.</p> <p>I was amazed by this library, and I'm glad to see it getting a bit more attention. It was the first time I actually saw the Splash Screen on iOS work in the last 5 years and he generates them in a really neat way - he generates the image on the fly based on the exact screen size of the device and base64 encodes the image... it also fills in a lot of the rest of the gaps in the Safari Add To Homescreen story.</p> <p>If you're building a PWA I would include it.</p>


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan


Print Share Comment Cite Upload Translate Updates
APA

Paul Kinlan | Sciencx (2018-07-17T07:45:28+00:00) PWACompat: the Web App Manifest for all browsers – @ChromiumDev. Retrieved from https://www.scien.cx/2018/07/17/pwacompat-the-web-app-manifest-for-all-browsers-chromiumdev/

MLA
" » PWACompat: the Web App Manifest for all browsers – @ChromiumDev." Paul Kinlan | Sciencx - Tuesday July 17, 2018, https://www.scien.cx/2018/07/17/pwacompat-the-web-app-manifest-for-all-browsers-chromiumdev/
HARVARD
Paul Kinlan | Sciencx Tuesday July 17, 2018 » PWACompat: the Web App Manifest for all browsers – @ChromiumDev., viewed ,<https://www.scien.cx/2018/07/17/pwacompat-the-web-app-manifest-for-all-browsers-chromiumdev/>
VANCOUVER
Paul Kinlan | Sciencx - » PWACompat: the Web App Manifest for all browsers – @ChromiumDev. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2018/07/17/pwacompat-the-web-app-manifest-for-all-browsers-chromiumdev/
CHICAGO
" » PWACompat: the Web App Manifest for all browsers – @ChromiumDev." Paul Kinlan | Sciencx - Accessed . https://www.scien.cx/2018/07/17/pwacompat-the-web-app-manifest-for-all-browsers-chromiumdev/
IEEE
" » PWACompat: the Web App Manifest for all browsers – @ChromiumDev." Paul Kinlan | Sciencx [Online]. Available: https://www.scien.cx/2018/07/17/pwacompat-the-web-app-manifest-for-all-browsers-chromiumdev/. [Accessed: ]
rf:citation
» PWACompat: the Web App Manifest for all browsers – @ChromiumDev | Paul Kinlan | Sciencx | https://www.scien.cx/2018/07/17/pwacompat-the-web-app-manifest-for-all-browsers-chromiumdev/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.