-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enter/exit geofence is not detected in trackingMode Geofences only (iOS) #2113
Comments
The issue template is required, not optional: Your Environment
PASTE_YOUR_CODE_HERE Expected BehaviorActual BehaviorSteps to ReproduceContextDebug logsLogs
|
Your EnvironmentPlugin version: 4.16.0
Expected BehaviorPolygon geofence entry/exit is detected in the BGGeolocation demo app. Actual BehaviorPolygon geofence entry/exit is not detected in the BGGeolocation demo app. Steps to Reproduce
Debug logs2024-08-14 11:53:31.341 🔵-[TSLocationManager onHeartbeat] Heartbeat 2024-08-14 11:53:31.347 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 11:53:31.347 ℹ️-[TSDBLogger db_delete] maxAge: 604800 2024-08-14 11:53:31.365 ✅-[BackgroundTaskManager createBackgroundTask] 20 2024-08-14 11:53:31.366 🔵-[TSLocationManager getCurrentPosition:] 2024-08-14 11:53:31.366 🎾-[LocationManager startUpdatingLocation] ON 2024-08-14 11:53:31.454 🔵-[TSLocationManager onResume:] enabled? 1 2024-08-14 11:53:31.454 ℹ️-[LocationDAO purge:] 1 2024-08-14 11:53:31.461 2024-08-14 11:53:31.461 2024-08-14 11:53:31.462 2024-08-14 11:53:31.462 🔴-[LocationManager stopUpdatingLocation] OFF 2024-08-14 11:53:31.462 2024-08-14 11:53:31.462 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-08-14 11:53:31.463 2024-08-14 11:53:31.463 2024-08-14 11:53:31.466 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 11:53:31.480 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0 2024-08-14 11:53:31.480 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-08-14 11:53:31.480 2024-08-14 11:53:31.480 2024-08-14 11:53:31.488 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 6F548517-59D0-4695-BD5B-90294ECF46EC 2024-08-14 11:53:31.503 ℹ️+[LocationAuthorization run:onCancel:] status: 4 2024-08-14 11:53:31.503 2024-08-14 11:53:31.504 ✅-[BackgroundTaskManager createBackgroundTask] 21 2024-08-14 11:53:31.505 ✅-[TSHttpService schedulePost] LOCKED: 6F548517-59D0-4695-BD5B-90294ECF46EC 2024-08-14 11:53:31.511 ✅-[BackgroundTaskManager stopBackgroundTask:]_block_invoke 20 OF ( 2024-08-14 11:53:31.511 2024-08-14 11:53:31.511 2024-08-14 11:53:32.156 🔵-[HttpResponse handleResponse] Response: 200 2024-08-14 11:53:32.158 ✅-[TSHttpService post:]_block_invoke DESTROY: 6F548517-59D0-4695-BD5B-90294ECF46EC 2024-08-14 11:53:32.158 2024-08-14 11:53:32.158 ✅-[BackgroundTaskManager stopBackgroundTask:]_block_invoke 21 OF ( 2024-08-14 11:53:34.462 ✅-[BackgroundTaskManager createBackgroundTask] 24 2024-08-14 11:53:34.462 🔵-[TSLocationManager onSuspend:] enabled? 1) 2024-08-14 11:53:34.477 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 11:53:36.193 2024-08-14 11:53:37.144 2024-08-14 11:53:37.427 🔵-[LocationManager locationManager:didChangeAuthorizationStatus:] 3 2024-08-14 11:53:37.429 🔵-[BackgroundTaskManager locationManager:didChangeAuthorizationStatus:] 3 2024-08-14 11:53:37.429 🔵-[LocationManager locationManager:didChangeAuthorizationStatus:] 3 2024-08-14 11:53:37.429 🔵-[PolygonGeofencingService locationManager:didChangeAuthorizationStatus:] 3 2024-08-14 11:53:37.432 🔵-[LocationManager locationManager:didChangeAuthorizationStatus:] 3 2024-08-14 11:53:37.434 ℹ️-[TSConfig persist] 2024-08-14 11:53:37.437 🔵-[TSLocationManager locationManager:didChangeAuthorizationStatus:] status 3 2024-08-14 11:53:37.442 🔵-[TSLocationManager setPace:] 0 2024-08-14 11:53:37.451 🎾-[TSLocationManager startUpdatingLocation] Location-services: ON 2024-08-14 11:53:37.455 🎾-[TSLocationManager startUpdatingLocation] Location-services: ON 2024-08-14 11:53:37.489 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-08-14 11:53:37.491 2024-08-14 11:53:37.506 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-08-14 11:53:37.506 2024-08-14 11:53:37.506 2024-08-14 11:53:37.506 ℹ️-[TSLocationManager locationManager:didUpdateLocations:] Received stale motionchange location. Retrying... 2024-08-14 11:53:37.506 2024-08-14 11:53:37.506 2024-08-14 11:53:37.506 ✅-[TSLocationManager locationManager:didUpdateLocations:] Acquired motionchange position: <+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:37 Central European Summer Time 2024-08-14 11:53:37.507 🔵-[TSLocationManager startMonitoringStationaryRegion:radius:] Radius: 1000 2024-08-14 11:53:37.508 🔴-[TSLocationManager stopUpdatingLocation] 2024-08-14 11:53:37.508 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0 2024-08-14 11:53:37.508 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-08-14 11:53:37.510 2024-08-14 11:53:37.510 2024-08-14 11:53:37.522 2024-08-14 11:53:37.522 2024-08-14 11:53:37.522 ℹ️-[TSLocationManager locationManager:didUpdateLocations:] Δt since last: 0.0s 2024-08-14 11:53:37.522 2024-08-14 11:53:37.522 2024-08-14 11:53:37.522 ℹ️-[TSLocationManager locationManager:didUpdateLocations:] Δt since last: 0.0s 2024-08-14 11:53:39.344 🔵-[BackgroundTaskManager onResume:] Current preventSuspend tasks: 1 2024-08-14 11:53:39.344 🔵-[TSLocationManager onResume:] enabled? 1 2024-08-14 11:53:39.345 ℹ️-[LocationDAO purge:] 1 2024-08-14 11:53:39.348 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 11:53:39.349 2024-08-14 11:53:39.350 2024-08-14 11:53:41.285 2024-08-14 11:53:41.502 2024-08-14 11:53:41.503 ✅-[LocationManager onTimeout:] Returning best available location sample 2024-08-14 11:53:41.503 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-08-14 11:53:41.504 2024-08-14 11:53:41.504 2024-08-14 11:53:54.334 2024-08-14 11:53:55.923 2024-08-14 11:53:58.470 2024-08-14 11:54:01.975 2024-08-14 11:54:04.530 2024-08-14 11:54:05.158 2024-08-14 11:54:12.793 2024-08-14 11:54:15.341 2024-08-14 11:54:19.803 2024-08-14 11:54:22.662 2024-08-14 11:54:27.115 2024-08-14 11:54:32.525 2024-08-14 11:54:39.366 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 11:54:40.482 2024-08-14 11:54:44.941 2024-08-14 11:54:47.803 2024-08-14 11:54:50.836 ℹ️-[TSGeofence initWithIdentifier:radius:latitude:longitude:notifyOnEntry:notifyOnExit:notifyOnDwell:loiteringDelay:extras:vertices:] Calculated polygon containing-geofence: 50.082354, 14.430077, radius: 150.0 2024-08-14 11:54:50.847 ℹ️-[GeofenceDAO doInsert:geofence:] Polygon_A 2024-08-14 11:54:51.058 2024-08-14 11:54:51.058 2024-08-14 11:54:51.062 🎾-[TSGeofenceManager startMonitoringGeofence:] Polygon_A 2024-08-14 11:54:51.085 2024-08-14 11:54:51.085 🎾-[PolygonGeofencingService startMonitoring:] Polygon_A 2024-08-14 11:54:51.087 ℹ️-[PolygonGeofencingService persistMonitoredPolygons] { 2024-08-14 11:54:51.087 🎾-[PolygonGeofencingService startUpdatingLocation:] 2024-08-14 11:54:51.096 2024-08-14 11:54:51.096 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 11:54:52.039 2024-08-14 11:54:52.039 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 11:54:53.043 2024-08-14 11:54:53.043 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 11:54:53.043 🔴-[PolygonGeofencingService stopUpdatingLocation] 2024-08-14 11:54:59.262 2024-08-14 11:55:03.719 2024-08-14 11:55:06.263 2024-08-14 11:55:14.226 2024-08-14 11:55:20.278 2024-08-14 11:55:26.507 ℹ️-[TSGeofence initWithIdentifier:radius:latitude:longitude:notifyOnEntry:notifyOnExit:notifyOnDwell:loiteringDelay:extras:vertices:] Calculated polygon containing-geofence: 50.083071, 14.429028, radius: 150.0 2024-08-14 11:55:26.516 ℹ️-[GeofenceDAO doInsert:geofence:] Polygon_2 2024-08-14 11:55:26.726 2024-08-14 11:55:26.726 2024-08-14 11:55:26.728 🎾-[TSGeofenceManager startMonitoringGeofence:] Polygon_2 2024-08-14 11:55:26.954 2024-08-14 11:55:31.727 2024-08-14 11:55:35.869 2024-08-14 11:55:37.659 🔵-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 20 | Total tasks: 1 2024-08-14 11:55:37.659 🔵-[TSLocationManager onSuspend:] enabled? 1) 2024-08-14 11:55:37.670 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 11:55:37.778 2024-08-14 11:55:41.598 2024-08-14 11:55:44.782 2024-08-14 11:55:45.417 2024-08-14 11:55:47.743 🔵-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 20.123965) 2024-08-14 11:55:47.763 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-08-14 11:55:47.795 🎾-[TSGeofenceManager locationManager:didEnterRegion:] Polygon_2 2024-08-14 11:55:47.797 2024-08-14 11:55:47.797 🎾-[PolygonGeofencingService startMonitoring:] Polygon_2 2024-08-14 11:55:47.798 ℹ️-[PolygonGeofencingService persistMonitoredPolygons] { 2024-08-14 11:55:47.798 🎾-[PolygonGeofencingService startUpdatingLocation:] 2024-08-14 11:55:47.836 2024-08-14 11:55:47.836 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 11:55:47.836 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0% 2024-08-14 11:55:47.836 2024-08-14 11:55:47.836 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 11:55:47.836 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0% 2024-08-14 11:55:47.838 2024-08-14 11:55:47.838 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 11:55:47.838 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0% 2024-08-14 11:55:47.838 🔴-[PolygonGeofencingService stopUpdatingLocation] 2024-08-14 11:55:50.853 🔵-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 27 | Total tasks: 1 2024-08-14 11:55:52.535 🔵-[TSLocationManager onHeartbeat] Heartbeat 2024-08-14 11:55:52.538 ✅-[BackgroundTaskManager createBackgroundTask] 43 2024-08-14 11:55:52.539 🔵-[TSLocationManager getCurrentPosition:] 2024-08-14 11:55:52.539 🎾-[LocationManager startUpdatingLocation] ON 2024-08-14 11:55:52.566 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-08-14 11:55:52.567 2024-08-14 11:55:52.567 2024-08-14 11:55:52.568 🔵-[LocationManager locationManager:didUpdateLocations:] bgTime remaining: 25 2024-08-14 11:55:52.569 2024-08-14 11:55:52.569 🔴-[LocationManager stopUpdatingLocation] OFF 2024-08-14 11:55:52.569 2024-08-14 11:55:52.571 🔵-[LocationManager locationManager:didUpdateLocations:] bgTime remaining: 25 2024-08-14 11:55:52.571 2024-08-14 11:55:52.571 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 11:55:52.571 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0% 2024-08-14 11:55:52.574 2024-08-14 11:55:52.574 2024-08-14 11:55:52.577 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0 2024-08-14 11:55:52.577 2024-08-14 11:55:52.578 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 11:55:52.578 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0% 2024-08-14 11:55:52.578 2024-08-14 11:55:52.578 2024-08-14 11:55:52.604 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 1B27F49B-7ED1-4C6D-9907-BEFEFE7EE1E0 2024-08-14 11:55:52.604 2024-08-14 11:55:52.605 ✅-[BackgroundTaskManager createBackgroundTask] 44 2024-08-14 11:55:52.610 ✅-[TSHttpService schedulePost] LOCKED: 1B27F49B-7ED1-4C6D-9907-BEFEFE7EE1E0 2024-08-14 11:55:52.651 ✅-[BackgroundTaskManager stopBackgroundTask:]_block_invoke 43 OF ( 2024-08-14 11:55:53.054 🔵-[HttpResponse handleResponse] Response: 200 2024-08-14 11:55:53.065 ✅-[TSHttpService post:]_block_invoke DESTROY: 1B27F49B-7ED1-4C6D-9907-BEFEFE7EE1E0 2024-08-14 11:55:53.065 2024-08-14 11:55:53.065 ✅-[BackgroundTaskManager stopBackgroundTask:]_block_invoke 44 OF ( 2024-08-14 11:56:07.952 🔵-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 9.997566) 2024-08-14 11:56:07.977 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-08-14 11:56:11.002 🔵-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 6.946899) 2024-08-14 11:56:11.020 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-08-14 11:56:13.918 2024-08-14 11:56:13.918 ✅-[BackgroundTaskManager stopBackgroundTask:]_block_invoke 24 OF ( 2024-08-14 12:05:18.454 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 12:05:18.454 ℹ️-[TSDBLogger db_delete] maxAge: 604800 2024-08-14 12:05:18.487 🔵-[TSLocationManager onResume:] enabled? 1 2024-08-14 12:05:18.491 ℹ️-[LocationDAO purge:] 1 2024-08-14 12:05:18.493 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 12:05:18.496 2024-08-14 12:05:18.496 2024-08-14 12:05:25.928 2024-08-14 12:05:29.114 2024-08-14 12:05:29.750 2024-08-14 12:06:18.506 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 12:06:38.220 2024-08-14 12:06:41.401 2024-08-14 12:06:42.362 2024-08-14 12:06:44.585 2024-08-14 12:06:45.857 2024-08-14 12:06:47.128 2024-08-14 12:06:51.925 2024-08-14 12:07:10.051 🔴-[TSGeofenceManager locationManager:didExitRegion:] Polygon_2 2024-08-14 12:07:10.051 2024-08-14 12:07:10.051 🔴-[PolygonGeofencingService stopMonitoring:] Polygon_2 2024-08-14 12:07:10.052 ℹ️-[PolygonGeofencingService persistMonitoredPolygons] { 2024-08-14 12:07:12.656 2024-08-14 12:07:17.745 2024-08-14 12:07:18.522 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 12:07:19.339 2024-08-14 12:07:25.065 2024-08-14 12:07:28.054 🎾-[TSGeofenceManager locationManager:didEnterRegion:] Polygon_2 2024-08-14 12:07:28.054 2024-08-14 12:07:28.054 🎾-[PolygonGeofencingService startMonitoring:] Polygon_2 2024-08-14 12:07:28.055 ℹ️-[PolygonGeofencingService persistMonitoredPolygons] { 2024-08-14 12:07:28.055 🎾-[PolygonGeofencingService startUpdatingLocation:] 2024-08-14 12:07:28.068 2024-08-14 12:07:28.068 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 12:07:28.068 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0% 2024-08-14 12:07:29.042 2024-08-14 12:07:29.042 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 12:07:29.042 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0% 2024-08-14 12:07:30.044 2024-08-14 12:07:30.044 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 12:07:30.044 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0% 2024-08-14 12:07:30.044 🔴-[PolygonGeofencingService stopUpdatingLocation] 2024-08-14 12:07:30.477 2024-08-14 12:07:33.658 2024-08-14 12:07:34.301 2024-08-14 12:07:39.276 ℹ️-[TSDBLogger db_delete] maxAge: 604800 2024-08-14 12:07:49.786 ✅-[BackgroundTaskManager createBackgroundTask] 47 2024-08-14 12:07:49.786 🔵-[TSLocationManager onSuspend:] enabled? 1) 2024-08-14 12:07:49.798 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 12:07:49.944 2024-08-14 12:07:50.911 2024-08-14 12:07:52.987 🔵-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 27 | Total tasks: 1 2024-08-14 12:07:54.086 2024-08-14 12:08:10.091 🔵-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 9.910190) 2024-08-14 12:08:10.122 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-08-14 12:08:13.174 🔵-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 6.826696) 2024-08-14 12:08:13.195 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-08-14 12:08:15.094 2024-08-14 12:08:15.095 ✅-[BackgroundTaskManager stopBackgroundTask:]_block_invoke 47 OF ( 2024-08-14 12:11:04.232 🔵-[TSLocationManager onHeartbeat] Heartbeat 2024-08-14 12:11:04.236 ✅-[BackgroundTaskManager createBackgroundTask] 57 2024-08-14 12:11:04.237 🔵-[TSLocationManager getCurrentPosition:] 2024-08-14 12:11:04.237 🎾-[LocationManager startUpdatingLocation] ON 2024-08-14 12:11:04.239 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 12:11:04.271 🔵-[TSLocationManager onResume:] enabled? 1 2024-08-14 12:11:04.280 ℹ️-[LocationDAO purge:] 1 2024-08-14 12:11:04.282 2024-08-14 12:11:04.282 2024-08-14 12:11:04.283 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 12:11:04.287 2024-08-14 12:11:04.287 🔴-[LocationManager stopUpdatingLocation] OFF 2024-08-14 12:11:04.287 2024-08-14 12:11:04.288 2024-08-14 12:11:04.288 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 12:11:04.288 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0% 2024-08-14 12:11:04.289 2024-08-14 12:11:04.289 2024-08-14 12:11:04.308 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0 2024-08-14 12:11:04.308 2024-08-14 12:11:04.308 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 12:11:04.308 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0% 2024-08-14 12:11:04.308 2024-08-14 12:11:04.308 2024-08-14 12:11:04.311 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 18349860-8B40-4C2B-9EE3-94739A371F8E 2024-08-14 12:11:04.312 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-08-14 12:11:04.312 2024-08-14 12:11:04.313 ✅-[BackgroundTaskManager createBackgroundTask] 58 2024-08-14 12:11:04.315 ✅-[TSHttpService schedulePost] LOCKED: 18349860-8B40-4C2B-9EE3-94739A371F8E 2024-08-14 12:11:04.316 ✅-[BackgroundTaskManager stopBackgroundTask:]_block_invoke 57 OF ( 2024-08-14 12:11:04.316 2024-08-14 12:11:04.316 2024-08-14 12:11:04.763 🔵-[HttpResponse handleResponse] Response: 200 2024-08-14 12:11:04.772 ✅-[TSHttpService post:]_block_invoke DESTROY: 18349860-8B40-4C2B-9EE3-94739A371F8E 2024-08-14 12:11:04.772 2024-08-14 12:11:04.773 ✅-[BackgroundTaskManager stopBackgroundTask:]_block_invoke 58 OF ( 2024-08-14 12:11:08.717 2024-08-14 12:11:11.585 2024-08-14 12:11:14.310 2024-08-14 12:11:14.310 ✅-[LocationManager onTimeout:] Returning best available location sample 2024-08-14 12:11:14.310 2024-08-14 12:11:14.311 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0% 2024-08-14 12:11:14.311 ℹ️-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0% 2024-08-14 12:11:14.312 2024-08-14 12:11:14.312 2024-08-14 12:11:14.768 2024-08-14 12:11:16.677 2024-08-14 12:11:23.365 2024-08-14 12:11:32.910 2024-08-14 12:11:35.776 2024-08-14 12:11:40.111 ✅-[BackgroundTaskManager createBackgroundTask] 61 2024-08-14 12:11:40.111 🔵-[TSLocationManager onSuspend:] enabled? 1) 2024-08-14 12:11:40.123 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 12:11:43.340 🔵-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 26 | Total tasks: 1 2024-08-14 12:11:45.642 2024-08-14 12:11:48.830 2024-08-14 12:11:49.461 2024-08-14 12:12:00.412 🔵-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 9.915421) 2024-08-14 12:12:00.440 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-08-14 12:12:03.472 🔵-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 6.855358) 2024-08-14 12:12:03.491 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-08-14 12:12:06.220 2024-08-14 12:12:06.220 ✅-[BackgroundTaskManager stopBackgroundTask:]_block_invoke 61 OF ( 2024-08-14 12:14:50.299 ℹ️-[TSDBLogger db_delete] maxAge: 604800 2024-08-14 12:14:50.301 🔵-[TSHttpService init]_block_invoke Network: Cellular | Flags: WR -t----- 2024-08-14 12:14:50.315 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 12:14:50.338 🔵-[TSLocationManager onResume:] enabled? 1 2024-08-14 12:14:50.398 ℹ️-[LocationDAO purge:] 1 2024-08-14 12:14:50.400 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 12:14:50.403 2024-08-14 12:14:50.404 2024-08-14 12:14:50.404 2024-08-14 12:14:50.404 2024-08-14 12:14:50.404 2024-08-14 12:15:50.416 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 12:16:50.429 ℹ️-[TSDBLogger db_save] Log committed 2024-08-14 12:17:50.444 ℹ️-[TSDBLogger db_save] Log committed |
Hello @christocracy , did you have a chance to look into this please? We'd like to use geofencing-only ( |
Same issue for me. This is related to #2015 So here's why this happens, it will help @christocracy releasing an update if he wants to. startGeofences is not triggering showsBackgroundLocationIndicator even if set to true. A simple workaround is to use start instead of startGeofences have very large values for settings like distanceFilter to reduce battery usage. Ideally @christocracy will release an update to make this work. |
Thanks @sirusbaladi for the workaround suggestion. Could you please provide your point of view @christocracy ? I feel there're at least two options but it should be clear what is the final/accepted one:
|
@sirusbaladi is wrong. It has nothing to do with I'm testing this in the iOS simulator and I've found a minor logic bug related to polygon-geofencing and A solution will be released this week. |
Since in geofence-only mode, |
After solving the logic bug, an inexplicable issue was exposed with keeping location-services on in the background in geofences-only mode. I use multiple instances of Polygon geofence-monitoring in geofences-only mode is working. I will post to a branch in the private repo for you to test. |
@jakub-oone Try testing version |
@christocracy We did our first quick testing with this version 4.17.0-beta.3 and it looks good on iOS. It works as we expected :-) Thank you! |
Hello @christocracy , we just realized the issue occurs also on Android 14 when using "geofences only" tracking mode on background (even with |
Hello @christocracy , any update on the Android 14 issue, please? It's Pixel 7A phone if it makes any difference.. |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Hello,
I am using BGGeolocation demo app.
In Geofences only tracking mode on iOS - entering geofence won't even trigger in the foreground.
Please see attachments. There is no green arrow on map.
It is working on Android, but not on iOS. What I have noticed is that "IS MOVING" parameter is always false in that geofence only mode.
The configuration parameters are set to default values.
Please help me figure out what I'm missing that polygon geofence entry/exit was not detected in the BGGeolocation demo app?
We want to use geofence only mode in our SmartGuide app to save battery drain when app is on background.
Thank you.
Jakub
https://tracker.transistorsoft.com/SmartGuideSmartGuide
background-geolocation.log.gz
The text was updated successfully, but these errors were encountered: