Auto allow permission use automation flutter gherkin
Hi, Comeback to my write.
I hope you are healthy today.
I want to tell about my experience in using auto allow permission. before, please install adb before.
https://www.xda-developers.com/install-adb-windows-macos-linux/
after you have installed adb then make sure before running your automation execute this command
adb shell pm grant com.my.app android.permission.ACCESS_FINE_LOCATION
adb shell pm grant com.my.app android.permission.ACCESS_COARSE_LOCATION
adb shell pm grant com.my.app android.permission.CAMERA
adb shell pm grant com.my.app android.permission.WRITE_EXTERNAL_STORAGE
only then will you be able to automate the running process. exmaple
dart testing/test_driver/app_test.dart