Using OkHttpClientProvider on Android


#1

I’m trying to use these instructions: https://www.madebymany.com/stories/a-year-of-react-native-ssl-pinning to implement certificate pinning on Android.

However, it seems that using replaceClient() for the OkHttpClientProvider doesn’t actually replace the HTTP client that Expo is using. I’ve tried adding interceptors and logging out the requests, as well as placing debug statements, but nothing is being hit.

How can I attach an interceptor or certificate pinner to the HTTP client that expo is using?


#2

Any ideas on this one?


closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.