enable/disable data fix
scottdixon-zz opened this issue · 6 comments
scottdixon-zz commented
appium-android-driver is failing to set mobile data on API23.
adb -s emulator-5554 shell am start -n io.appium.settings/.Settings -e data off
adb -s emulator-5554 shell settings get global mobile_data // --> 1 (should be 0)
I've tested the following commands on API23 with success:
shell svc data enable
shell settings get global mobile_data // --> 1
shell svc data disable
shell settings get global mobile_data // --> 0
This will require testing against all supported API levels.
imurchie commented
Ugh. Thanks!
vrunoa commented
shell svc data enable
shell svc data disable
works on an emulatorx86 with API 19
scottdixon-zz commented
Good to know. Thanks @vrunoa
vrunoa commented
shell svc data enable
shell svc data disable
isn't working on a Moto E with Android 5.1 API 22
SrinivasanTarget commented
svc needs a root access on real devices.Fix is in here,
rkavalap commented
Issue moved to appium/appium #7399 via ZenHub