Google hat sich einfallen lassen, dass das Geofencing
ab Android 8 (Oreo) nur alle paar Minuten das Betreten/Verlassen meldet.
Sie dazu folgende Links:
-
https://developer.android.com/training/location/geofencing#java unter dem Absatz
Handle geofence transitions blauer Kasten und auf der Seite ganz unten
Alerts can be lateNote: On Android 8.0 (API level 26) and higher, if an app is running in the background while monitoring a geofence, then the device responds to geofencing events every couple of minutes. To learn how to adapt your app to these response limits, see Background Location Limits.
Alerts can be late. The geofence service doesn't continuously query for location, so expect some latency when receiving alerts. Usually the latency is less than 2 minutes, even less when the device has been moving. If Background Location Limits are in effect, the latency is about 2-3 minutes on average. If the device has been stationary for a significant period of time, the latency may increase (up to 6 minutes).
-
https://developer.android.com/about/versions/oreo/background-location-limits unter
GeofencingThe average responsiveness for a geofencing event is every couple of minutes or so.
Somit ist eigentlich die App ab Android 8 nicht mehr Echtzeit tauglich, wie vor Android 8. Das ist auch eines der Gründe warum ich die App nicht mehr weiter pflegen werde.