react-native-blob-util icon indicating copy to clipboard operation
react-native-blob-util copied to clipboard

Integration network debugging react-native-debugger

Open Jasper-zzq opened this issue 1 year ago • 1 comments

In order to debug some issues I'm having I would like to see the network request (url, headers, cookies, request, response, etc). In my case, I particularly want to verify that the session and rememberme cookies are being sent.

These days react-native-debugger supports this option for regular fetch requests, but I don't see the RNFetchBlob request show up in the network tab.

Is there a way I can enable this?

Jasper-zzq avatar Apr 27 '24 12:04 Jasper-zzq

No you can't. The library is using native requests, not using the fetch offered by react-native. Therefore react-native-debugger can't intercept and inspect these. You would need to use some network monitoring tool or put prints in the native code. But in general, if a normal fetch has your cookies, this library should use them too

RonRadtke avatar May 04 '24 06:05 RonRadtke