Skip to content

Skips in sending information when data transmission is set to 1 second periodΒ #74

@bluesrocker22

Description

@bluesrocker22

There is a difference in app logs within normal and error operations
Here is 2 parts of log with example:

Normal point in app log:

08-04 21:59:31.334 DEBUG [AbstractService a]
  🎾  start [TrackingService  startId: 369, eventCount: 1]
08-04 21:59:30.958 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 214
08-04 21:59:30.940 DEBUG [SQLiteLocationDAO destroy]
  βœ…  DESTROY: c55e215f-9884-4947-a9f1-2972edf0215b
08-04 21:59:30.938 INFO [HttpService$f onResponse]
  πŸ”΅  Response: 200
08-04 21:59:30.631 DEBUG [SQLiteLocationDAO first]
  βœ…  Locked 1 records
08-04 21:59:30.631 INFO [HttpService a]
  πŸ”΅  HTTP POST: c55e215f-9884-4947-a9f1-2972edf0215b
08-04 21:59:30.628 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 214
08-04 21:59:30.479 INFO [HttpService flush]
╔═════════════════════════════════════════════
β•‘ HTTP Service (count: 1)
╠═════════════════════════════════════════════

08-04 21:59:30.475 INFO [SQLiteLocationDAO persist]
  βœ…  INSERT: c55e215f-9884-4947-a9f1-2972edf0215b
08-04 21:59:30.467 DEBUG [AbstractService a]
  βš™οΈοΈŽ   FINISH [TrackingService startId: 368, eventCount: 0, sticky: true]
08-04 21:59:30.466 DEBUG [TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
β•‘ Process LocationResult
╠═════════════════════════════════════════════

08-04 21:59:30.466 DEBUG [TSLocationManager a] Median accuracy: 10.947
08-04 21:59:30.465 DEBUG [AbstractService a]
  🎾  start [TrackingService  startId: 368, eventCount: 1]
08-04 21:59:30.465 DEBUG [TrackingService c]
╔═════════════════════════════════════════════
β•‘ TrackingService: LocationResult
╠═════════════════════════════════════════════
β•Ÿβ”€ πŸ“  Location[fused -23.598408,-46.641969 hAcc=11.055 et=+4d4h27m42s90ms alt=801.0 vAcc=1.7188232 vel=0.013189743 sAcc=0.1029563]
β•Ÿβ”€ Age: 144ms, time: 1754355570321

Some error point without send any data:

08-04 21:59:32.039 DEBUG [LifecycleManager onResume] ☯️  onResume
08-04 21:59:32.035 DEBUG [LifecycleManager onStart] ☯️  onStart
08-04 21:59:31.350 DEBUG [SQLiteLocationDAO destroy]
  βœ…  DESTROY: 58638687-e28c-43a5-9adc-64741b5b5161
08-04 21:59:31.348 INFO [SQLiteLocationDAO persist]
  βœ…  INSERT: 58638687-e28c-43a5-9adc-64741b5b5161
08-04 21:59:31.343 DEBUG [TSLocationManager a] Median accuracy: 10.988
08-04 21:59:31.342 DEBUG [TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
β•‘ Process LocationResult
╠═════════════════════════════════════════════

08-04 21:59:31.339 DEBUG [AbstractService a]
  βš™οΈοΈŽ   FINISH [TrackingService startId: 369, eventCount: 0, sticky: true]
08-04 21:59:31.338 DEBUG [TrackingService c]
╔═════════════════════════════════════════════
β•‘ TrackingService: LocationResult
╠═════════════════════════════════════════════
β•Ÿβ”€ πŸ“  Location[fused -23.598408,-46.641969 hAcc=11.043 et=+4d4h27m43s62ms alt=801.0 vAcc=1.7285402 vel=0.010998793 sAcc=0.09433981]
β•Ÿβ”€ Age: 44ms, time: 1754355571294

As we see, sometimes nothing is happening within INSERT and DESTROY operations
Tested on Android app, and not sure about iOS, assume that too

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions