I’m trying to use these instructions: https://www.madebymany.com/stories/a-year-of-react-native-ssl-pinning 2 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? Or, is there an alternate way I can achieve certificate pinning?