2

i have a jquery mobile application, in iOS safari a smart app banner comes when the application is loaded in the browser that tells to install or open the application. ones the smart app banner is closed by the x icon in the prompt then its told that the safari sets a flag with the particular app id which is passed with the meta tag.

is there any way that we can get the set flag details ? or is there any way we can know if the x icon is clicked ?

enter image description here

the banner shown in the image is smart app banner and ones we click the x icon in that banner then the banner never prompts for that particular app. when i searched about this it was told that a flag will be set by safari for that particular app with the app id we specify in the meta tag for the smart app banner. i need to know, is there any way to get the flag details, or to reset the flag.

the only solution i found to reset the flag is to reset the device

HMagdy
  • 3,029
  • 33
  • 54
shahabas sageer
  • 171
  • 1
  • 12

1 Answers1

0

You can subscribe to window resize event. It will be emitted after a banner has been closed.

window.addEventListener('resize', () => ...);
Denis Sedchenko
  • 168
  • 3
  • 9