Home

Awesome

EN | 中文

<p align=center> <img src="https://i.loli.net/2019/03/15/5c8b6158be01e.png" width=40%> </p> <p align=center> <a href="https://youtu.be/pP9jVcxKPsE"> <img src="https://img.shields.io/badge/demo-youtube-red.svg"> </a> <a href="https://jitpack.io/#whataa/pandora"> <img src="https://jitpack.io/v/whataa/pandora.svg"> </a> <a href="https://android-arsenal.com/api?level=14"> <img src="https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat"> </a> <a href="https://developer.android.com/index.html"> <img src="https://img.shields.io/badge/platform-android-brightgreen.svg"> </a> <a href="https://github.com/whataa/pandora-no-op/blob/master/LICENSE"> <img src="https://img.shields.io/badge/license-Apache%202.0-blue.svg"> </a> <a href="https://travis-ci.org/whataa/pandora"> <img src="https://travis-ci.org/whataa/pandora.svg?branch=master"> </a> </p>

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

<p> <img src="https://note.youdao.com/yws/api/personal/file/WEB5d90fab5127f1cf2664a976380a89418?method=download&shareKey=a9f6caf76cc9abef7d17271b435ca030" width=18%> <img src="https://note.youdao.com/yws/api/personal/file/WEB681b1401d6f40a7dcdf480b2aff33bef?method=download&shareKey=9e2596df7e42fad75ee3f4fe99766814" width=18%> <img src="https://note.youdao.com/yws/api/personal/file/WEB46cceded39144f21327bbc113938eb42?method=download&shareKey=6a7a0a7e863a4c75a5f62fcd62d5092a" width=18%> <img src="https://note.youdao.com/yws/api/personal/file/WEB710b73c107e189afab614b00428b4f7a?method=download&shareKey=d53c1f09302225d6aa293ae023f40d13" width=18%> </p>

Feature

</p>

Network logs

Sandbox

UI:Select、Hierarchy、Baseline、Gridline

Other tools

Usage

  1. Declare Jitpack 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}'
    
    libraryversion
    pandoraRelease
    pandora-no-opRelease
  2. (Optional)If your project use OKHttp as a network library, interceptor can be injected into OKhttp by pandora-plugin Download

    // 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

Thanks

Pandora was developed on the shoulders of giants. Thanks to the following open source projects or person:

License

Apache-2.0