On chrome on mobile devices, the install button doesn't appear every time. This depends on machine learning algorithm as explain here :
developer.chrome.com/blog/how_chrome_helps_users_install_the_apps_they_value
To help user to install the PWA without using "Add to home screen", you can try to use the event beforeinstallprompt.
There are some information here : https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable#triggering_the_install_prompt
And next is an example of code from https://whatpwacando.today/installation
let deferredEvent;
window.addEventListener('beforeinstallprompt', (e) => {
// prevent the browser from displaying the default install dialog
e.preventDefault();
// Stash the event so it can be triggered later when the user clicks the button
deferredEvent = e;
});
installButton.addEventListener('click', () => {
// if the deferredEvent exists, call its prompt method to display the install dialog
if(deferredEvent) {
deferredEvent.prompt();
}
});
Answer from mmm on Stack OverflowI know you can add a shortcut to the home screen. But that's not what I'm after.
I'm trying to ad novelai as a pwa. I know it can have a pwa because I've had on my previous phone. I'm trying to get the pwa again on a new phone.
The first time I opened the site, there was the usual "install app" pop-up. I closed it by mistake and now the pop-up won't show up again no matter how many times I reload the website. Restarting the phone didn't help either.
Any help would be appreciated.
Videos
I spent days trying to understand why Mozilla's example PWA (https://mdn.github.io/pwa-examples/a2hs/) didn't show the install button on a Tablet with Android 11 GO in Google Chrome, until I saw @veesar's comment to change Launcher (https://android.gadgethacks.com/how-to/change-replace-your-androids-home-screen-app-0210061/) and the install button appeared. The Launcher that was on the Tablet was Quickstep, so I switched to Microsoft Launcher and Apex Launcher and in both PWA was installed. Thanks!
Yes. Progressive Web Apps are designed to work on any platform and to be "installable" from the browser. So they will work on Android Go.
More info