Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Play Services location and geofencing APIs not working properly on Genymotion

I've got two problems using the latest version (1.3.1) of the Genymotion emulator, related to the Google Play Services location APIs. More specifically:

1) The LocationClient only works (i.e. sends location events when I use the Genymotion GPS menu) when I request location updates with the PRIORITY_HIGH_ACCURACY flag. The two other LocationRequest modes, PRIORITY_BALANCED_POWER_ACCURACY and PRIORITY_LOW_POWER don't work.

2) Geofencing, on the other hand, doesn't work at all. When I add geofences via LocationClient.addGeofences(), the LocationClient.OnAddGeofencesResultListener callback returns the GEOFENCE_NOT_AVAILABLE status code.

Is anyone else experiencing the same issues? And does anyone have a workaround? For now, I am only testing my app's location services using the PRIORITY_HIGH_ACCURACY flag and geofencing on a real device.

like image 554
eeVoskos Avatar asked Jan 27 '26 03:01

eeVoskos


1 Answers

I had the issue regarding geolocation a few days ago and contacted Genymotion about it. They said they do not currently support Geolocation features but may consider implementing them in the future.

I don't know the answer to your first question as I haven't had this problem.

like image 112
krishan711 Avatar answered Jan 29 '26 16:01

krishan711