I am working on my website. I managed to get basic PWA functionality using the web page manifest file.
Not long ago, Google released deeply integrated PWAs, allowing users to make a WebAPK when they added the page into the home screen.
I want my page to also have that kind of feature, but it is never been clear what I should do to get that functionality..
Do I need to add something extra aside from the manifest file, sw.js and various meta tags?
A web manifest, with the correct fields filled in. The web site to be served from a secure (HTTPS) domain. An icon to represent the app on the device. A service worker registered, to allow the app to work offline (this is required only by Chrome for Android currently)
When the user adds your Progressive Web App to their home screen on Android, Chrome automatically generates an APK for you, which we sometimes call a WebAPK. Being installed via an APK makes it possible for your app to show up in the app launcher, in Android's app settings and to register a set of intent filters.
Now that you have an Android App Bundle for your PWA, it's time to upload it to Google's Play Store! Once you've registered your developer account, you can go to the Play Console to log in and get started. Before You Start: What are the different types of signing keys you need to create a release in Play?
This is not something we can control. Chrome was/is experimenting with "improved A2HS" as they called it (A2HS stands for "add to homescreen") and a part of that was an internal service that wrapped the PWA into APK. It was hidden behind a flag initially, then it was opened to the public as default in Feb 2017.
When you install a Progressive Web App, we look at your Web App Manifest and other meta-data and create the APK that is installed on to the user's device.
(emphasis mine, we == Android)
So there's nothing we can do except being sure our manifest is valid, site is HTTPS, Service Worker installs correctly etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With