react-native-network-logger
react-native-network-logger copied to clipboard
is there a way of tracking request made by webviews?
Hey! I hope you are doing well! This library only tracks requests that are made by the app, right? For example, if I develop a web with React and I render it in a webview in my RN app, am I able to see the requests made by that web page?
Hi @joaquinbian, I don't think it will work as it needs to go through the react-native XHRInterceptor
which I assume webviews don't. I haven't tried though so can't be 100% sure how webviews are set up.
Ohh I see, I suppose webviews does not go through XHRInterceptor
as well.. I tried fetching from the React Native app and I am able to see those request, but no the ones made by the webapp.
Thank you so much!