I’m creating v2 of our app in Ionic. We already have an open API which we will be using to get the data used in the app, which we are forced to use due to our tech stack.
I want the app to be make requests for the data when offline, and when offline sync data.
I’ve found a number of good posts on the area, such as
however nothing that specifically talks about doing this generically for all REST calls.
I was wanting to know if something like this is best practice for ionic development, or if I’m missing a far better way to do this.