nowinandroid icon indicating copy to clipboard operation
nowinandroid copied to clipboard

How do we access token stored locally in RetrofitNiaNetwork?

Open tapandesai opened this issue 3 years ago • 0 comments

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?

tapandesai avatar Nov 25 '22 04:11 tapandesai