Hi,
I want to implement a offline logic into my app and I am no sure what would be the best way to do it.
My app on-device-ready obtain updated content from backend api and then two options:
-
Store info into ionic storage (sqllite) with key-value way
-
Store it into a defined injectable service (app module) with in variables in a singleton design pattern way.
The app is a sidemenu app and access to different stored infos on each page. (From Ionic storage or singleton)
Which would be the correct way to implement this requisites?
Thanks