Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Install App doesn't show up on mobiles (PWA)

jose luis romero
2 years ago May 18, 2020 2:21pm

I downloaded the demo of V14 https://vaadin.com/start/v14/business-app

Accessing from a pc, chrome, it shows the "Install App" notification and it works great but if I access from a mobile (android, chrome) I don't have that notification/option. How do I have enable this feature on mobiles too?

This is the starting point of the project

@JsModule("@vaadin/vaadin-lumo-styles/badge")
@PWA(name = "My Starter Project", shortName = "My Starter Project", iconPath = "images/logo-18.png", backgroundColor = "#233348", themeColor = "#233348")
@Viewport("width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes")
public class MainLayout extends FlexBoxLayout
		implements RouterLayout, PageConfigurator, AfterNavigationObserver {
Last updated on May, 18th 2020
Olli Tietäväinen
2 years ago May 19, 2020 5:51am

One thing that may be relevant here: PWA features only work if the content is being server with https or from localhost.

jose luis romero
2 years ago May 19, 2020 9:21pm
Olli Tietäväinen
2 years ago May 20, 2020 5:35am