Is there a way to block users from disabling mobile data at the OS level on Android devices? We’re trying to ensure continuous reporting from the device.
Prevent users from disabling mobile data on Android devicesSolved
Replies (3)
Hey @leo_scott , at the moment, Hexnode cannot force mobile data to remain enabled on Android devices. What Hexnode can do is force Wi-Fi to remain enabled, but mobile data itself can’t be enforced.
Understood. Our concern is mainly around GPS reporting.
We’ve already validated that:
-
Users can’t enable Airplane mode
-
Users can’t disable GPS
However, if users are still allowed to turn off mobile data, GPS stops reporting location. That breaks the restrictions we’ve already set up. Is there any workaround for this?
I see what you’re trying to achieve. Unfortunately, this is a platform limitation. The Android (Google) API does not provide the ability to force mobile data to stay enabled.
Hexnode can only allow or restrict access to mobile data—it cannot enforce it. As a workaround, you can configure policies to force Wi-Fi to always stay enabled, ensuring the device remains connected for reporting and management.