npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

flipper-plugin-eventbus-logger

v1.0.1

Published

An inspector to visualize the events emitting from your mobile application using eventbus. It works with the mobile application plugin that sends event data.

Downloads

6

Readme

GitHub forks GitHub stars GitHub issues GitHub license

Introduction

![Product Name Screen Shot][product-screenshot]

EventBus Logger flipper is an event inspector to visualize the GreenBot EventBus' event traffic from a mobile app. The mobile app plugin acts as an interceptor for the events, collects each event data and sends to the Flipper desktop plugin. Any additional data can be send but plugin supports timestamp, eventType, stacktrace and eventBody out of the box.

This Plugin is especially helpful during the debugging phase to track-down the events and their removal along the course of app feature usage.

Built With

Getting Started

In order to use the EventBus logger, follow these steps.

Prerequisites

You'll need to integrate the Flipper in your app. Follow the official instructions here.

Installation

Application setup

  1. Clone the repo
    git clone https://github.com/SaqibJDev/EventBusLogger-Flipper.git
  2. Copy the Android plugin in your app.
  3. Register the Plugin with flipper client at app startup. (Please see the sample app for a reference)
  4. Adapt your eventbus base class to add EventBusLoggerFlipperPlugin as an interceptor.
  5. Install the app on the device or an emulator

Flipper setup

  1. Open Flipper App
  2. Open Plugin Manager from left top
  3. Select install plugins
  4. Search for eventbus
  5. Install eventbus-logger
  6. Reload Flipper

Usage

Once the setup is done and app is installed, FLipper will recognize your app supporting EventBusLogger. It will be shown in the list of active plugins with a bus icon. Select the plugin to visualize the event traffic. In order to see the details, simply click on any event row.

The plugin supports the following details:

  1. Event Class name
  2. Event type (Post Event, Post Sticky, Remove Sticky)
  3. Timestamp
  4. Details
    1. Key Value map data (if sent via application plugin)
    2. Json Event Body (if class has data members)
    3. Stacktrace to trace down the event execution

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Hafiz Saqib Javed - @Saqib_J - [email protected]

Project Link: https://github.com/SaqibJDev/EventBusLogger-Flipper