Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activate and deactivate the debugging (and notification) on demand #71

Open
RoRoche opened this issue Sep 3, 2021 · 4 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@RoRoche
Copy link

RoRoche commented Sep 3, 2021

I'd like to programmatically (de)activate the debugging (and notification), for example by turning a switch "debug mode" in settings.

As there is a method Pluto.initialize(context), it could be a Pluto.terminate(context) one. Personally, I prefer the "start/stop" tuple but whatever.

Maybe it could be painful for the related classes (OkHttp's interceptor, ANRListener), to stop the debugging. What about an event mechanism?

@RoRoche RoRoche added the enhancement New feature or request label Sep 3, 2021
@srtvprateek srtvprateek self-assigned this Sep 3, 2021
@srtvprateek
Copy link
Member

hi @RoRoche,
can you share your use case in a bit more detail, it will help to solutionize this.

@RoRoche
Copy link
Author

RoRoche commented Sep 22, 2021

I want to give debug access to only advanced users. It would be an option in a specific settings menu, accessible with a password. So it would be a checkbox "debug mode" and I'd like to dynamically start/stop Pluto on checkbox' changes.

@github-actions
Copy link

github-actions bot commented Dec 1, 2021

Stale issue

@github-actions
Copy link

github-actions bot commented Mar 1, 2022

Stale issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants