Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

QuotaExceededError #150

Closed
wojciecheu opened this issue Sep 17, 2015 · 1 comment
Closed

QuotaExceededError #150

wojciecheu opened this issue Sep 17, 2015 · 1 comment

Comments

@wojciecheu
Copy link

I am developing mobile app based on Phonegap / Cordova. Sometimes there is lack of internet connection. This plugin works fine on that situation, but sometimes there is problem with localStorage (throws QuotaExceededError if length exceeds about 5 MB - it is browser specific thing). Probably that storage in Webwiev is not efficent as expected. Maybe it would be better using WebSQL with Persistence.js - we can set its capacity up to 50MB.

@nilbus
Copy link
Owner

nilbus commented Sep 19, 2015

Yes, you are correct that localstorage is full. You can either work on efficiency or use an IndexedDB (or deprecated WebSQL) backend instead. See #149 (comment) and #73 on how to use other backends with this library.

@nilbus nilbus closed this as completed Sep 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants