react-native-background-geolocation icon indicating copy to clipboard operation
react-native-background-geolocation copied to clipboard

iOS 17.5: High Accuracy and Speed Issues After Resuming BackgroundGeolocation

Open evan-proground opened this issue 1 year ago β€’ 6 comments

Your Environment

  • Plugin version: 4.14.5
  • Platform: iOS
  • OS version: 17.5
  • Device manufacturer / model: iPhone (iOS 17.5+)
  • React Native version (react-native -v): 0.72.10
  • Plugin config
BackgroundGeolocation.ready({
      desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
      distanceFilter: 10000000,
      stopTimeout: 15,
      isMoving: true,
      foregroundService: true,
      showsBackgroundLocationIndicator: true,
      stopOnTerminate: true,
      startOnBoot: false,
      disableStopDetection: true,
      pausesLocationUpdatesAutomatically: false,
      //  disableMotionActivityUpdates: true,
      // allowIdenticalLocations: true,
      notification: {
        title: 'SuperWalk',
        text: 'Detecting ...',
        smallIcon: 'ic_notification',
        color: '#FD3D00',
      },
      locationAuthorizationRequest: 'WhenInUse',
      backgroundPermissionRationale: {
        title: t('app_inner_c.background_permission_title'),
        message: t('app_inner_c.background_permission_message'),
        positiveAction: t('app_inner_c.background_permission_action'),
      },
      locationAuthorizationAlert: {
        titleWhenNotEnabled: t('app_inner_c.location_alert_title'),
        titleWhenOff: t('app_inner_c.location_alert_title'),
        instructions: t('app_inner_c.location_alert_message'),
        cancelButton: t('app_inner_c.location_alert_cancel'),
        settingsButton: t('app_inner_c.location_alert_settings'),
      },
      maxRecordsToPersist: 2,
      disableLocationAuthorizationAlert: true,
      debug: false,
      logLevel: BackgroundGeolocation.LOG_LEVEL_OFF,
});

Expected Behavior

When resuming from a paused state, the app should continue to receive accurate geolocation data.

Actual Behavior

When resuming from a paused state, the app receives geolocation data with accuracy values greater than 35 (indoors), and sometimes no GPS coordinated are received.

Steps to Reproduce

  1. Configure the app with the provided plugin config.
  2. Call BackgroundGeolocation.start.
  3. Call BackgroundGeolocation.getCurrentPosition every 2 seconds.
  4. Stop calling BackgroundGeolocation.getCurrentPosition for 5 seconds.
  5. Resume calling BackgroundGeolocation.getCurrentPosition every 2 seconds.
  6. Call BackgroundGeolocation.stop, then call BackgroundGeolocation.start again, and observe that the problem persists.
  7. Restart the app, call BackgroundGeolocation.start, and then call BackgroundGeolocation.getCurrentPosition to see the issue is resolved.

Context

I am using the BackgroundGeolocation.getCurrentPosition method to fetch geolocation data every 2 seconds. The values obtained from this method are used within the app. When the method is called after a 5-second pause, the logs show accuracy values around 40.4 and speed as -1. The logs and values are shown below. β€’ This issue occurs on iOS version 17.5 and above. β€’ The distanceFilter was set high to use BackgroundGeolocation.getCurrentPosition for obtaining the current location at specific times. β€’ Changing the distanceFilter to 1 resolves the issue. However, the reason for this behavior on iOS 17.5 is unclear.

Debug logs

Logs

2024-05-22 15:21:37.362 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 15:21:37.362 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 15:21:37.369 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-22 15:21:37.369 
πŸ“<+37.48029161,+126.95394468> +/- 14.28m (speed 0.10 mps / course 263.52) @ 2024. 5. 22. μ˜€ν›„ 3μ‹œ 21λΆ„ 37초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 15:21:37.369 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 15:21:37.369 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (368 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:37.370 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:21:37.370 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 14.3

2024-05-22 15:21:37.370 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:21:37.378 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 15:21:37.378 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: F0214337-04CE-4447-91D1-1E17BC6DEB77

2024-05-22 15:21:37.378 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:37.378 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:37.488 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | running/100 | isMoving: 1
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:39.341 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 15:21:39.341 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 15:21:39.349 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-22 15:21:39.349 
πŸ“<+37.48028810,+126.95394377> +/- 14.28m (speed 0.32 mps / course 263.52) @ 2024. 5. 22. μ˜€ν›„ 3μ‹œ 21λΆ„ 39초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 15:21:39.349 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 15:21:39.349 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (348 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:39.350 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:21:39.350 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 14.4

2024-05-22 15:21:39.350 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:21:39.357 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 15:21:39.357 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: 3B536A73-AFEB-4639-940D-972157FE2368

2024-05-22 15:21:39.357 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:39.357 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

---------------------------- pause point ---------------------------

2024-05-22 15:21:39.946 βœ…-[LocationDAO clear]_block_invoke Destroyed all locations

2024-05-22 15:21:40.025 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | running/100 | isMoving: 1
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

---------------------------- resume point ---------------------------

2024-05-22 15:21:53.448 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 15:21:53.448 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 15:21:53.455 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-22 15:21:53.455 
πŸ“<+37.48028548,+126.95397611> +/- 14.24m (speed 0.00 mps / course 263.52) @ 2024. 5. 22. μ˜€ν›„ 3μ‹œ 21λΆ„ 45초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 15:21:53.455 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 15:21:53.455 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (8454 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:53.456 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:21:53.456 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 14.3

2024-05-22 15:21:53.456 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:21:53.460 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 15:21:53.460 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: 70989B8F-6F44-4C35-BA30-6D64C9840263

2024-05-22 15:21:53.460 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:53.460 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:55.421 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 15:21:55.421 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 15:21:55.429 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-22 15:21:55.429 
πŸ“<+37.48034315,+126.95402690> +/- 40.39m (speed -1.00 mps / course -1.00) @ 2024. 5. 22. μ˜€ν›„ 3μ‹œ 21λΆ„ 53초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 15:21:55.429 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 15:21:55.429 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (1978 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:55.430 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:21:55.430 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 14.3

2024-05-22 15:21:55.430 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:21:55.437 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 15:21:55.437 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: 98DC056C-8571-4171-984A-2A311EF2ABA1

2024-05-22 15:21:55.437 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:55.437 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:57.450 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 15:21:57.450 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 15:21:57.458 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-22 15:21:57.458 
πŸ“<+37.48035043,+126.95403332> +/- 40.39m (speed -1.00 mps / course -1.00) @ 2024. 5. 22. μ˜€ν›„ 3μ‹œ 21λΆ„ 55초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 15:21:57.458 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 15:21:57.458 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (2034 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:57.458 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:21:57.458 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 14.3

2024-05-22 15:21:57.458 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:21:57.466 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 15:21:57.466 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: BC66D547-B9B1-4B92-A902-C7A0BFB9469C

2024-05-22 15:21:57.466 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:57.466 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:59.414 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 15:21:59.414 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 15:21:59.421 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-22 15:21:59.421 
πŸ“<+37.48035124,+126.95403402> +/- 40.39m (speed -1.00 mps / course -1.00) @ 2024. 5. 22. μ˜€ν›„ 3μ‹œ 21λΆ„ 57초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 15:21:59.421 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 15:21:59.421 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (1968 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:59.422 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:21:59.422 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 14.3

2024-05-22 15:21:59.422 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:21:59.430 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 15:21:59.430 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: C208100C-CEC7-4ACB-AF29-8BDB388CEFD7

2024-05-22 15:21:59.430 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:21:59.430 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:00.365 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | running/100 | isMoving: 1
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:01.451 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 15:22:01.452 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 15:22:01.460 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-22 15:22:01.460 
πŸ“<+37.48035043,+126.95403331> +/- 40.39m (speed -1.00 mps / course -1.00) @ 2024. 5. 22. μ˜€ν›„ 3μ‹œ 21λΆ„ 59초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 15:22:01.460 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 15:22:01.460 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (2043 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:01.461 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:01.461 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 14.3

2024-05-22 15:22:01.461 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:01.468 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 15:22:01.468 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: 4CF2F64A-1127-46F9-8B84-C14E571FFBD6

2024-05-22 15:22:01.468 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:01.468 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:03.443 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 15:22:03.443 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 15:22:03.451 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-22 15:22:03.451 
πŸ“<+37.48034960,+126.95403258> +/- 40.39m (speed -1.00 mps / course -1.00) @ 2024. 5. 22. μ˜€ν›„ 3μ‹œ 22λΆ„ 1초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 15:22:03.451 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 15:22:03.451 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (1996 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:03.451 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:03.451 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 14.2

2024-05-22 15:22:03.451 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:03.459 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 15:22:03.459 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: D64CF531-C8EE-4E98-ABB8-2209931D6B96

2024-05-22 15:22:03.459 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:03.459 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:05.412 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 15:22:05.412 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 15:22:05.419 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-22 15:22:05.419 
πŸ“<+37.48034902,+126.95403207> +/- 40.39m (speed -1.00 mps / course -1.00) @ 2024. 5. 22. μ˜€ν›„ 3μ‹œ 22λΆ„ 3초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 15:22:05.419 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 15:22:05.419 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (1973 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:05.419 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:05.419 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 40.4

2024-05-22 15:22:05.419 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:05.428 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 15:22:05.428 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: FCD939A9-D071-4E83-A892-FDA82085DFC0

2024-05-22 15:22:05.428 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:05.428 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:07.446 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 15:22:07.446 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 15:22:07.452 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-22 15:22:07.452 
πŸ“<+37.48034868,+126.95403177> +/- 40.39m (speed -1.00 mps / course -1.00) @ 2024. 5. 22. μ˜€ν›„ 3μ‹œ 22λΆ„ 5초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 15:22:07.452 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 15:22:07.452 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (2036 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:07.452 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:07.452 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 40.4

2024-05-22 15:22:07.452 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:07.461 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 15:22:07.461 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: 83C309F3-02E9-4814-A043-B47C5216F025

2024-05-22 15:22:07.461 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:07.461 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:09.448 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 15:22:09.449 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 15:22:09.455 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-22 15:22:09.455 
πŸ“<+37.48034848,+126.95403160> +/- 40.39m (speed -1.00 mps / course -1.00) @ 2024. 5. 22. μ˜€ν›„ 3μ‹œ 22λΆ„ 7초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 15:22:09.455 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 15:22:09.455 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (2006 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:09.455 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:09.455 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 40.4

2024-05-22 15:22:09.455 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:09.465 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 15:22:09.465 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: 320D16F6-C1DB-437C-A168-45747DB97D69

2024-05-22 15:22:09.465 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:09.465 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:11.445 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 15:22:11.445 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 15:22:11.452 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-22 15:22:11.452 
πŸ“<+37.48034834,+126.95403147> +/- 40.39m (speed -1.00 mps / course -1.00) @ 2024. 5. 22. μ˜€ν›„ 3μ‹œ 22λΆ„ 9초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 15:22:11.452 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 15:22:11.452 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (2001 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:11.453 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:11.453 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 40.4

2024-05-22 15:22:11.453 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:11.462 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 15:22:11.462 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: 395FDB38-D273-4854-9D31-3BF68ED83F53

2024-05-22 15:22:11.462 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:11.462 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:13.433 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 15:22:13.433 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 15:22:13.440 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-22 15:22:13.440 
πŸ“<+37.48034824,+126.95403139> +/- 40.39m (speed -1.00 mps / course -1.00) @ 2024. 5. 22. μ˜€ν›„ 3μ‹œ 22λΆ„ 11초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 15:22:13.440 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 15:22:13.440 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (1991 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 15:22:13.440 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:13.440 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 40.4

2024-05-22 15:22:13.440 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 15:22:13.449 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 15:22:13.449 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: 33D1F99A-C8EB-48E4-A790-68AE264D26F1

2024-05-22 15:22:13.449 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

evan-proground avatar May 22 '24 08:05 evan-proground

receives geolocation data with accuracy values greater than 35 (indoors), and sometimes no GPS

There is no GPS while indoors. GPS only works outdoors.

the plug-in has no control over the accuracy of returned data. Locations are fetched by the OS. .getCurrentPosition always uses highest possible accuracy.

christocracy avatar May 22 '24 13:05 christocracy

Hi, christocracy!

Could you please check log below?

At 14:24:37, getCurrentPosition was called. At 14:24:38, destroyLocation was called. After that, seems isMoving value was changed to 0 by createMotionTypeChangedHandler, but I don't know the cause. In what situations is createMotionTypeChangedHandler called?

024-05-22 14:24:35.264 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 14:24:37.249 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 14:24:37.250 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 14:24:37.254 ℹ️+[LocationAuthorization run:onCancel:] status: 4

2024-05-22 14:24:37.254 
πŸ“<+37.48040022,+126.95397994> +/- 14.24m (speed 0.12 mps / course 316.98) @ 2024. 5. 22. μ˜€ν›„ 2μ‹œ 24λΆ„ 37초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 14:24:37.254 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 14:24:37.254 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (252 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 14:24:37.255 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 14:24:37.255 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 14.2

2024-05-22 14:24:37.255 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-22 14:24:37.262 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-22 14:24:37.262 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: 7DD1806E-A7B4-472B-B896-DB315C63F24C

2024-05-22 14:24:37.262 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 14:24:37.262 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 14:24:38.837 βœ…-[LocationDAO clear]_block_invoke Destroyed all locations

2024-05-22 14:24:43.320 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-22 14:24:44.860 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-22 14:24:44.860 🎾-[LocationManager startUpdatingLocation] ON

2024-05-22 14:24:44.865 ℹ️+[LocationAuthorization run:onCancel:] status: 4

2024-05-22 14:24:44.866 
πŸ“<+37.48041704,+126.95398389> +/- 14.22m (speed 0.00 mps / course 324.98) @ 2024. 5. 22. μ˜€ν›„ 2μ‹œ 24λΆ„ 43초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-22 14:24:44.866 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-22 14:24:44.866 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (1863 ms old)

judeProground avatar May 23 '24 06:05 judeProground

createMotionTypeChangedHandler

Don’t worry about the name of this. When you see this, it’s the native motion api firing a motion-activity event.

With your app one the foreground, you can cause the motion api to fire events by shaking your device vigorously. Letting it sit stationary will cause the motion api to emit the still event.

christocracy avatar May 23 '24 21:05 christocracy

Thank you, christocracy!

I am experiencing another issue and need your help.

When getCurrentPosition is called and abnormal GPS data is received, the API continues to return abnormal GPS data until it is restarted. Here are the logs when the issue occurs (outdoors with GPS signal):

2024-05-24 12:19:01.309 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-24 12:19:01.309 🎾-[LocationManager startUpdatingLocation] ON

2024-05-24 12:19:01.316 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-24 12:19:01.316 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-24 12:19:01.316 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0

2024-05-24 12:19:01.320 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-24 12:19:01.320 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: 397B2AEC-CC0C-413F-A36F-630B6AF753BF

2024-05-24 12:19:03.315 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-24 12:19:03.315 🎾-[LocationManager startUpdatingLocation] ON

2024-05-24 12:19:03.322 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-24 12:19:03.322 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-24 12:19:03.323 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0

2024-05-24 12:19:03.330 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-24 12:19:03.330 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: 1FEC16D2-4B55-4957-A6B8-77ED7998535A

When the app is restarted and the issue is resolved, the logs look like this:

2024-05-24 12:20:27.251 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-24 12:20:27.251 🎾-[LocationManager startUpdatingLocation] ON

2024-05-24 12:20:27.267 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-24 12:20:27.267 
πŸ“<+37.47984933,+126.95488101> +/- 14.19m (speed 1.04 mps / course 122.68) @ 2024. 5. 24. μ˜€ν›„ 12μ‹œ 20λΆ„ 27초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-24 12:20:27.267 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-24 12:20:27.268 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (267 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-24 12:20:27.268 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-24 12:20:27.268 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 14.2

2024-05-24 12:20:27.268 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-24 12:20:27.279 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-24 12:20:27.279 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: 9812A2FF-D73B-4EF2-9973-24A8F848E138

2024-05-24 12:20:27.279 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-24 12:20:27.279 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-24 12:20:29.351 πŸ”΅-[TSLocationManager getCurrentPosition:] 

2024-05-24 12:20:29.352 🎾-[LocationManager startUpdatingLocation] ON

2024-05-24 12:20:29.370 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-05-24 12:20:29.370 
πŸ“<+37.47984013,+126.95488433> +/- 14.19m (speed 0.32 mps / course 139.54) @ 2024. 5. 24. μ˜€ν›„ 12μ‹œ 20λΆ„ 29초 λŒ€ν•œλ―Όκ΅­ ν‘œμ€€μ‹œ

2024-05-24 12:20:29.370 πŸ”΄-[LocationManager stopUpdatingLocation] OFF

2024-05-24 12:20:29.370 
╔═══════════════════════════════════════════════════════════
β•‘ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (369 ms old)
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-24 12:20:29.371 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-24 12:20:29.371 πŸ”΅-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 14.2

2024-05-24 12:20:29.371 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-05-24 12:20:29.382 ℹ️-[LocationDAO shrink:]_block_invoke maxRecordsToPersist: 2

2024-05-24 12:20:29.382 βœ…-[TSLocationManager persistLocation:]_block_invoke INSERT: 726ABC5A-6D6D-4134-B9A9-22376708752C

2024-05-24 12:20:29.382 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService flush:] 
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

2024-05-24 12:20:29.382 
╔═══════════════════════════════════════════════════════════
β•‘ -[TSHttpService finish:error:] Success: 0
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

Could you help me understand what might be causing this issue?

evan-proground avatar May 24 '24 05:05 evan-proground

Create for a simple hello-world app which reproduces your problem. Share it with me in a public repo.

christocracy avatar May 24 '24 11:05 christocracy

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jun 24 '24 01:06 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jul 08 '24 01:07 github-actions[bot]