New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QuotaExceededError #150

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

Comments

Projects
None yet
2 participants
@wojciecheu

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

This comment has been minimized.

Show comment
Hide comment
@nilbus

nilbus Sep 19, 2015

Owner

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.

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 Sep 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment