1.0.9 • Published 4 months ago
flipper-plugin-jump-protocol v1.0.9
Flipper Jump Protocol Plugin
A Flipper plugin for monitoring and debugging jump protocols in Android applications. This plugin helps you track and analyze navigation events, deep links, and protocol jumps in your Android app.
Features
- Real-time monitoring of jump protocol events
- Search functionality across all fields
- Pause/Resume capability to control data flow
- Clear function to reset the data
- Support for both physical Android devices and emulators
Installation
You can install this plugin in Flipper Desktop using either npm or yarn:
# Using npm
npm install --global flipper-plugin-jump-protocol
# Using yarn
yarn global add flipper-plugin-jump-protocol
Usage
- Install the plugin in Flipper Desktop
- Connect your Android device
- The plugin will automatically start monitoring jump protocol events
- Use the search bar to filter events
- Use the pause button to temporarily stop receiving new events
- Use the clear button to reset all data
Android Integration
Add the following code to your Android application:
this.mConnection.send("newRow", (new FlipperObject.Builder())
.put("id", this.mNotificationMsg)
.put("jumpType", jumpType)
.put("action", TextUtils.isEmpty(action) ? "" : action)
.put("data", TextUtils.isEmpty(data) ? "" : data)
.put("flags", TextUtils.isEmpty(flags) ? "" : flags)
.put("RnUrl", TextUtils.isEmpty(RnUrl) ? "" : RnUrl)
.put("params", params)
.build());
Development
To build the plugin locally:
# Install dependencies
yarn install
# Build the plugin
yarn build
# Watch mode during development
yarn watch
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
// 发布新版本,修改package.json的version字段
npm version patch && npm publish --access public