nowinandroid
nowinandroid copied to clipboard
How do we access token stored locally in RetrofitNiaNetwork?
So here is the scenario.
The api call needs authentication, auth token is stored locally and needs to be added in request header.
In this code structure network module is unaware of local (datastore) module.
How do we add auth token (stored locally) using interceptor in network module?