Js event "Beforeinstallprompt" being raised twice
-
Hi, guys!
As I said in another post, I am a new quasar developer.
I am trying to customize the user experience, so I put a listener to the “beforeinstallprompt” event, sent a customized window asking for the authorization to install and when the customer confirm, I prompt the deferred event. But I saw that when I prompt it, it seems the event is raised again.Is there any more inteligent way to do this thing?
Also, I saw the sometimes this event is not raised on iPhone.
Thanks!
-
on Iphones you don’t get the event. You could look here for an example: