You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use custom Okhttpclient in our project in order to print log , and invoke 'OkHttpClientProvider.replaceOkHttpClient()'. However it seems don't work. Then i read the source code and found that construct function of 'com.facebook.react.modules.network.NetworkingModule' use 'OkHttpClientProvider.createClient()' to create okhttpclient rather than 'OkHttpClientProvider.getOkHttpClient()'. As the result ,there are two okhttpclient. Is this a bug or something else ?
Expected Behavior
All of the request is intercept by my custom networkInterceptorCreators.
(Write what you thought would happen.)
the networkInterceptorCreators don't work.
Actual Behavior
the networkInterceptorCreators don't work.
(Write what happened. Add screenshots!)
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.
stalebot
added
the
Stale
There has been a lack of activity on this issue and it may be closed soon.
label
Nov 24, 2017
Is this a bug report?
(write your answer here)
yes
Have you read the Contributing Guidelines?
(Write your answer here.)
yes
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 8.4.0
Yarn: 1.0.2
npm: 5.4.1
Xcode: Xcode 8.3.3 Build version 8E3004b
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react-native: 0.48.1 => 0.48.1
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
Target Platform: Android (7.0)
Steps to Reproduce
(Write your steps here:)
Expected Behavior
All of the request is intercept by my custom networkInterceptorCreators.
(Write what you thought would happen.)
the networkInterceptorCreators don't work.
Actual Behavior
the networkInterceptorCreators don't work.
(Write what happened. Add screenshots!)
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
The text was updated successfully, but these errors were encountered: