No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Js event "Beforeinstallprompt" being raised twice

    Help
    2
    2
    110
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      niltonssjr last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel last edited by

        on Iphones you don’t get the event. You could look here for an example:

        https://github.com/Bartozzz/vue-pwa-install

        1 Reply Last reply Reply Quote 0
        • First post
          Last post