I have created a PWA app and decided to add a big 'Install me button' on the home page.
This works fine and when the user clicks on that 'button' the application gets installed on my phone.
But, after installing it, every time I refresh the home page, I see the button appearing and almost immediately disappear again. I would like to not see this happening.
The button is actually a Static Content region with a link that references href="#action$a-pwa-install"
It seems that some pwa javascript code, after loading the page sets the display attribute of the code with the href="#action$a-pwa-install" to none.
How can I prevent this 'flashing' of this region?
I have created a demo application on apex.oracle.com
Workspace: HUE_API
Username: FORUM_MEMBER
Password: fm-1222pwa
Application 149160 PWA
You can run this application (without first login in to apex.oracle.com) with this url (and above provided username/password):
https://apex.oracle.com/pls/apex/r/hue_api/pwa/login?session=100362485498447
You will see the 'Install on you phone' button flashing without first having installed the app on your phone, but also after installing the app. In the later case, the button will disappear.