Pulse
Pulse copied to clipboard
Using SensitiveHeaders doesn't work for StoreRequest with LoggerStore
Hey there!
Thanks a lot for the library, it's an amazing way to look into the logs on device!
I've wanted to enable logs in our app store builds to have a bit more info available on device if needed. And I wanted to leverage usage of NetworkLogger.Configuration for that.
It does redact sensitive data when using URLSessionProxy, but it doesn't work when using LoggerStore.shared.storeRequest. And we have to use it as we are actually using Apollo library for GraphQL communication. And they don't provide a way to inject a URLSession.
I guess one option I have right now is to redact those fields in the request and response on my own?
Cheers!