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 OverflowVideos
Do you need to install a PWA?
Yes, you need to install a PWA. Even though a PWA is a website, it basically functions like a mobile application. But unlike native apps, you don’t need to download it from any app store. You can directly install it by visiting the required website with the PWA on a browser and clicking “Install.”
Can PWA be an APK?
Yes, PWA can be an APK through conversion. Though PWAs utilize HTML and similar technologies, they can be converted into APK format through several online and offline tools. These tools utilize Node.js to convert the PWA’s source code and turn it into a native app discoverable through app stores.
Will PWA work properly on any mobile device?
Yes, PWA will work properly on any mobile device. A PWA is designed to work across all devices irrespective of screen size or operating system. However, there may be some limitations to the features depending on the browser. For example, the Safari browser used in iOS devices doesn’t support features such as splash screen and background color.
I 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.
Hi,
I have a developer who has a PWA, which I need to deploy to our Android dedicated devices. I've informed him that this needs to be packaged up to be put into the private Google Play Account.
He believes it should work if I deploy the Web App link and Chrome browser.
Before I go down this path, has anyone ever done this or know if this works using Web Links?
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