1.0.1 • Published 8 years ago
react-native-network-proxy v1.0.1
🛠 Network debug tool for react-native
Ever struggled with debugging network requests in React Native? Prefer console tools over GUI solutions (like reactotron)?

Getting started
Install
react-native-network-proxyby running$ yarn add react-native-network-proxyor
$ npm i react-native-netowrk-proxy --saveAdd
react-native-network-proxyto your react-native application:import { start as startNetworkDebugging } from 'react-native-network-proxy'; startNetworkDebugging({ host: 'localhost', port: 6969, }); // or just startNetworkDebugging();Start
react-native-network-proxyserver:$ yarn react-native-network-proxyor
$ npm run react-native-network-proxyThat's it! Run your app and make your
fetch/XMLHttpRequest! The request should appear in the console where the server is running
Help
You can always reach me on twitter (@kureevalexey)