Collect Location Data

R
Rafael
Dänisches Bettenlager GmbH & Co. KG

Hi all maybe you can help me with following issue:

We collect device location data and in feature control it's set to high accuracy but sometimes its not able to be located (isn't able to).

Then we start google maps on the device which asks 

"Activate location service for your device..."

After Saying "Ok" it's working fine.

Server: 15.2.1.1094

Android Enterprise Fully Managed

Is there a way of setting it via script?

Edited 5 years ago
Android
ANSWERS
S
Scott
5 years ago

We had a similar instances of annoying system dialogs popping up (in the foreground or not) and preventing mobicontrol from processing things when certain settings were changed (location being one).  The way I eventually got around it was to disable GMS apps:
com.android.cellbroadcastreceiver
com.android.vending
com.google.android.gms
com.google.android.gm

We are entirely on premise and have no reliance on those apps.  I expect most won't have that option.

R
Rafael
5 years ago

We don't have system dialogs popping up, i only want to be sure that location data is able to be send, so, i need the setting on all devices.

Is there something like writesecuresettings or so which can handle this?