title: React Native 0.43.0 - okhttp on Android - Set User-Agent
body: <p>We recently upgraded React Native from 0.41 to 0.45 and have since discovered that the OkHttpClient network interceptor we previously set up on Android to change the user agent header for all network requests has stopped working for the fetch and XMLHttpRequest API and now only works for fetching images (using the standard RN Image component). </p>
  
  <p>We are using the exact same network interceptor set up described here <a href="https://stackoverflow.com/questions/35119761/react-native-okhttp-on-android-set-user-agent/38043581#answer-35189361">React Native &amp; okhttp on Android - Set User-Agent</a></p>
  
  <p>I think this has been issue since <a href="https://github.com/facebook/react-native/commit/0a71f48b1349ed09bcb6e76ba9ff8eb388518b15#commitcomment-21437960" rel="noreferrer">this commit</a> in version 0.43.0 which now prevents customising and replacing the OkHttpClient which is being passed into the NetworkingModule.</p>
  
  <p>Just wondering if anyone else has found a way to set the user agent header on all requests on React Native Android since version 0.43.0.</p>