I\'d like to view my network requests in React Native to help me debug - ideally in the \'Network\' tab of Chrome\'s devtools.
There are some closed issues about thi
If you are looking to debug network requests on a release version of your app you can use the library react-native-network-logger. It lets you monitor and view network requests within the app from a custom debug screen.
You can then put this behind a build flag or a network flag to disable it for users in the production app.
Just install it with yarn add react-native-network-logger then add this at the entry point of your app:
import { startNetworkLogging } from 'react-native-network-logger';
startNetworkLogging();
AppRegistry.registerComponent('App', () => App);
And this on a debug screen:
import NetworkLogger from 'react-native-network-logger';
const MyScreen = () => ;
Disclaimer: I'm the package author.