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

Sam Thorogoodからのメッセージ:

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. 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.


私はこの図書館に驚いていました。もう少し注目を集めることができてうれしいです。私が実際にiOSのスプラッシュスクリーンを見たのは、この5年間で初めてでした。彼はデバイスの正確な画面サイズに基づいてオンザフライで画像を生成し、base64は画像をエンコードします...それはまた、SafariのAdd To Homescreenストーリーのギャップの残りの部分をいっぱいにします。


About Me: Paul Kinlan

I lead the Chrome Developer Relations team at Google.

We want people to have the best experience possible on the web without having to install a native app or produce content in a walled garden.

Our team tries to make it easier for developers to build on the web by supporting every Chrome release, creating great content to support developers on, contributing to MDN, helping to improve browser compatibility, and some of the best developer tools like Lighthouse, Workbox, Squoosh to name just a few.