What is autoGrantPermissions Capabilities?
Have Appium automatically determine which permissions your app requires and grant them to the app on install. If noReset capability is true, this capability doesn't work.
Eg:-capabilities.setCapability("autoGrantPermissions", false);
Valid Values:-true,false
Default value:false.