In part of my testing Iām checking if my app can handle returning from airplane mode to normal mode.
Looking for a process that enable/disable airplane mode on real Android device.
All I found is how to enable/disable WiFi and data on simulator here - Best way to turn airplane mode on and off with Calabash. Tried to run those commands on my real device (LG G3 ā Android 5.0) and nothing happened.
Looking on my services list on my device (adb shell service list
) but cannot find airplane.
I understand that changing to airplane mode is disabling the data/WiFi/Bluetooth/GPS
Is there a way to enable airplane mode on real device? Or even just the data/WiFi (enough for my testing)?