All Projects → alexbrazier → React Native Network Logger

alexbrazier / React Native Network Logger

Licence: mit
An HTTP network request monitor for React Native with in-app interface for iOS and Android with no native code

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to React Native Network Logger

Cocoadebug
iOS Debugging Tool 🚀
Stars: ✭ 3,769 (+2240.99%)
Mutual labels:  network, network-monitoring, logging, debugger
Ivre
Network recon framework, published by @cea-sec & @ANSSI-FR. Build your own, self-hosted and fully-controlled alternatives to Shodan / ZoomEye / Censys and GreyNoise, run your Passive DNS service, collect and analyse network intelligence from your sensors, and much more!
Stars: ✭ 2,331 (+1347.83%)
Mutual labels:  hacktoberfest, network, network-monitoring
Ios Sdk
AppSpector is a debugging service for mobile apps
Stars: ✭ 56 (-65.22%)
Mutual labels:  network-monitoring, logging, debugger
Dotzu
📱👀 In-App iOS Debugging Tool With Enhanced Logging, Networking Info, Crash reporting And More.
Stars: ✭ 1,802 (+1019.25%)
Mutual labels:  network, network-monitoring, logging
Yii2 Debug
Debug Extension for Yii 2
Stars: ✭ 179 (+11.18%)
Mutual labels:  hacktoberfest, logging, debugger
Wormholy
iOS network debugging, like a wizard 🧙‍♂️
Stars: ✭ 2,010 (+1148.45%)
Mutual labels:  network, logging, debugger
Gleebug
Debugging Framework for Windows.
Stars: ✭ 1,168 (+625.47%)
Mutual labels:  hacktoberfest, debugger
Vis Network
💫 Display dynamic, automatically organised, customizable network views.
Stars: ✭ 1,311 (+714.29%)
Mutual labels:  hacktoberfest, network
Mud
Multipath UDP library
Stars: ✭ 100 (-37.89%)
Mutual labels:  hacktoberfest, network
Drf Api Tracking
Fork of aschn/drf-tracking so that we can maintain and release newer versions
Stars: ✭ 117 (-27.33%)
Mutual labels:  hacktoberfest, logging
Sensu Plugins Network Checks
This plugin provides native network instrumentation for monitoring and metrics collection, including: hardware, TCP response, RBLs, whois, port status, and more.
Stars: ✭ 28 (-82.61%)
Mutual labels:  network, network-monitoring
Libmtev
Mount Everest Application Framework
Stars: ✭ 104 (-35.4%)
Mutual labels:  hacktoberfest, network
Nload
Real-time network traffic monitor
Stars: ✭ 121 (-24.84%)
Mutual labels:  network, network-monitoring
Class Logger
Boilerplate-free decorator-based class logging
Stars: ✭ 64 (-60.25%)
Mutual labels:  hacktoberfest, logging
Networkeye
a iOS network debug library, monitor HTTP requests
Stars: ✭ 1,326 (+723.6%)
Mutual labels:  network, network-monitoring
Whatpulse
WhatPulse reverse engineered
Stars: ✭ 30 (-81.37%)
Mutual labels:  hacktoberfest, network
X64dbg
An open-source x64/x32 debugger for windows.
Stars: ✭ 37,825 (+23393.79%)
Mutual labels:  hacktoberfest, debugger
Documentation
Stars: ✭ 133 (-17.39%)
Mutual labels:  hacktoberfest, logging
Android Remote Debugger
A library for remote logging, database debugging, shared preferences and network requests
Stars: ✭ 132 (-18.01%)
Mutual labels:  network, logging
Passer
Passive service locator, a python sniffer that identifies servers, clients, names and much more
Stars: ✭ 144 (-10.56%)
Mutual labels:  hacktoberfest, network-monitoring

react-native-network-logger GitHub stars

CI Dependencies npm npm bundle size npm downloads License

An HTTP traffic monitor for React Native including in app interface.

An alternative to Wormholy but for both iOS and Android and with zero native dependencies.

Features

  • Log networks requests on iOS and Android
  • View network requests made with in app viewer
  • Debug network requests on release builds
  • Individually view request/response headers and body
  • Copy or share headers, body or full request
  • Share cURL representation of request
  • Zero native or JavaScript dependencies
  • Built in TypeScript definitions

Screenshots

iOS

Android

Setup

Install

yarn add react-native-network-logger

or

npm install --save react-native-network-logger

Start Logging

Call startNetworkLogging in your apps entry point to log every request, or call it on a button press to manually trigger it.

import { startNetworkLogging } from 'react-native-network-logger';

startNetworkLogging();
AppRegistry.registerComponent('App', () => App);

Display Requests and Responses

import NetworkLogger from 'react-native-network-logger';

const MyScreen = () => <NetworkLogger />;

Themes

You can change between the dark and light theme by passing the theme prop with "dark" or "light".

import NetworkLogger from 'react-native-network-logger';

const MyScreen = () => <NetworkLogger theme="dark" />;

Logging options

Max Requests

You can configure the max number of requests stored on the device using by calling startNetworkLogging with the maxRequests option. The default is 500.

startNetworkLogging({ maxRequests: 500 });

Sorting

Set the sort order of requests. Options are asc or desc, default is desc (most recent at the top).

import NetworkLogger from 'react-native-network-logger';

const MyScreen = () => <NetworkLogger sort="asc" />;

Integrate with existing navigation

Use your existing back button (e.g. in your navigation header) to navigate within the network logger.

import NetworkLogger, { getBackHandler } from 'react-native-network-logger';

const navigation = useNavigation();
const onBack = getBackHandler(navigation.goBack);

const MyScreen = () => (
  <Screen onBackPressed={onBack}>
    <NetworkLogger />
  </Screen>
);

Example App

To test the example app, after cloning the repo, install the required dependencies by running:

yarn bootstrap

Then start the example app by running:

yarn example start

You should then be able to open the expo server at http://localhost:3000/ and launch the app on iOS or Android.

For more setup and development details, see Contributing.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].