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

How to disable OnShake action when using AndroidSnooper #37

Open
kashi1982 opened this issue Dec 27, 2022 · 3 comments
Open

How to disable OnShake action when using AndroidSnooper #37

kashi1982 opened this issue Dec 27, 2022 · 3 comments

Comments

@kashi1982
Copy link

Hello,

I would like to disable onShake Action for my app which is using AndroidSnooper. Let me know how it can be done.

@jainsahab
Copy link
Owner

Hi @kashi1982 , could you please help me understand your usecase ?

If it's about disabling the snooper in certain builds, you can use our no-op modules.
https://mvnrepository.com/artifact/com.github.jainsahab/Snooper-No-Op

@kashi1982
Copy link
Author

kashi1982 commented Dec 27, 2022 via email

@jainsahab
Copy link
Owner

@kashi1982 that's how it is supposed to work.

If you want to completely disable the snooper for your production build and still want it to be enable in test or ci build, you can use no-op variants of snooper by making use of buildTypes https://developer.android.com/studio/build/build-variants#dependencies.

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

No branches or pull requests

2 participants