ionic-team / ionic-storage

Ionic Storage module for Ionic apps
MIT License
437 stars 99 forks source link

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

Open laurentperez opened 1 year ago

laurentperez commented 1 year ago

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.

thx