Using OkHttpClientProvider on Android

I’m trying to use these instructions: Made by Many 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?

Any ideas on this one?

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