We have been using local storage to save data for a long time. We want to migrate to native storage now.
I am sure the best way to do it. This is what I am thinking to do,
- Add the Cordova native storage plugin.
- Copy local storage to native storage on app start (if it is not already copied).
- Use native storage instead of local storage in the code.
Is there an easy way to do this? May be a plugin to do the migration?
Thanks.