(How) can I increase the quota limit of LocalStorage in Android WebView

前端 未结 2 2337
名媛妹妹
名媛妹妹 2021-02-20 11:00

I need to increase the default quota limit of the LocalStorage in a Android WebView. Currently I can only use around 2.5MB. When trying to store more data, a quota_exceede

2条回答
  •  执念已碎
    2021-02-20 11:08

    I just wrote a minimal script for that: https://github.com/DVLP/localStorageDB

    The goal is to have a very simple usage with key - value pairs like in localStorage, and take advantage of large size of IndexedDB and it's potential performance gain thanks to it being asynchronous.

    Hope you'll find this useful!

提交回复
热议问题