I tried the Geofence sample as it is on a API 27 Pixel simulator. Faking location sometimes triggers the notifications and sometimes it does not. Nice.
Even worse, I copied the code in an empty project, except for GeofenceErrorMessages, and I removed the notification part in GeofenceTransitionsJobIntentService (I just log when a transition event is received by the service).
I tried the Geofence sample as it is on a API 27 Pixel simulator. Faking location sometimes triggers the notifications and sometimes it does not. Nice.
Even worse, I copied the code in an empty project, except for
GeofenceErrorMessages
, and I removed the notification part inGeofenceTransitionsJobIntentService
(I just log when a transition event is received by the service).I added
to the manifest.
I added permission tag to the manifest. I tested that adding the geofences is successful.
Tested this "new" app on the same simulator, and it does not log any transition event, ever. Is there some other configuration I am missing?