A React Native network logger to monitor HTTP requests and responses on your mobile application.
Key Features:
- Log networks requests on iOS and Android
- View network requests made with in app viewer
- Debug network requests on release builds
- Individually view headers sent, received and body sent and received
- Copy or share headers, body or full request
- Share cURL representation of request
- Zero native or JavaScript dependencies
- Built in TypeScript definitions
Installation:
# Yarn $ yarn add react-native-network-logger # NPM $ npm install react-native-network-logger --save
Basic Usage:
// start logging import { startNetworkLogging } from 'react-native-network-logger'; startNetworkLogging(); AppRegistry.registerComponent('App', () => App); // display requests and responses const MyScreen = () => <NetworkLogger />;
Preview:
Download Details:
Author: alexbrazier
Live Demo: View The Demo
Download Link: Download The Source Code
Official Website: https://github.com/alexbrazier/react-native-network-logger
License: MIT