Coder Social home page Coder Social logo

Comments (4)

whataa avatar whataa commented on May 12, 2024

非常不建议这样做,而且也不提供正常的api进行配置。

如果你只是想测试下,可以直接按照以下方式依赖:

implementation 'com.github.whataa:pandora:${RELEASE}'

然后在application的onCreate方法中调用:

tech.linjiang.pandora.util.Config.setSHAKE_SWITCH(false);

最后自己实现一个触发方式(例如某个按钮点击)手动调用:

Pandora.get().open();

from pandora.

guozhiqiang123 avatar guozhiqiang123 commented on May 12, 2024

谢谢!因为我们我们内部给领导演示的包有时候也是release的,出现bug的时候需要Pandora进行跟踪,所以有这个非正常的需求。再次感谢!

from pandora.

whataa avatar whataa commented on May 12, 2024

好的,其实这种需求可以在gradle文件中通过flavor来配置,以实现不同的 XXXimplementation,只要满足你最后真正的release包使用的是no-op就行了,具体的你可以搜一下

from pandora.

guozhiqiang123 avatar guozhiqiang123 commented on May 12, 2024

嗯嗯 好的

from pandora.

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.