Hello
I would like to understand some of the GEOFENCE assumptions in the following line:
Well, if I choose Location Mode on the device,
e.g., DEVICE ONLY (specify location only via GPS) | Success = FALSE!
e.g. BATTERY SAVING (determine location via Wi-Fi, Bluetooth or cellular networks) | Success = TRUE!
Only expressed consent for the selection of the location mode
eg, HIGH ACCURACY (determine location via GPS, Wi-Fi, Bluetooth, or cellular networks) | Success = TRUE!
So only these last two location modes cause on my tested device
adding GPS position (Latitude / Longitude) to the initialized list.
My question:
- why in location mode (device only) - determining location only via GPS,
the 'Wait For Geofence_Added' function always returns a FALSE result to me?
I suppose it is narrowed only by GOOGLE itself.
Greetings.
I would like to understand some of the GEOFENCE assumptions in the following line:
B4X:
Sub AddGeofence
rp.CheckAndRequest (rp.PERMISSION_ACCESS_FINE_LOCATION)
Wait For Activity_PermissionResult (Permission As String, Result As Boolean)
If Result Then
...
------> Wait For Geofence_Added (Success As Boolean) <------
...
End Sub
Well, if I choose Location Mode on the device,
e.g., DEVICE ONLY (specify location only via GPS) | Success = FALSE!
e.g. BATTERY SAVING (determine location via Wi-Fi, Bluetooth or cellular networks) | Success = TRUE!
Only expressed consent for the selection of the location mode
eg, HIGH ACCURACY (determine location via GPS, Wi-Fi, Bluetooth, or cellular networks) | Success = TRUE!
So only these last two location modes cause on my tested device
adding GPS position (Latitude / Longitude) to the initialized list.
My question:
- why in location mode (device only) - determining location only via GPS,
the 'Wait For Geofence_Added' function always returns a FALSE result to me?
I suppose it is narrowed only by GOOGLE itself.
Greetings.