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

    Background sync help

    Help
    2
    2
    493
    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.
    • C
      Credwa last edited by

      How do I add background sync to my PWA?

      I already wrote the function:
      self.addEventListener(“sync”, function(event) {
      console.log(“background syncing”, event);
      if (event.tag === “sync-new-message”) {
      console.log(“syncing new messages”);
      }
      });

      But when I build with: quasar build -m pwa
      function doesn’t exist in service-worker.js

      S 1 Reply Last reply Reply Quote 0
      • S
        sebastien.roul @Credwa last edited by

        @credwa which version of quasar you use ?

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