HTTP Traffic Monitor For React Native – Network Logger

Author: alexbrazier
Views Total: 4 views
Official Page: Go to website
Publish Date: June 23, 2020
License: MIT

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:

HTTP Traffic Monitor For React Native - Network Logger

You Might Be Interested In:

Leave a Reply