How to grant system Permissions for app in Appium?
capability.setCapability("autoGrantPermissions",true);
This Appium capability automatically determines which permissions your app requires and grant them to the app on install. Note: If the noReset capability is true, this capability doesn't work. Value = true/false