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

    Localstorage limit on Safari mobile

    Help
    3
    3
    428
    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.
    • H
      hawkleaf last edited by

      Hi guys,

      I’ve been making an app with quasar and I’m absolutely loving it. I want to allow my client to save data offline so that when there is no internet connection the app can still be used. It’ll just sync later.

      Problem is, 5mb is not alot when I have to store images of each 300kb. Together with some other data the data cap is easily reached. Are there any known ways of increasing localstorage capabilities? I’ve been trying to find some concrete information online but to no avail.

      I’m hoping you guys might know how I can stretch it even just a little bit, 10mb or 15mb would make a big difference.

      qyloxe 1 Reply Last reply Reply Quote 0
      • A
        allocen last edited by

        You can use sqlite for that tho.

        1 Reply Last reply Reply Quote 0
        • qyloxe
          qyloxe @hawkleaf last edited by

          @hawkleaf said in Localstorage limit on Safari mobile:

          I’m hoping you guys might know how I can stretch it even just a little bit, 10mb or 15mb would make a big difference.

          The recommended way is of course browser’s indexeddb:
          https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API

          There are wrappers for that - like this one:
          https://dexie.org/

          …which deals with safari specifics:
          https://dexie.org/docs/IndexedDB-on-Safari

          If you want to kill two birds with one stone (much space and server sync/offline work) then you can even use something like this:
          https://pouchdb.com/

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