Skip to content
New issue

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

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

Already on GitHub? # to your account

Investigate using persistent storage so we can increase the available storage #2615

Closed
garethbowen opened this issue Aug 8, 2016 · 5 comments

Comments

@garethbowen
Copy link
Contributor

https://developer.chrome.com/apps/offline_storage#persistent

@garethbowen
Copy link
Contributor Author

garethbowen commented Aug 9, 2016

We could follow this approach: https://github.com/nolanlawson/cordova-plugin-sqlite-2

Essentially what this is doing is communicating back to the android app to access the sqllite db in android which doesn't have the storage limit. This is slower and buggier than IndexedDB but the only way I can find to get around the storage limit.

@estellecomment
Copy link
Contributor

Can you use it as Pouch backend?

Aw crap persistent storage is just for Files API, not indexedDB :(

@garethbowen
Copy link
Contributor Author

Yes you can use it as a Pouch backend so it would actually work. It's not recommended for the above reasons.

@estellecomment
Copy link
Contributor

@garethbowen
Copy link
Contributor Author

Replaced by #2623

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants