Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

basil-ws-flipper

matju-m972MIT1.0.0TypeScript support: included

Websocket Flipper Plugin

flipper-plugin, react-native, websocket

readme

Websocket Plugin for Flipper

Websocket Flipper Plugin

screenshot of the plugin

This plugin allows

  • Monitoring the Websocket Tunnel
  • Send data to server through the socket
  • Mock 'Received' Data

Get Started

yarn add basil-ws-flipper react-native-flipper
# for iOS
cd ios && pod install

Add the middleware into your app:

In React Native bootstrap add:


if (__DEV__) {
  require('basil-ws-flipper').wsDebugPlugin;
}

Install flipper-plugin-basil-ws in Flipper desktop client:

Manage Plugins > Install Plugins > search "basil-ws" > Install

Start your app, then you should be able to see

screenshot of the plugin

By Default it will be in the DISABLED Section.