Ionic may lost user's config when we upgrade version from ionic 5.0 to ionic 6.0
Looks like that to avoid this behavior we should migrate from localStorage based solution to native ionic's solution based on either ionic/storage or capacitor/storage.
How to reproduce problem:
Install version with old packages, mark some date or do anything to fill storage with data
Upgrade packages (to do this you can cherry-pick commits from this branch #243)
Install new version with new packages
Expected:
All user cycles and other data from storage are loaded on startup
Real:
All user cycles and other data from storage are lost
Ionic may lost user's config when we upgrade version from ionic 5.0 to ionic 6.0 Looks like that to avoid this behavior we should migrate from
localStorage
based solution to native ionic's solution based on eitherionic/storage
orcapacitor/storage
.How to reproduce problem:
Expected: All user cycles and other data from storage are loaded on startup
Real: All user cycles and other data from storage are lost