Skip to content
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

Unable to track the location of the user all the time. #1380

Open
QL-Rishabh-Dev-Narayan opened this issue Nov 18, 2024 · 1 comment
Open

Comments

@QL-Rishabh-Dev-Narayan
Copy link

Your Environment

  • Plugin version: ^4.16.4

  • Platform: iOS, Android

  • OS version: Any

  • Device manufacturer / model: Any

  • Flutter info (flutter doctor): Doctor summary (to see all details, run flutter doctor -v):
    [✓] Flutter (Channel stable, 3.24.1, on macOS 14.5 23F79 darwin-arm64, locale en-IN)
    [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    [✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    [✓] Chrome - develop for the web
    [✓] Android Studio (version 2024.1)
    [✓] VS Code (version 1.95.1)
    [✓] Network resources

  • Plugin config:

bg.Config(
      locationAuthorizationRequest: 'Always',
      desiredAccuracy: bg.Config.DESIRED_ACCURACY_HIGH,
      stopOnTerminate: false,
      distanceFilter: 1,
      enableHeadless: true,
      autoSync: autoSync,
      url: ApiConst.baseUrl + ApiConst.updateLocation,
      authorization: bg.Authorization(accessToken: accessToken),
      headers: {"Accept": "application/json", "Authorization": accessToken},
      method: "PATCH",
      debug: false,
      logLevel: bg.Config.LOG_LEVEL_VERBOSE,
      backgroundPermissionRationale: PermissionRationale(
          title: S.of(navigatorKey.currentContext!).allow_access_background_location,
          message: S.of(navigatorKey.currentContext!).allow_access_background_location_description,
          positiveAction: S.of(navigatorKey.currentContext!).go_to_settings,
          negativeAction: S.of(navigatorKey.currentContext!).cancel),
    );

Expected Behavior

The plugin should able to track the location of the user all the time and provide it in the callback.

Actual Behavior

The plugin is providing the user's location 3-4 times after calling the BackgroundGeolocation.start() function after that it is not providing any callback in any case(Foreground, Background or Terminated).

Steps to Reproduce

  1. Setup the plugin and configuration.
  2. Call the BackgroundGeolocation.start() funtion.
  3. after 3-4 callback, plugin is not providing any callback.

Context

I am working on an app that tracks and displays the user's real-time location and movement, allowing them to share this information with their relatives for safety and coordination. The same code was working fine until a few days ago, but now we're experiencing unexpected behavior and having trouble fetching the location.

Debug logs

Logs
--------- beginning of main
11-18 17:54:55.500 25328 25328 I TSLocationManager: [c.t.l.u.LocationAuthorization withBackgroundPermission] 
11-18 17:54:55.500 25328 25328 I TSLocationManager:   🔵  LocationAuthorization: Requesting Background permission
11-18 17:54:55.827 25328 25328 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:54:55.827 25328 25328 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:54:55.827 25328 25328 I TSLocationManager: ║ getCurrentPosition LocationResult: 1 (259192ms old)
11-18 17:54:55.827 25328 25328 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:54:55.827 25328 25328 I TSLocationManager: ╟─ 📍  Location[fused 28.495272,77.403892 hAcc=112.443 et=+5h58m55s182ms alt=198.70001220703125 vAcc=56.3063 {Bundle[{battery_level=0.83, is_charging=false, odometer=0.0}]}], time: 1731932436632
11-18 17:54:55.827 25328 25328 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 112.443
11-18 17:54:55.850 25328 25328 I TSLocationManager: [c.t.l.u.LocationAuthorization withPermission] 
11-18 17:54:55.850 25328 25328 I TSLocationManager:   🔵  LocationAuthorization: Requesting permission
11-18 17:54:56.552 25328 25328 D TSLocationManager: [c.t.l.l.LifecycleManager onPause] ☯️  onPause
11-18 17:54:56.744 25328 25328 D TSLocationManager: [c.t.l.l.LifecycleManager onStop] ☯️  onStop
11-18 17:54:59.735 25328 25328 D TSLocationManager: [c.t.l.l.LifecycleManager onStart] ☯️  onStart
11-18 17:54:59.822 25328 26242 I TSLocationManager: - Enable: false → true, trackingMode: 1
11-18 17:54:59.833 25328 26242 I TSLocationManager: [c.t.l.g.TSGeofenceManager start] 
11-18 17:54:59.833 25328 26242 I TSLocationManager:   🎾  Start monitoring geofences
11-18 17:54:59.854 25328 26242 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges] 
11-18 17:54:59.854 25328 26242 D TSLocationManager:   🎾  Start monitoring connectivity changes
11-18 17:54:59.869 25328 26242 D TSLocationManager: [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges] 
11-18 17:54:59.869 25328 26242 D TSLocationManager:   🎾  Start monitoring powersave changes
11-18 17:54:59.887 25328 25328 D TSLocationManager: [c.t.l.s.ForegroundNotification createNotificationChannel] NotificationChannel{mId='com.app.adapt.adapt_flutter.devTSLocationManager', mName=TSLocationManager, mDescription=, mImportance=1, mBypassDnd=false, mLockscreenVisibility=-1, mSound=null, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=0, mFgServiceShown=false, mVibrationEnabled=false, mShowBadge=false, mDeleted=false, mDeletedTimeMs=-1, mGroup='null', mAudioAttributes=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedByOEM=false, mImportanceLockedDefaultApp=false, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false}
11-18 17:54:59.891 25328 26292 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 
11-18 17:54:59.891 25328 26292 I TSLocationManager:   🔴  Stop heartbeat
11-18 17:54:59.903 25328 26242 W TSLocationManager: [c.t.l.s.ActivityRecognitionService start] 
11-18 17:54:59.903 25328 26242 W TSLocationManager:   ⚠️  Cannot start motion-activity updates:  permission is denied
11-18 17:54:59.904 25328 26292 I TSLocationManager: [c.t.l.service.TrackingService changePace] 
11-18 17:54:59.904 25328 26292 I TSLocationManager:   🔵  setPace: false → false
11-18 17:54:59.908 25328 26242 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 
11-18 17:54:59.908 25328 26242 I TSLocationManager:   🔴  Stop heartbeat
11-18 17:54:59.908 25328 26292 I TSLocationManager: [c.t.l.p.TSProviderManager a] 
11-18 17:54:59.908 25328 26292 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:54:59.908 25328 26292 I TSLocationManager: ║ Location-provider change: true
11-18 17:54:59.908 25328 26292 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:54:59.908 25328 26292 I TSLocationManager: ╟─ GPS: true
11-18 17:54:59.908 25328 26292 I TSLocationManager: ╟─ Network: true
11-18 17:54:59.908 25328 26292 I TSLocationManager: ╟─ AP Mode: false
11-18 17:54:59.910 25328 26292 D TSLocationManager: [c.t.l.http.HttpService a] 
11-18 17:54:59.910 25328 26292 D TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:54:59.910 25328 26292 D TSLocationManager: ║ 📶  Connectivity change: connected? true
11-18 17:54:59.910 25328 26292 D TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:54:59.916 25328 26242 I TSLocationManager: [c.t.l.service.TrackingService changePace] 
11-18 17:54:59.916 25328 26242 I TSLocationManager:   🔵  setPace: false → false
11-18 17:54:59.920 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:54:59.920 25328 25328 D TSLocationManager:   🎾  start [LocationRequestService  startId: 1, eventCount: 1]
11-18 17:54:59.939 25328 26242 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 
11-18 17:54:59.939 25328 26242 I TSLocationManager:   🔵  [SingleLocationRequest start, action: 2, requestId: 1]
11-18 17:54:59.942 25328 26242 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:54:59.942 25328 26242 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 1, eventCount: 0, sticky: true]
11-18 17:54:59.947 25328 25328 W TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 
11-18 17:54:59.947 25328 25328 W TSLocationManager:   ℹ️  Failed to find SingleLocationRequest.  Request ignored.
11-18 17:54:59.954 25328 25328 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:54:59.954 25328 25328 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:54:59.954 25328 25328 I TSLocationManager: ║ providerchange LocationResult: 3 (263322ms old)
11-18 17:54:59.954 25328 25328 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:54:59.954 25328 25328 I TSLocationManager: ╟─ 📍  Location[fused 28.495272,77.403892 hAcc=112.443 et=+5h58m55s182ms alt=198.70001220703125 vAcc=56.3063 {Bundle[{}]}], time: 1731932436632
11-18 17:54:59.958 25328 25328 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 112.443
11-18 17:54:59.975 25328 25328 D TSLocationManager: [c.t.l.u.LocationAuthorization withPermission] 
11-18 17:54:59.975 25328 25328 D TSLocationManager:   ℹ️  LocationAuthorization: Permission granted
11-18 17:55:00.874 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService b] 
11-18 17:55:00.874 25328 25328 D TSLocationManager:   🎾  STOP [LocationRequestService startId: 2, eventCount: 1]
11-18 17:55:00.875 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:00.875 25328 25328 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 2, eventCount: 0, sticky: false]
11-18 17:55:00.877 25328 25328 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:55:00.877 25328 25328 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:00.877 25328 25328 I TSLocationManager: ║ motionchange LocationResult: 4 (264244ms old)
11-18 17:55:00.877 25328 25328 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:00.877 25328 25328 I TSLocationManager: ╟─ 📍  Location[fused 28.495272,77.403892 hAcc=112.443 et=+5h58m55s182ms alt=198.70001220703125 vAcc=56.3063 {Bundle[{}]}], time: 1731932436632
11-18 17:55:00.878 25328 25328 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 112.443
11-18 17:55:00.898 25328 25328 D TSLocationManager: [c.t.l.u.LocationAuthorization withPermission] 
11-18 17:55:00.898 25328 25328 D TSLocationManager:   ℹ️  LocationAuthorization: Permission granted
11-18 17:55:01.080 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:01.080 25328 25328 D TSLocationManager:   🎾  start [LocationRequestService  startId: 3, eventCount: 1]
11-18 17:55:01.081 25328 26242 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 
11-18 17:55:01.081 25328 26242 I TSLocationManager:   🔵  [SingleLocationRequest start, action: 3, requestId: 3]
11-18 17:55:01.083 25328 26242 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:01.083 25328 26242 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 3, eventCount: 0, sticky: true]
11-18 17:55:01.096 25328 25328 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity a] locationsettings
11-18 17:55:01.097 25328 25328 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
11-18 17:55:01.128 25328 25328 D TSLocationManager: [c.t.l.l.LifecycleManager onResume] ☯️  onResume
11-18 17:55:01.149 25328 25328 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity a] locationsettings
11-18 17:55:01.150 25328 25328 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
11-18 17:55:01.204 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:01.204 25328 25328 D TSLocationManager:   🎾  start [LocationRequestService  startId: 4, eventCount: 1]
11-18 17:55:01.205 25328 26242 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 
11-18 17:55:01.205 25328 26242 I TSLocationManager:   🔵  [SingleLocationRequest start, action: 1, requestId: 4]
11-18 17:55:01.207 25328 26242 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:01.207 25328 26242 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 4, eventCount: 0, sticky: true]
11-18 17:55:01.214 25328 25328 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity c] eventCount: 1
11-18 17:55:01.215 25328 25328 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity c] eventCount: 0
11-18 17:55:01.335 25328 25328 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity onDestroy] 
11-18 17:55:02.602 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:02.602 25328 25328 D TSLocationManager:   🎾  2:1 [LocationRequestService  startId: 5, eventCount: 1]
11-18 17:55:02.604 25328 26242 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:55:02.604 25328 26242 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:02.604 25328 26242 I TSLocationManager: ║ getCurrentPosition LocationResult: 1 (2436ms old)
11-18 17:55:02.604 25328 26242 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:02.604 25328 26242 I TSLocationManager: ╟─ 📍  Location[fused 28.495265,77.403886 hAcc=15.75 et=+6h3m18s718ms alt=198.70001220703125 vAcc=1.0 {Bundle[{}]}], time: 1731932700167
11-18 17:55:02.606 25328 26242 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 
11-18 17:55:02.606 25328 26242 I TSLocationManager:   🔵  Acquired current position
11-18 17:55:02.606 25328 26242 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 112.443
11-18 17:55:02.613 25328 26242 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:02.613 25328 26242 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 5, eventCount: 0, sticky: false]
11-18 17:55:02.621 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService b] 
11-18 17:55:02.621 25328 25328 D TSLocationManager:   🎾  STOP [LocationRequestService startId: 6, eventCount: 1]
11-18 17:55:02.621 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:02.621 25328 25328 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 6, eventCount: 0, sticky: false]
11-18 17:55:02.831 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService f] 
11-18 17:55:02.831 25328 25328 D TSLocationManager:   ⚙️︎  LocationRequestService.stopSelfResult(6): true
11-18 17:55:02.845 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 
11-18 17:55:02.845 25328 25328 D TSLocationManager:   🔴  LocationRequestService stopped
11-18 17:55:08.099 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:08.099 25328 25328 D TSLocationManager:   🎾  3:3 [LocationRequestService  startId: 1, eventCount: 1]
11-18 17:55:08.103 25328 26242 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:55:08.103 25328 26242 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:08.103 25328 26242 I TSLocationManager: ║ providerchange LocationResult: 3 (105ms old)
11-18 17:55:08.103 25328 26242 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:08.103 25328 26242 I TSLocationManager: ╟─ 📍  Location[fused 28.495253,77.403904 hAcc=57.376 et=+6h3m26s546ms alt=198.70001220703125 vAcc=1.0782878 vel=0.20129609 sAcc=3.7855647 bear=127.865974 bAcc=45.0 {Bundle[{}]}], time: 1731932707996
11-18 17:55:08.104 25328 26242 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 112.443
11-18 17:55:08.105 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:08.105 25328 25328 D TSLocationManager:   🎾  1:4 [LocationRequestService  startId: 2, eventCount: 2]
11-18 17:55:08.112 25328 26242 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:08.112 25328 26242 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 1, eventCount: 1, sticky: true]
11-18 17:55:08.113 25328 26293 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:55:08.113 25328 26293 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:08.113 25328 26293 I TSLocationManager: ║ motionchange LocationResult: 4 (115ms old)
11-18 17:55:08.113 25328 26293 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:08.113 25328 26293 I TSLocationManager: ╟─ 📍  Location[fused 28.495253,77.403904 hAcc=57.376 et=+6h3m26s546ms alt=198.70001220703125 vAcc=1.0782878 vel=0.20129609 sAcc=3.7855647 bear=127.865974 bAcc=45.0 {Bundle[{}]}], time: 1731932707996
11-18 17:55:08.114 25328 26293 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 84.9095
11-18 17:55:08.125 25328 26293 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:08.125 25328 26293 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 2, eventCount: 0, sticky: true]
11-18 17:55:09.067 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:09.067 25328 25328 D TSLocationManager:   🎾  3:3 [LocationRequestService  startId: 3, eventCount: 1]
11-18 17:55:09.068 25328 26293 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:55:09.068 25328 26293 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:09.068 25328 26293 I TSLocationManager: ║ providerchange LocationResult: 3 (71ms old)
11-18 17:55:09.068 25328 26293 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:09.068 25328 26293 I TSLocationManager: ╟─ 📍  Location[fused 28.495247,77.403913 hAcc=49.057 et=+6h3m27s546ms alt=198.70001220703125 vAcc=1.0882899 vel=0.53178304 sAcc=2.9100173 bear=126.70385 bAcc=45.0 {Bundle[{}]}], time: 1731932708996
11-18 17:55:09.069 25328 26293 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 
11-18 17:55:09.069 25328 26293 I TSLocationManager:   🔵  Acquired providerchange position
11-18 17:55:09.070 25328 26293 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 57.376
11-18 17:55:09.074 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:09.074 25328 25328 D TSLocationManager:   🎾  1:4 [LocationRequestService  startId: 4, eventCount: 2]
11-18 17:55:09.077 25328 26293 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:09.077 25328 26293 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 3, eventCount: 1, sticky: false]
11-18 17:55:09.077 25328 26242 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:55:09.077 25328 26242 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:09.077 25328 26242 I TSLocationManager: ║ motionchange LocationResult: 4 (80ms old)
11-18 17:55:09.077 25328 26242 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:09.077 25328 26242 I TSLocationManager: ╟─ 📍  Location[fused 28.495247,77.403913 hAcc=49.057 et=+6h3m27s546ms alt=198.70001220703125 vAcc=1.0882899 vel=0.53178304 sAcc=2.9100173 bear=126.70385 bAcc=45.0 {Bundle[{}]}], time: 1731932708996
11-18 17:55:09.078 25328 26242 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 
11-18 17:55:09.078 25328 26242 I TSLocationManager:   🔵  Acquired motionchange position, isMoving: false
11-18 17:55:09.079 25328 26242 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 57.376
11-18 17:55:09.079 25328 25328 D TSLocationManager: [c.t.l.l.TSLocationManager$c onLocation] 
11-18 17:55:09.079 25328 25328 D TSLocationManager:   ℹ️  Distance from last location: 165.03331
11-18 17:55:09.083 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService b] 
11-18 17:55:09.083 25328 25328 D TSLocationManager:   🎾  STOP [LocationRequestService startId: 5, eventCount: 2]
11-18 17:55:09.084 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:09.084 25328 25328 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 5, eventCount: 1, sticky: false]
11-18 17:55:09.085 25328 26293 I TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO persist] 
11-18 17:55:09.085 25328 26293 I TSLocationManager:   ✅  INSERT: 9d71ec71-1554-4442-8922-43f53e45bee6
11-18 17:55:09.085 25328 26242 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:09.085 25328 26242 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 4, eventCount: 0, sticky: false]
11-18 17:55:09.088 25328 25328 D TSLocationManager: [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 
11-18 17:55:09.088 25328 25328 D TSLocationManager:   🎾  Start monitoring stationary region (radius: 150.0m 28.4952466,77.4039131 hAcc=49.057)
11-18 17:55:09.096 25328 26469 I TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO persist] 
11-18 17:55:09.096 25328 26469 I TSLocationManager:   ✅  INSERT: 643edf78-b36b-4249-8fd9-b3314f89e13a
11-18 17:55:09.105 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService b] 
11-18 17:55:09.105 25328 25328 D TSLocationManager:   🎾  STOP [LocationRequestService startId: 6, eventCount: 1]
11-18 17:55:09.105 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:09.105 25328 25328 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 6, eventCount: 0, sticky: false]
11-18 17:55:09.116 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:09.116 25328 25328 D TSLocationManager:   🎾  motionchange [TrackingService  startId: 1, eventCount: 1]
11-18 17:55:09.117 25328 25328 I TSLocationManager: [c.t.l.service.TrackingService k] 
11-18 17:55:09.117 25328 25328 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:09.117 25328 25328 I TSLocationManager: ║ TrackingService motionchange: false
11-18 17:55:09.117 25328 25328 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:09.120 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:09.120 25328 25328 D TSLocationManager:   ⚙️︎   FINISH [TrackingService startId: 1, eventCount: 0, sticky: false]
11-18 17:55:09.308 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService f] 
11-18 17:55:09.308 25328 25328 D TSLocationManager:   ⚙️︎  LocationRequestService.stopSelfResult(6): true
11-18 17:55:09.309 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 
11-18 17:55:09.309 25328 25328 D TSLocationManager:   🔴  LocationRequestService stopped
11-18 17:55:09.323 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService f] 
11-18 17:55:09.323 25328 25328 D TSLocationManager:   ⚙️︎  TrackingService.stopSelfResult(1): true
11-18 17:55:09.323 25328 25328 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 
11-18 17:55:09.323 25328 25328 D TSLocationManager:   🔴  TrackingService stopped
11-18 17:55:15.439 25328 25328 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 
11-18 17:55:15.439 25328 25328 I TSLocationManager:   ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
11-18 17:55:18.309 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/location
11-18 17:55:18.310 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/motionchange
11-18 17:55:18.310 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/activitychange
11-18 17:55:18.310 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/geofenceschange
11-18 17:55:18.310 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/geofence
11-18 17:55:18.310 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/heartbeat
11-18 17:55:18.311 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/http
11-18 17:55:18.311 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/schedule
11-18 17:55:18.311 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/connectivitychange
11-18 17:55:18.313 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/enabledchange
11-18 17:55:18.314 26591 26637 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO prune] 
11-18 17:55:18.314 26591 26637 D TSLocationManager:   ℹ️  PRUNE -1 days
11-18 17:55:18.314 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/providerchange
11-18 17:55:18.314 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/powersavechange
11-18 17:55:18.315 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/notificationaction
11-18 17:55:18.315 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] com.transistorsoft/flutter_background_geolocation/events/authorization
11-18 17:55:18.316 26591 26636 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 
11-18 17:55:18.316 26591 26636 I TSLocationManager:   ✅  Google Play Services: connected (version code:12451000)
11-18 17:55:18.316 26591 26643 D TSLocationManager: [c.t.l.l.TSSQLiteAppender$c run] 
11-18 17:55:18.316 26591 26643 D TSLocationManager:   ℹ️  Cleared logs older than 72 hours
11-18 17:55:18.317 26591 26636 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 
11-18 17:55:18.317 26591 26636 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:18.317 26591 26636 I TSLocationManager: ║ TSLocationManager version: 3.6.3 (438)
11-18 17:55:18.317 26591 26636 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:18.317 26591 26636 I TSLocationManager: ╟─ Xiaomi Redmi Note 9 Pro Max @ 12 (flutter)
11-18 17:55:18.317 26591 26636 I TSLocationManager: {
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "activityRecognitionInterval": 10000,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "allowIdenticalLocations": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "authorization": {
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "strategy": "jwt",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "accessToken": "eyJhb<redacted>",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "refreshPayload": {},
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "refreshHeaders": {
11-18 17:55:18.317 26591 26636 I TSLocationManager:       "Authorization": "Bearer {accessToken}"
11-18 17:55:18.317 26591 26636 I TSLocationManager:     },
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "expires": -1
11-18 17:55:18.317 26591 26636 I TSLocationManager:   },
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "autoSync": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "autoSyncThreshold": 0,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "backgroundPermissionRationale": {
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "title": "Allow access to this device's location in the background?",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "message": "To ensure accurate tracking and updates, please allow location access at all times. This is necessary for the app to fetch your location even when closed or not in use and to display the locations to your community members, helping you stay connected wherever you are.",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "positiveAction": "Go to settings",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "negativeAction": "Cancel"
11-18 17:55:18.317 26591 26636 I TSLocationManager:   },
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "batchSync": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "configUrl": "",
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "crashDetector": {
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "enabled": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "accelerometerThresholdHigh": 20,
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "accelerometerThresholdLow": 4.5,
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "gyroscopeThresholdHigh": 20,
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "gyroscopeThresholdLow": 4.5
11-18 17:55:18.317 26591 26636 I TSLocationManager:   },
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "debug": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "deferTime": 0,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "desiredAccuracy": -1,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "desiredOdometerAccuracy": 100,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "disableAutoSyncOnCellular": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "disableElasticity": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "disableLocationAuthorizationAlert": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "disableMotionActivityUpdates": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "disableProviderChangeRecord": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "disableStopDetection": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "distanceFilter": 1,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "elasticityMultiplier": 1,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "enableHeadless": true,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "enableTimestampMeta": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "extras": {},
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "fastestLocationUpdateInterval": -1,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "foregroundService": true,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "geofenceInitialTriggerEntry": true,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "geofenceModeHighAccuracy": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "geofenceProximityRadius": 1000,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "geofenceTemplate": "",
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "headers": {
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "Authorization": "<Token>",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "Accept": "application\/json"
11-18 17:55:18.317 26591 26636 I TSLocationManager:   },
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "headlessJobService": "com.transistorsoft.flutter.backgroundgeolocation.HeadlessTask",
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "heartbeatInterval": -1,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "httpRootProperty": "location",
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "httpTimeout": 60000,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "isMoving": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "locationAuthorizationRequest": "WhenInUse",
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "locationTemplate": "",
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "locationTimeout": 60,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "locationUpdateInterval": 1000,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "locationsOrderDirection": "ASC",
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "logLevel": 5,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "logMaxDays": 3,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "maxBatchSize": -1,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "maxDaysToPersist": 1,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "maxMonitoredGeofences": 97,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "maxRecordsToPersist": -1,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "method": "PATCH",
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "minimumActivityRecognitionConfidence": 75,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "motionTriggerDelay": 0,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "notification": {
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "layout": "",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "title": "",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "text": "Location Service activated",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "color": "",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "channelName": "TSLocationManager",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "channelId": "",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "smallIcon": "",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "largeIcon": "",
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "priority": -1,
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "sticky": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "strings": {},
11-18 17:55:18.317 26591 26636 I TSLocationManager:     "actions": []
11-18 17:55:18.317 26591 26636 I TSLocationManager:   },
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "params": {},
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "persist": true,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "persistMode": 2,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "schedule": [],
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "scheduleUseAlarmManager": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "speedJumpFilter": 300,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "startOnBoot": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "stationaryRadius": 25,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "stopAfterElapsedMinutes": 0,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "stopOnStationary": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "stopOnTerminate": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "stopTimeout": 5,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking",
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "url": "<API URL>",
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "useSignificantChangesOnly": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "enabled": true,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "schedulerEnabled": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "trackingMode": 1,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "odometer": 0,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "isFirstBoot": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "didLaunchInBackground": false,
11-18 17:55:18.317 26591 26636 I TSLocationManager:   "didDeviceReboot": false
11-18 17:55:18.317 26591 26636 I TSLocationManager: }
11-18 17:55:18.318 26591 26636 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 
11-18 17:55:18.318 26591 26636 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:18.318 26591 26636 I TSLocationManager: ║ DEVICE SENSORS
11-18 17:55:18.318 26591 26636 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:18.318 26591 26636 I TSLocationManager: ╟─ ✅  ACCELEROMETER: {Sensor name="lsm6ds3c Accelerometer Non-wakeup", vendor="STMicro", version=140549, type=1, maxRange=78.4532, resolution=0.0023928226, power=0.15, minDelay=5000}
11-18 17:55:18.318 26591 26636 I TSLocationManager: ╟─ ✅  GYROSCOPE: {Sensor name="lsm6ds3c Gyroscope Non-wakeup", vendor="STMicro", version=140549, type=4, maxRange=34.905033, resolution=0.0012216945, power=0.555, minDelay=5000}
11-18 17:55:18.318 26591 26636 I TSLocationManager: ╟─ ✅  MAGNETOMETER: {Sensor name="ak0991x Magnetometer Non-wakeup", vendor="akm", version=146951, type=2, maxRange=4912.0503, resolution=0.15, power=1.1, minDelay=10000}
11-18 17:55:18.318 26591 26636 I TSLocationManager: ╟─ ✅  SIGNIFICANT_MOTION: {Sensor name="sns_smd  Wakeup", vendor="qualcomm", version=1, type=17, maxRange=1.0, resolution=1.0, power=0.025, minDelay=-1}
11-18 17:55:18.318 26591 26636 I TSLocationManager: ╚═════════════════════════════════════════════
11-18 17:55:18.318 26591 26636 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 
11-18 17:55:18.318 26591 26636 I TSLocationManager:   ⏰ Cancel OneShot: TERMINATE_EVENT
11-18 17:55:18.319 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 
11-18 17:55:18.319 26591 26636 D TSLocationManager:   ℹ️  Load last odometer location: Location[TSLocationManager 28.495265,77.403886 hAcc=15.75 et=0 {Bundle[{odometer=0.0}]}]
11-18 17:55:18.319 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 
11-18 17:55:18.319 26591 26636 D TSLocationManager:   🎾  Start monitoring connectivity changes
11-18 17:55:18.319 26591 26636 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 
11-18 17:55:18.319 26591 26636 I TSLocationManager:   🎾  Start monitoring location-provider changes
11-18 17:55:18.321 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 
11-18 17:55:18.321 26591 26636 D TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:18.321 26591 26636 D TSLocationManager: ║ 📶  Connectivity change: connected? true
11-18 17:55:18.321 26591 26636 D TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:18.321 26591 26636 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 
11-18 17:55:18.321 26591 26636 I TSLocationManager:   🎾  Start motion-activity updates
11-18 17:55:18.322 26591 26636 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 
11-18 17:55:18.322 26591 26636 D TSLocationManager:   🔴  Cleared callbacks
11-18 17:55:18.322 26591 26636 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 
11-18 17:55:18.322 26591 26636 I TSLocationManager:   🎾  Start monitoring geofences
11-18 17:55:18.360 26591 26591 D TSLocationManager: [c.t.l.l.LifecycleManager onCreate] ☯️  onCreate
11-18 17:55:18.360 26591 26591 D TSLocationManager: [c.t.l.l.LifecycleManager onStart] ☯️  onStart
11-18 17:55:18.361 26591 26591 D TSLocationManager: [c.t.l.l.LifecycleManager onResume] ☯️  onResume
11-18 17:55:18.421 26591 26591 D TSLocationManager: [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 
11-18 17:55:18.421 26591 26591 D TSLocationManager:   🎾  Start monitoring stationary region (radius: 150.0m 28.4952459,77.4039137 hAcc=41.77)
11-18 17:55:18.465 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:18.465 26591 26591 D TSLocationManager:   🎾  start [ActivityRecognitionService  startId: 1, eventCount: 1]
11-18 17:55:18.474 26591 26636 D TSLocationManager: [c.t.l.s.ActivityRecognitionService a] 
11-18 17:55:18.474 26591 26636 D TSLocationManager:   🚘 ️DetectedActivity [type=STILL, confidence=100]
11-18 17:55:18.478 26591 26636 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:18.478 26591 26636 D TSLocationManager:   ⚙️︎   FINISH [ActivityRecognitionService startId: 1, eventCount: 0, sticky: false]
11-18 17:55:18.685 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService f] 
11-18 17:55:18.685 26591 26591 D TSLocationManager:   ⚙️︎  ActivityRecognitionService.stopSelfResult(1): true
11-18 17:55:18.699 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 
11-18 17:55:18.699 26591 26591 D TSLocationManager:   🔴  ActivityRecognitionService stopped
11-18 17:55:18.911 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/location
11-18 17:55:18.911 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/motionchange
11-18 17:55:18.911 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/activitychange
11-18 17:55:18.912 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/geofenceschange
11-18 17:55:18.912 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/geofence
11-18 17:55:18.912 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/heartbeat
11-18 17:55:18.912 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/http
11-18 17:55:18.912 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/schedule
11-18 17:55:18.913 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/connectivitychange
11-18 17:55:18.913 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/enabledchange
11-18 17:55:18.913 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/providerchange
11-18 17:55:18.913 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/powersavechange
11-18 17:55:18.913 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/notificationaction
11-18 17:55:18.914 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler register] com.transistorsoft/flutter_background_geolocation/events/authorization
11-18 17:55:23.380 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler onListen] providerchange
11-18 17:55:24.751 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler onListen] location
11-18 17:55:24.751 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler onListen] motionchange
11-18 17:55:24.753 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler onListen] activitychange
11-18 17:55:24.753 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler onListen] connectivitychange
11-18 17:55:24.754 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler onListen] powersavechange
11-18 17:55:24.755 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler onListen] authorization
11-18 17:55:24.757 26591 26591 D TSLocationManager: [c.t.f.b.streams.StreamHandler onListen] http
11-18 17:55:24.774 26591 26591 D TSLocationManager: [c.t.l.adapter.TSConfig e] ℹ️   Persist config, dirty: [authorization, authorization.strategy, autoSync, backgroundPermissionRationale, backgroundPermissionRationale.title, backgroundPermissionRationale.message, backgroundPermissionRationale.positiveAction, backgroundPermissionRationale.negativeAction, desiredAccuracy, distanceFilter, enableHeadless, extras, headers, headlessJobService, locationAuthorizationRequest, logLevel, method, params, schedule, stopOnTerminate, url]
11-18 17:55:24.779 26591 26591 D TSLocationManager: [c.t.l.u.LocationAuthorization withBackgroundPermission] 
11-18 17:55:24.779 26591 26591 D TSLocationManager:   ℹ️  LocationAuthorization: Permission granted
11-18 17:55:24.784 26591 26637 I TSLocationManager: - Enable: true → true, trackingMode: 1
11-18 17:55:24.794 26591 26591 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:55:24.794 26591 26591 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:24.794 26591 26591 I TSLocationManager: ║ getCurrentPosition LocationResult: 1 (14797ms old)
11-18 17:55:24.794 26591 26591 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:24.794 26591 26591 I TSLocationManager: ╟─ 📍  Location[fused 28.495246,77.403914 hAcc=41.77 et=+6h3m28s546ms alt=198.70001220703125 vAcc=1.098284 vel=0.34369054 sAcc=2.0378911 bear=128.56085 bAcc=45.0 {Bundle[{}]}], time: 1731932709996
11-18 17:55:24.795 26591 26591 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 41.77
11-18 17:55:24.807 26591 26591 D TSLocationManager: [c.t.l.u.LocationAuthorization withPermission] 
11-18 17:55:24.807 26591 26591 D TSLocationManager:   ℹ️  LocationAuthorization: Permission granted
11-18 17:55:24.808 26591 26637 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges] 
11-18 17:55:24.808 26591 26637 D TSLocationManager:   🎾  Start monitoring connectivity changes
11-18 17:55:24.811 26591 26637 D TSLocationManager: [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges] 
11-18 17:55:24.811 26591 26637 D TSLocationManager:   🎾  Start monitoring powersave changes
11-18 17:55:24.815 26591 26637 I TSLocationManager: [c.t.l.s.ActivityRecognitionService start] 
11-18 17:55:24.815 26591 26637 I TSLocationManager:   🎾  Start motion-activity updates
11-18 17:55:24.823 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:24.823 26591 26591 D TSLocationManager:   🎾  start [LocationRequestService  startId: 1, eventCount: 1]
11-18 17:55:24.823 26591 26637 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 
11-18 17:55:24.823 26591 26637 I TSLocationManager:   🔴  Stop heartbeat
11-18 17:55:24.825 26591 26636 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 
11-18 17:55:24.825 26591 26636 I TSLocationManager:   🔵  [SingleLocationRequest start, action: 2, requestId: 1]
11-18 17:55:24.826 26591 26636 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:24.826 26591 26636 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 1, eventCount: 0, sticky: true]
11-18 17:55:24.843 26591 26591 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:55:24.843 26591 26591 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:24.843 26591 26591 I TSLocationManager: ║ motionchange LocationResult: 2 (14846ms old)
11-18 17:55:24.843 26591 26591 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:24.843 26591 26591 I TSLocationManager: ╟─ 📍  Location[fused 28.495246,77.403914 hAcc=41.77 et=+6h3m28s546ms alt=198.70001220703125 vAcc=1.098284 vel=0.34369054 sAcc=2.0378911 bear=128.56085 bAcc=45.0 {Bundle[{}]}], time: 1731932709996
11-18 17:55:24.844 26591 26591 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 
11-18 17:55:24.844 26591 26591 I TSLocationManager:   🔵  Acquired motionchange position, isMoving: false
11-18 17:55:24.845 26591 26591 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 41.77
11-18 17:55:24.853 26591 26591 D TSLocationManager: [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 
11-18 17:55:24.853 26591 26591 D TSLocationManager:   🎾  Start monitoring stationary region (radius: 150.0m 28.4952459,77.4039137 hAcc=41.77)
11-18 17:55:24.873 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:24.873 26591 26591 D TSLocationManager:   🎾  motionchange [TrackingService  startId: 1, eventCount: 1]
11-18 17:55:24.874 26591 26591 I TSLocationManager: [c.t.l.service.TrackingService k] 
11-18 17:55:24.874 26591 26591 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:24.874 26591 26591 I TSLocationManager: ║ TrackingService motionchange: false
11-18 17:55:24.874 26591 26591 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:24.877 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:24.877 26591 26591 D TSLocationManager:   ⚙️︎   FINISH [TrackingService startId: 1, eventCount: 0, sticky: false]
11-18 17:55:24.890 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService b] 
11-18 17:55:24.890 26591 26591 D TSLocationManager:   🎾  STOP [LocationRequestService startId: 2, eventCount: 1]
11-18 17:55:24.891 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:24.891 26591 26591 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 2, eventCount: 0, sticky: false]
11-18 17:55:24.909 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:24.909 26591 26591 D TSLocationManager:   🎾  start [ActivityRecognitionService  startId: 1, eventCount: 1]
11-18 17:55:24.910 26591 26637 D TSLocationManager: [c.t.l.s.ActivityRecognitionService a] 
11-18 17:55:24.910 26591 26637 D TSLocationManager:   🚘 ️DetectedActivity [type=STILL, confidence=100]
11-18 17:55:24.919 26591 26637 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:24.919 26591 26637 D TSLocationManager:   ⚙️︎   FINISH [ActivityRecognitionService startId: 1, eventCount: 0, sticky: false]
11-18 17:55:25.092 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService f] 
11-18 17:55:25.092 26591 26591 D TSLocationManager:   ⚙️︎  TrackingService.stopSelfResult(1): true
11-18 17:55:25.166 26591 26591 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity a] locationsettings
11-18 17:55:25.166 26591 26591 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
11-18 17:55:25.233 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 
11-18 17:55:25.233 26591 26591 D TSLocationManager:   🔴  TrackingService stopped
11-18 17:55:25.238 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService f] 
11-18 17:55:25.238 26591 26591 D TSLocationManager:   ⚙️︎  LocationRequestService.stopSelfResult(2): true
11-18 17:55:25.242 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService f] 
11-18 17:55:25.242 26591 26591 D TSLocationManager:   ⚙️︎  ActivityRecognitionService.stopSelfResult(1): true
11-18 17:55:25.244 26591 26591 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity c] eventCount: 0
11-18 17:55:25.285 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 
11-18 17:55:25.285 26591 26591 D TSLocationManager:   🔴  LocationRequestService stopped
11-18 17:55:25.287 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 
11-18 17:55:25.287 26591 26591 D TSLocationManager:   🔴  ActivityRecognitionService stopped
11-18 17:55:25.351 26591 26591 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity onDestroy] 
11-18 17:55:27.057 26591 26591 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:55:27.057 26591 26591 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:27.057 26591 26591 I TSLocationManager: ║ getCurrentPosition LocationResult: 3 (17060ms old)
11-18 17:55:27.057 26591 26591 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:27.057 26591 26591 I TSLocationManager: ╟─ 📍  Location[fused 28.495246,77.403914 hAcc=41.77 et=+6h3m28s546ms alt=198.70001220703125 vAcc=1.098284 vel=0.34369054 sAcc=2.0378911 bear=128.56085 bAcc=45.0 {Bundle[{}]}], time: 1731932709996
11-18 17:55:27.058 26591 26591 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 41.77
11-18 17:55:27.063 26591 26591 D TSLocationManager: [c.t.l.u.LocationAuthorization withPermission] 
11-18 17:55:27.063 26591 26591 D TSLocationManager:   ℹ️  LocationAuthorization: Permission granted
11-18 17:55:27.078 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:27.078 26591 26591 D TSLocationManager:   🎾  start [LocationRequestService  startId: 1, eventCount: 1]
11-18 17:55:27.080 26591 26637 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 
11-18 17:55:27.080 26591 26637 I TSLocationManager:   🔵  [SingleLocationRequest start, action: 2, requestId: 3]
11-18 17:55:27.082 26591 26637 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:27.082 26591 26637 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 1, eventCount: 0, sticky: true]
11-18 17:55:33.096 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:33.096 26591 26591 D TSLocationManager:   🎾  2:1 [LocationRequestService  startId: 2, eventCount: 1]
11-18 17:55:33.098 26591 26637 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:55:33.098 26591 26637 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:33.098 26591 26637 I TSLocationManager: ║ getCurrentPosition LocationResult: 1 (100ms old)
11-18 17:55:33.098 26591 26637 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:33.098 26591 26637 I TSLocationManager: ╟─ 📍  Location[fused 28.495247,77.403913 hAcc=59.996 et=+6h3m51s548ms alt=198.70001220703125 vAcc=1.3283029 vel=0.1367261 sAcc=1.5264337 bear=311.44385 bAcc=45.0 {Bundle[{}]}], time: 1731932732998
11-18 17:55:33.099 26591 26637 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 41.77
11-18 17:55:33.101 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:33.101 26591 26591 D TSLocationManager:   🎾  2:3 [LocationRequestService  startId: 3, eventCount: 2]
11-18 17:55:33.107 26591 26637 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:33.107 26591 26637 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 2, eventCount: 1, sticky: true]
11-18 17:55:33.109 26591 26636 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:55:33.109 26591 26636 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:33.109 26591 26636 I TSLocationManager: ║ getCurrentPosition LocationResult: 3 (110ms old)
11-18 17:55:33.109 26591 26636 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:33.109 26591 26636 I TSLocationManager: ╟─ 📍  Location[fused 28.495247,77.403913 hAcc=59.996 et=+6h3m51s548ms alt=198.70001220703125 vAcc=1.3283029 vel=0.1367261 sAcc=1.5264337 bear=311.44385 bAcc=45.0 {Bundle[{}]}], time: 1731932732998
11-18 17:55:33.110 26591 26636 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 41.77
11-18 17:55:33.117 26591 26636 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:33.117 26591 26636 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 3, eventCount: 0, sticky: true]
11-18 17:55:34.088 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:34.088 26591 26591 D TSLocationManager:   🎾  2:3 [LocationRequestService  startId: 4, eventCount: 1]
11-18 17:55:34.090 26591 26636 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:55:34.090 26591 26636 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:34.090 26591 26636 I TSLocationManager: ║ getCurrentPosition LocationResult: 3 (91ms old)
11-18 17:55:34.090 26591 26636 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:34.090 26591 26636 I TSLocationManager: ╟─ 📍  Location[fused 28.495247,77.403912 hAcc=51.44 et=+6h3m52s548ms alt=198.70001220703125 vAcc=1.338304 vel=0.10210405 sAcc=1.2869344 bear=301.296 bAcc=45.0 {Bundle[{}]}], time: 1731932733998
11-18 17:55:34.092 26591 26636 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 
11-18 17:55:34.092 26591 26636 I TSLocationManager:   🔵  Acquired current position
11-18 17:55:34.093 26591 26636 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 46.605
11-18 17:55:34.093 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:34.093 26591 26591 D TSLocationManager:   🎾  2:1 [LocationRequestService  startId: 5, eventCount: 2]
11-18 17:55:34.099 26591 26642 I TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO persist] 
11-18 17:55:34.099 26591 26642 I TSLocationManager:   ✅  INSERT: bcdda19a-9827-4253-a722-7e66a1923fd5
11-18 17:55:34.101 26591 26637 I TSLocationManager: [c.t.l.l.TSLocationManager a] 
11-18 17:55:34.101 26591 26637 I TSLocationManager: ╔═════════════════════════════════════════════
11-18 17:55:34.101 26591 26637 I TSLocationManager: ║ getCurrentPosition LocationResult: 1 (103ms old)
11-18 17:55:34.101 26591 26637 I TSLocationManager: ╠═════════════════════════════════════════════
11-18 17:55:34.101 26591 26637 I TSLocationManager: ╟─ 📍  Location[fused 28.495247,77.403912 hAcc=51.44 et=+6h3m52s548ms alt=198.70001220703125 vAcc=1.338304 vel=0.10210405 sAcc=1.2869344 bear=301.296 bAcc=45.0 {Bundle[{}]}], time: 1731932733998
11-18 17:55:34.102 26591 26637 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 
11-18 17:55:34.102 26591 26637 I TSLocationManager:   🔵  Acquired current position
11-18 17:55:34.103 26591 26637 D TSLocationManager: [c.t.l.l.TSLocationManager a] Median accuracy: 51.44
11-18 17:55:34.104 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService b] 
11-18 17:55:34.104 26591 26591 D TSLocationManager:   🎾  STOP [LocationRequestService startId: 6, eventCount: 3]
11-18 17:55:34.105 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:34.105 26591 26591 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 6, eventCount: 1, sticky: false]
11-18 17:55:34.105 26591 26636 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:34.105 26591 26636 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 4, eventCount: 2, sticky: false]
11-18 17:55:34.110 26591 26637 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:34.110 26591 26637 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 5, eventCount: 0, sticky: false]
11-18 17:55:34.115 26591 26636 I TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO persist] 
11-18 17:55:34.115 26591 26636 I TSLocationManager:   ✅  INSERT: 7ba59ded-7184-445d-9d47-c12227849121
11-18 17:55:34.124 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService b] 
11-18 17:55:34.124 26591 26591 D TSLocationManager:   🎾  STOP [LocationRequestService startId: 7, eventCount: 1]
11-18 17:55:34.125 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService a] 
11-18 17:55:34.125 26591 26591 D TSLocationManager:   ⚙️︎   FINISH [LocationRequestService startId: 7, eventCount: 0, sticky: false]
11-18 17:55:34.345 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService f] 
11-18 17:55:34.345 26591 26591 D TSLocationManager:   ⚙️︎  LocationRequestService.stopSelfResult(7): true
11-18 17:55:34.359 26591 26591 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 
11-18 17:55:34.359 26591 26591 D TSLocationManager:   🔴  LocationRequestService stopped

@christocracy
Copy link
Member

Read the Wiki "Philosophy of Operation". This plugin is expected to NOT record location while the device is sitting stationary at your desk.

 debug: false,

Until you learn how this plugin works, use debug: true, so you can hear what it's doing. See API docs Config.debug to learn what each sound-effect means.

You need to go outside and move at least 200 meters, when the plugin will automatically detect the device is moving and begin recording location according to your configured Config.distanceFilter.

11-18 17:55:24.853 26591 26591 D TSLocationManager:   🎾  Start monitoring stationary region (radius: 150.0m 28.4952459,77.4039137 hAcc=41.77)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants