-
Notifications
You must be signed in to change notification settings - Fork 97
Description
Hey there,
my application is using the ionic-storage.
I've been reported since 1 week now by multiple users all on iOS that they have encountered random data losses.
The application is tracking coffee, and each coffee results into one brew.
Users tell me that some of the brews are missing, but strangly not ALL of them.
Funnyly enough I'm myself on iOS and I don't encouter this issue since months.
Also to mention, the code usage to access the database, storage things etc, haven't been change since more then 5 years, and now randomly this issue appears.
Also half year back, I realized that Apple shoot the database where the entries in the Database where corrupted and entries inside the array got corrupted - But this was from Update 17.1 to 17.2 - which I could fix with backups etc.
The storage driver which is used on the users side is logged as:
Storage-Driver: asyncStorage
IonicStorageModule.forRoot({
name: '__baristaDB',
driverOrder: [
Drivers.IndexedDB,
CordovaSQLiteDriver._driver,
Drivers.LocalStorage,
],
}),
Versions:
"@ionic/cli": "^7.1.5",
"@ionic/storage": "^4.0.0",
"@ionic/storage-angular": "^4.0.0",
12.0.0 (cordova-lib@12.0.1)
"@angular/common": "^16.2.7",
ios 7.0.0
I'd be happy if someone could give me a helping hand here what to try and how to get down to the issues root cause.
Thank you so far
Lars