Go to file
realonezhang e3ca344bd0 fix:(utils) 删除工具库中对然键盘操作,在30版本中有兼容问题,导致状态栏改版失效 2021-12-31 16:47:26 +08:00
.github Update issue templates 2021-01-29 16:33:37 +08:00
Android fix:(utils) 删除工具库中对然键盘操作,在30版本中有兼容问题,导致状态栏改版失效 2021-12-31 16:47:26 +08:00
Doc modify: 2021-09-10 11:39:20 +08:00
Flutter modify: 2021-06-03 15:01:56 +08:00
Web style: 修改console不换行导致显示不全 2021-11-30 17:30:41 +08:00
iOS perf(iOS): hook add branch predicate and visibility hidden (#943) 2021-11-10 18:58:16 +08:00
miniapp feat: gitignore update 2021-06-08 11:53:28 +08:00
.gitignore fix(iOS): UI hierarchy (#854) 2021-07-06 21:10:35 +08:00
CODE_OF_CONDUCT.md chore: add CODE_OF_CONDUCT.md 2021-12-20 11:23:14 +08:00
CODE_OF_CONDUCT.zh-cn.md Create CODE_OF_CONDUCT.zh-cn.md 2021-12-27 12:17:35 +08:00
CONTRIBUTING.md small grammar fixes 2020-08-06 13:34:02 -07:00
DoraemonKit.podspec perf(iOS): hook add branch predicate and visibility hidden (#943) 2021-11-10 18:58:16 +08:00
LICENSE LICENSE 2018-08-27 14:13:43 +08:00
README.md Update README.md 2021-12-23 20:51:21 +08:00
README_EN.md modify: 2021-09-10 11:39:20 +08:00

README_EN.md

DoraemonKit







A full-featured App (iOS & Android) development assistant. You deserve it.

中文文档

community activity

DoKit official community satisfaction survey

link:https://page.juyanwenjuan.com/jy_0CMpJzlu.html

DoKit 首页效果演示

Introduction

In the development stage of the App, in order to improve the efficiency of the developer and tester we have developed a collection of tools with full-featured functions. I can use it to simulate the positioning of the App; preview the content of the sandbox file; view the information and logs of the App; test the performance of the App and view the detailed information of the view, etc. Each tool solves every problem in our app development. And our UI interface is simple and beautiful, and the user experience is good.

At present, we provide a total of more than 30+ built-in tools, including 2 platform tools; 10 common tools; 12 performance tools; and 5 ui tools. At the same time, you can also add your own tools in our DoKit panel for unified management.

DoKit is rich in functions, easy to access, and easy to expand. Everyone is welcome to try and feedback.

SDK Show

Demonstration

Feature List

Common Tools

  • App Settings quickly open the setting page of the specific app
  • App Infoview mobile phone information, device information, permission information of the current App
  • Sanboxsupport sandbox files for viewing, previewing, deleting, sharing and other operations
  • Mock GPSYou can uniformly modify the latitude and longitude callbacks inside the App
  • Browserquickly enter the html address to view the effect of the page, and support scan code;
  • Clear Sanbox delete all data in the sandbox
  • Logprint all logs to the UI interface for easy viewing
  • UserDefaultsiOS: add, delete, and modify the NSUserDefaults file
  • DBViewperform more detailed operations on the DB file on the web

Performance Tools

  • FPSview the real-time fps of the app through floating window
  • CPUview the real-time cpu of the app through floating window
  • Memoryview the real-time memory of the app through floating window
  • Networkview the real-time network of the app through floating windowand analysis of all network data
  • Crashconvenient to print out the code stack where Crash appears
  • Sub Thread UIquickly locate UI operations in some sub-threads
  • ANRwhen the app appears anr, print out the corresponding code call stack
  • BigImgThrough network monitoring, find out all the images with oversized size, to avoid the waste of network caused by downloading large images and the CPU consumption caused by rendering large images
  • Weak Networkview the running status of the App when the network is not good
  • Launch Timeshow app launch time
  • UI Hierrachyfind the deepest element in each page
  • Time Profileranalyze app performance bottlenecks at the function level
  • Memory Leakquickly locate App memory leaks
  • LoadiOScheck out all "+load" functions in iOS, and time-consuming statistics

UI Tools

  • Color Pickercapture the color value of every point in the app in real time
  • View Checkyou can touch any view and view their detailed information, including view name, view position, background color, font color, font size
  • Align Rulerability to capture screen coordinates in real time and see if views are aligned
  • View Borderdraw the border of each view

Platform Tools

  • Mock Data App network mock solution, provides a set of network mock solutions based on App network interception, and can complete the mock for network data without modifying the code
  • Health Check integration of multiple DoKit tools, data visualization, quick and accurate positioning of problems, let you know the performance of the app

tip Platform tools need to be used in conjunction with https://www.dokit.cn/

Installation

iOS

Cocoapods

    pod 'DoraemonKit/Core', '~> 3.0.2', :configurations => ['Debug'] #Required
    pod 'DoraemonKit/WithGPS', '~> 3.0.2', :configurations => ['Debug'] #Optional
    pod 'DoraemonKit/WithLoad', '~> 3.0.2', :configurations => ['Debug'] #Optional

Example Usage

#ifdef DEBUG
#import <DoraemonKit/DoraemonManager.h>
#endif

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    #ifdef DEBUG
    [[DoraemonManager shareInstance] install];
    #endif
}

Android

1、Download

To use DoKit , add the plugin to your buildscript:

buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.6.1'
        classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.5'
    }
}

and then apply it in your app module

apply plugin: 'com.didi.dokit'

and then implementation DoKit SDK

debugImplementation "com.didichuxing.doraemonkit:dokitx:3.3.5"
releaseImplementation "com.didichuxing.doraemonkit:dokitx-no-op:3.3.5"

2、SDK Init

public class App extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        DoraemonKit.install(this);
    }
}

Product Manual

If you want to know more details about DoKit, please visit https://www.dokit.cn/.

License

Apache-2.0 license

DoraemonKit is available under the Apache-2.0 license. See the LICENSE file for more info.