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

    Reload pwa

    Framework
    3
    7
    1017
    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.
    • J
      jmg1340 last edited by

      Hello
      I’ve made a PWA using Quasar framework. This app is about registering puntuations using a data table component.
      The app works fine in my phone, but if I want to change or switch to another app or desk and then come back to my app, then it reloads and lose the information (like a reset)

      1 Reply Last reply Reply Quote 0
      • J
        jmg1340 last edited by

        I leave you my app URL just to see this behavior:
        http://puntuacions.awardspace.biz/

        1 Reply Last reply Reply Quote 0
        • rstoenescu
          rstoenescu Admin last edited by

          This is normal PWA behavior. Out of Quasar’s control. However, you can retain the app state with LocalStorage.

          1 Reply Last reply Reply Quote 0
          • J
            jmg1340 last edited by

            But… what about offline PWA mode? Why does it reload?

            1 Reply Last reply Reply Quote 0
            • rstoenescu
              rstoenescu Admin last edited by

              Regarding offline mode, it depends on the platform. On desktop it should work flawlessly. On Android there is offline support, while on iOS they just started to really work on offline mode in v11.3 or 11.4.

              1 Reply Last reply Reply Quote 0
              • J
                jmg1340 last edited by

                I tested it on Android device and it worked. But not on my iphone (in spite of having updated it to v.11.4.1) 😓

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

                  If you use IndexedDB (via the excellent LocalForage plugin: https://localforage.github.io/localForage/) this works flawlessly on the iOS. I store all my important data locally, and it is still there when relaunching the PWA.

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