Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whataa/pandora
an android library for debugging what we care about directly in app.
https://github.com/whataa/pandora
android-library assistant databsae debug debugging-tool network-monitoring
Last synced: 6 days ago
JSON representation
an android library for debugging what we care about directly in app.
- Host: GitHub
- URL: https://github.com/whataa/pandora
- Owner: whataa
- License: apache-2.0
- Created: 2018-06-27T14:57:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-01T08:35:58.000Z (about 1 year ago)
- Last Synced: 2024-11-30T07:09:24.798Z (13 days ago)
- Topics: android-library, assistant, databsae, debug, debugging-tool, network-monitoring
- Language: Java
- Size: 4.74 MB
- Stars: 1,502
- Watchers: 35
- Forks: 168
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome - pandora - an android library for debugging what we care about directly in app. (Java)
README
EN | [中文](https://github.com/whataa/pandora/blob/master/README_CN.md)
Pandora is a tool box that allows you to inspect and modify what includes networks, databases, UIs, etc. directly in your application. It is suitable for rapid position of various problems in the development and testing stages.
## Demo
## Feature
#### Network logs
- Check the detailed logs of network requests, such as headers, body, error messages, and so on.
- Support all network libraries based on OKHTTP and Android native HttpURLConnection, covering most network development situations.#### Sandbox
- View the app's private storage directory, and can export files to SDcard.
- Supports browsing and editing SQLite databases, SharedPref files.#### UI:Select、Hierarchy、Baseline、Gridline
- View and modify properties of any Widget, such as the widget's size, color, text content, and so on.
- Grab and move any widget, view the boundaries and relative distance between widgets, detect alignment, layout and other issues.
- View the hierarchy of any UI, support Activity, Dialog, PopupWindow, etc.#### Other tools
- Show the current Activity in real time.
- Supports recording crash, compatible with third-party Crash libraries.
- You can add shortcut to Pandora.
- You can open any Activity of your app.
- You can view the lifecycle history of Activities.## Usage
1. Declare [Jitpack](https://jitpack.io/#whataa/pandora) repository and add dependencies:
```
// android-support
debugImplementation 'com.github.whataa:pandora:v${RELEASE}'
// or androidX
debugImplementation 'com.github.whataa:pandora:androidx_v${RELEASE}'// No matter android-support or AndroidX
releaseImplementation 'com.github.whataa:pandora-no-op:v${RELEASE}'
```library | version
---|---
pandora | [![Release](https://jitpack.io/v/whataa/pandora.svg)](https://jitpack.io/#whataa/pandora)
pandora-no-op | [![Release](https://jitpack.io/v/whataa/pandora-no-op.svg)](https://jitpack.io/#whataa/pandora-no-op)2. (Optional)If your project use OKHttp as a network library, interceptor can be injected into OKhttp by `pandora-plugin` [ ![Download](https://api.bintray.com/packages/yanglssc/maven/pandora-plugin/images/download.svg) ](https://bintray.com/yanglssc/maven/pandora-plugin/_latestVersion):
```
// in your project's gradle
buildscript {
dependencies {
...
classpath 'com.github.whataa:pandora-plugin:1.0.0'
}
}// in your app's gradle
apply plugin: 'com.android.application'
apply plugin: 'pandora-plugin'
```3. Grant permission to "Overlay Windows" and shake your device.
## [Feature APIs and Problems](https://github.com/whataa/pandora/blob/master/READMORE.md)
## Thanks
Pandora was developed on the shoulders of giants. Thanks to the following open source projects or person:
- Logo and Icon are produced by the designer [Zularizal](https://github.com/zularizal).
- Inspired by Flipboard's open source iOS platform debugging tool [FLEX](https://github.com/Flipboard/FLEX);
- Project database module ideas and part of the source code from Facebook's open source project [stetho](https://github.com/facebook/stetho);
- The idea of selecting views in the UI module of the project and part of the source code from eleme's open source project [UETool](https://github.com/eleme/UETool);
- The request API in the Demo module comes from jgilfelt's open source project [chuck](https://github.com/jgilfelt/chuck) ;
## License
[Apache-2.0](https://opensource.org/licenses/Apache-2.0)