Skip to content
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

Bad version option to openDatabase #37

Open
buu700 opened this issue Jan 27, 2020 · 0 comments
Open

Bad version option to openDatabase #37

buu700 opened this issue Jan 27, 2020 · 0 comments

Comments

@buu700
Copy link

buu700 commented Jan 27, 2020

Using version 1.8.0 with localforage 1.7.1 and cordova-sqlite-storage 4.0.0, there is no data persistence between app restarts.

For whatever reason, commenting out this line fixes the problem: https://github.com/thgreasi/localForage-cordovaSQLiteDriver/blob/7a4ac27/lib/localforage-cordovasqlitedriver.js#L43

(I'd just submit a PR, but I don't know if there's some reason for that option or if it's maybe needed for other SQLite plugins/versions.)

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

No branches or pull requests

1 participant