Code Monkey home page Code Monkey logo

Comments (4)

Kyson avatar Kyson commented on June 3, 2024

子进程的话可以使用多个GodEye的实例,相当于每个进程都是一个app,不过每个进程的端口需要自己指定不同的

from androidgodeye.

Krosxx avatar Krosxx commented on June 3, 2024

@Kyson 嗯嗯,我后来在Application中其他进程开启了,不过有个问题GodEye.init(Context)是私有方法,使用反射才能创建成功。
这里建议GodEye初始化用的ContentProvider指定可多进程android:multiprocess="true",或可配置是否支持多进程,并且端口自增或其他策略

from androidgodeye.

Krosxx avatar Krosxx commented on June 3, 2024

另外支持多进程还需解决前台服务通知id

from androidgodeye.

Kyson avatar Kyson commented on June 3, 2024

这个可以考虑一下,因为现在大部分情况是主进程的监控,所以子进程的没有过多考虑进来

from androidgodeye.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.