Is there any way to enable/disable app permission?


#1

My app need the multiple app permission. I need to check how my app behaves by allowing or denying the different permission. Is there any way so that i can enable/disable the app permission from the appium to create the multiple scenario?


#2

When your app starts, simply allow or disallow permission.

I’m not sure where you got stuck by the problem, so it’s hard to give you any advice. I hope you installed Appium and all dependencies and got the test project run successfully. For anything else, please be more specific. :slight_smile:


#3

You can use adb commands to grand and revoke any permission.


#4

Thanks for the link.