draftsman icon indicating copy to clipboard operation
draftsman copied to clipboard

Can this be added as debugImplementation?

Open nikhiljainlive opened this issue 2 years ago • 2 comments

Query / Feature Request : Can this be added as debugImplementation in project and only works in case of debug mode?

Description : If we can add this library as debugImplementation like we add LeakCanary, it could be more useful and hassle-free to use in production apps since it doesn't require to remove the library from the source code. And if there could be another launcher activity from library which can have enable and disable button to inspect the views.

nikhiljainlive avatar Mar 25 '22 03:03 nikhiljainlive

  1. We should be able to add another no-op artifact similar to how leak canary does it.
  2. Yeah, I've been looking into a way to provide easy on/off toggle which can persist app wide. Will provide an update once I finalise something.

jitinsharma avatar Mar 25 '22 04:03 jitinsharma

@jitinsharma yes, that will be great!

nikhiljainlive avatar Mar 25 '22 05:03 nikhiljainlive