Hi, have created a webApp for IOS and am trying to figure out how to trigger a popup bubble that instructs the user hoe to download the webApp to their home screen. I’m having trouble getting the bubble to not show when the app is downloaded and in fullscreen mode. I’ve tried a handful of scripts and techniques found online but nothing is working.
Here is the last code I tried to implement in a js function that runs on page load.
I gave the bubble graphic an ID of bubble in the HYPE inspector and have a jquery.js file installed.
$(hypeDocument).ready(function(){
if(window.navigator.userAgent.indexOf(‘iPhone’) != -1){
if(window.navigator.standalone == true){
$(’#bubble’).hide();}
else {
$(’#bubble’).show();}
});
Thanks!