-
Notifications
You must be signed in to change notification settings - Fork 67
Home
Pluto is an on-device debugging framework for Android applications. It supports adding debuggers as plugins like inspection of HTTP requests/responses, captures Crashes & ANRs, and manipulates application data, and so on.
Pluto provides APIs and framework support to render UI and access information.
Pluto is distributed through mavenCentral. To use it, you need to add the following Gradle dependency to your build.gradle file of your android app module.
dependencies {
debugImplementation 'com.plutolib:pluto:2.0.0'
}
Now to start using Pluto, intialize Pluto SDK from you application class by passing context to it.
Pluto.Installer(this)
.addPlugin(DemoPlugin("demo_id"))
.install()
Unlike version 1.x.x, Pluto now allows developers to add debuggers as plugins based on their need.
Here is the list of some plugins provided by us
We will be adding more to the list. So please stay tuned.
Please refer to their respective README for integration steps.
🎉 You are all set!
Now re-build and run your app, you will receive a notification from Pluto, use it to access Pluto UI.
- Handling Notch Pluto now allows developers to show/hide the notch programmatically.
Pluto.showNotch(true)
- Access Pluto UI via Code To support deeper integration with the apps, developers can directly trigger the Pluto UI.
/* To open the plugin selector view */
Pluto.open()
/* To directly open any plugin, just pass the devIdentifier for the plugin */
Pluto.open(PLUGIN_DEV_ID)