Hii guys, what is difference between IonicStorageModule & Native Storage ??!!!
thnks in advance
Please provide some context, links to documentation about what you are talking about.
this is link for IonicStorageModule — https://ionicframework.com/docs/storage/
this is link for Native Storage — https://ionicframework.com/docs/native/native-storage/
Ionic Storage (the first one) works in browsers and native environments.
Ionic Native Storage only works in native environments.
the data persisted by this two approch can be deleted automaticaly by android or ios system ?
or is impossible to deleted by system in this case data life cycle is seem to sqlite data
Both are permanent storages that are not deleted.
You are thinking of “local storage”.
in my ionic 3 application i must get a lot of data from a backend using REST.
i want to save data in json on mobile devise cache for first time.
and then just read data from cache and if it(data on backend) change i read new data from backend and update my json data.
what do you see
This will work with both.
But as Ionic Native also works in the browser, it is to be preferred in my opinion.