I'm attempting to add a geofence to an Android application. I noticed the following in the logs:
07-04 11:41:19.201 1945-2271/com.google.android.gms.persistent W/GeofencerStateMachine: Ignoring addGeofence because network location is disabled.
I also noticed that when I enable "High accuracy" mode in the system settings, it works (This is described as GPS, Wi-Fi, Bluetooth, or cellular networks). It was previously on "Device only" mode, which is GPS only.
Is this the expected functionality for geofences? Will they only work if the users have their device in "High accuracy" mode?
from Unable to add Geofence in Android because "network location is disabled"

No comments:
Post a Comment