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

(question) rationale behind IndexedDB being the 1st driver in driversOrder ? #272

Open
laurentperez opened this issue Mar 4, 2023 · 0 comments

Comments

@laurentperez
Copy link

Hello

We're migrating an ios/android ionic app from an older version and noticed localStorage is now the 2nd preferred driver of storage, the 1st being IDB.

Looking thru ionic-storage code and localforage code, as far as I understand, IDB was unsafe for older iOS versions (12.x, especially given WebKit bugs). So the code switches between IDB and localStorage.

We do not target older iOS versions, do not target IE, do not target android < 9.

  • can I safely use localStorage or should I really use IDB ?
  • if the user backups and reinstalls its app, are IDB or localStorage persisted between reinstalls or should I use SQLite ?

thx

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