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

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

a dhiyaul asikin
a dhiyaul asikin

No responses yet

Write a response