transistorsoft / flutter_background_geolocation

Sophisticated, battery-conscious background-geolocation & geofencing with motion-detection
https://www.transistorsoft.com/shop/products/flutter-background-geolocation
Other
649 stars 241 forks source link

Unhandled Exception: MissingPluginException at headless Task #200

Closed J-DreaMy closed 4 years ago

J-DreaMy commented 4 years ago

Your Environment

void main() async { runApp(MyApp()); bg.BackgroundGeolocation.registerHeadlessTask(headlessTask); }

static void onTriggerQuickAction(bg.GeofenceEvent event) async { String message = "Quick Action \"${event.extras['name']}\" Has Been Trigger Succesfully"; print('Debug.Geolocation : $message'); final api = Api(); api.executeQuickAction(event.identifier); // FirebaseMessaging _firebaseMessaging = FirebaseMessaging(); // error here // String fcmToken = await _firebaseMessaging.getToken(); SharedPreferences prefs = await SharedPreferences.getInstance(); // error here String fcmToken = prefs.getString("fcmToken"); NotificationService.sendMessageTo(title: "Bliving", body: message, fcmToken: fcmToken); }


## Expected Behavior
<!--- Tell us what should happen -->
Notifications should appear normally, even when app is in background

## Actual Behavior
<!--- Tell us what happens instead -->
Encountered MissingPluginException Error

## Steps to Reproduce
<!--- reproduce this issue; include code to reproduce, if relevant -->
1.  Change location
2. 
3.
4.

## Context
<!--- What were you trying to do? -->
1. I've tried it according this link https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
2. Tried using 3 different plugins, concluded that no plugin can be implemented inside the headless tasks

## Debug logs
<!-- include iOS / Android logs
- ios XCode logs,
- use #getLog #emailLog methods (@see docs)
- Android: $ adb logcat -s TSLocationManager
-->
<details>
    <summary>Logs</summary>
``` <!-- syntax-highligting:  DO NOT REMOVE -->
Launching lib\main.dart on Android SDK built for x86 in debug mode...
√ Built build\app\outputs\apk\debug\app-debug.apk.
D/FlutterActivity(14891): Using the launch theme as normal theme.
D/FlutterActivityAndFragmentDelegate(14891): Setting up FlutterEngine.
D/FlutterActivityAndFragmentDelegate(14891): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
W/FlutterEngine(14891): Tried to automatically register plugins with FlutterEngine (io.flutter.embedding.engine.FlutterEngine@9dc8273) but could not find and invoke the GeneratedPluginRegistrant.
D/FlutterActivityAndFragmentDelegate(14891): Attaching FlutterEngine to the Activity that owns this Fragment.
D/FlutterView(14891): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@9dc8273
D/FlutterActivityAndFragmentDelegate(14891): Executing Dart entrypoint: main, and sending initial route: /
D/EGL_emulation(14891): eglMakeCurrent: 0xebdb4ca0: ver 3 0 (tinfo 0xca273510)
D/eglCodecCommon(14891): setVertexArrayObject: set vao to 0 (0) 1 0
I/Choreographer(14891): Skipped 42 frames!  The application may be doing too much work on its main thread.
D/EGL_emulation(14891): eglMakeCurrent: 0xe1c1a6c0: ver 3 0 (tinfo 0xe1c0f6d0)
D/eglCodecCommon(14891): setVertexArrayObject: set vao to 0 (0) 1 0
I/flutter (14891): data signed user ??: Ricky Andrean , false
I/flutter (14891): Debug.Socket: Run Model.OnReady in Home
D/TSLocationManager(14891): [c.t.l.adapter.TSConfig c] ℹ️   Persist config, dirty: [debug, desiredAccuracy, enableHeadless, forceReloadOnGeofence, geofenceInitialTriggerEntry, geofenceModeHighAccuracy, headlessJobService, isMoving, logLevel, startOnBoot, stationaryRadius, stopOnTerminate]
D/TSLocationManager(14891): [c.t.locationmanager.util.b a]
D/TSLocationManager(14891):   ℹ️  LocationAuthorization: Permission granted
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation ready] LocationPermission :true
I/TSLocationManager(14891): - Enable: true → true, trackingMode: 1
I/TSLocationManager(14891): [c.t.l.s.ActivityRecognitionService a]
I/TSLocationManager(14891):   🎾  Start motion-activity updates
W/ActivityThread(14891): handleWindowVisibility: no activity for token android.os.BinderProxy@d3b4244
I/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager start]
I/TSLocationManager(14891):   🎾  Start monitoring geofences
D/TSLocationManager(14891): [c.t.l.http.HttpService startMonitoringConnectivityChanges]
D/TSLocationManager(14891):   🎾  Start monitoring connectivity changes
D/TSLocationManager(14891): [c.t.locationmanager.device.a c]
D/TSLocationManager(14891):   🎾  Start monitoring powersave changes
D/TSLocationManager(14891): [c.t.locationmanager.util.b b]
D/TSLocationManager(14891):   ℹ️  LocationAuthorization: Permission granted
D/TSLocationManager(14891): [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -2
W/gitalid.blivin(14891): Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
W/gitalid.blivin(14891): Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
I/flutter (14891): Debug.Geolocation: Initialize Background Geolocation
I/TSLocationManager(14891): [c.t.l.s.TSScheduleManager oneShot]
I/TSLocationManager(14891):   ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
I/TSLocationManager(14891): [c.t.l.s.LocationRequestService a]
I/TSLocationManager(14891): ╔═════════════════════════════════════════════
I/TSLocationManager(14891): ║ getCurrentPosition LocationResult: 1
I/TSLocationManager(14891): ╠═════════════════════════════════════════════
I/TSLocationManager(14891): ╟─ 📍  Location[fused -0.040300,109.347232 hAcc=20 et=+14h42m27s730ms alt=0.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 60ms, time: 1582874200000
I/TSLocationManager(14891): [c.t.l.s.LocationRequestService b]
I/TSLocationManager(14891):   ℹ️  Location availability: true
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager$3 run]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TSGeofenceManager found 4/4 within 1000 meters
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 🎾  5e5494b74c185d64df80e640
D/TSLocationManager(14891): ╟─ 🎾  5e57743295e02d0e81ca96c3
D/TSLocationManager(14891): ╟─ 🎾  5e57822e95e02d0e81ca96f6
D/TSLocationManager(14891): ╟─ 🎾  5e576a1b95e02d0e81ca963a
D/TSLocationManager(14891): ╚═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.s.LocationRequestService onDestroy]
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager onSingleLocationResult]
I/TSLocationManager(14891):   🔵  Acquired current position
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 20.0
D/TSLocationManager(14891): [c.t.l.s.LocationRequestService a] SingleLocationRequest 1 isFinished? true
I/TSLocationManager(14891): [c.t.l.data.sqlite.GeofenceDAO destroy]
I/TSLocationManager(14891):   ✅  5e57743295e02d0e81ca96c3
I/TSLocationManager(14891): [c.t.l.s.ActivityRecognitionService a]
I/TSLocationManager(14891):   🎾  Start motion-activity updates
I/TSLocationManager(14891): [c.t.l.data.sqlite.GeofenceDAO create]
I/TSLocationManager(14891):   ✅  5e57743295e02d0e81ca96c3
I/flutter (14891): Debug.Socket : Calling first connect in Home
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager requestLocationUpdates]
I/TSLocationManager(14891):   🎾  Location-services: ON
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager requestLocationUpdates]
I/TSLocationManager(14891):   🎾  Location-services: ON
I/flutter (14891): Debug.Socket : null
D/TSLocationManager(14891): [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -2
I/flutter (14891): Debug.AC : {"acProtocol":"ELECTRA_AC","powerState":1,"temperature":23,"swingState":1,"fanSpeed":2,"turboMode":0,"acMode":1}
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager c] ℹ️  Persist monitored geofences: [5e5494b74c185d64df80e640, 5e57822e95e02d0e81ca96f6, 5e576a1b95e02d0e81ca963a]
I/flutter (14891): Debug.AC : null
D/Adhara:Socket(14891): Connecting to... http://blivingsystem.com:3001
I/TSLocationManager(14891): [c.t.l.data.sqlite.GeofenceDAO destroy]
I/TSLocationManager(14891):   ✅  5e57822e95e02d0e81ca96f6
I/TSLocationManager(14891): [c.t.l.data.sqlite.GeofenceDAO create]
I/TSLocationManager(14891):   ✅  5e57822e95e02d0e81ca96f6
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager c] ℹ️  Persist monitored geofences: [5e5494b74c185d64df80e640, 5e576a1b95e02d0e81ca963a]
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: false | elapsed: 0
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TrackingService: LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 📍  Location[fused -0.040300,109.347232 hAcc=20 et=+14h42m27s730ms alt=0.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 305ms, time: 1582874200000
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ Process LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891):   ℹ️  IGNORED: same as last location
I/flutter (14891): Debug.Firebase: initializing firebase...
I/TSLocationManager(14891): [c.t.l.service.TrackingService b]
I/TSLocationManager(14891):   ℹ️  Location availability: true
D/TSLocationManager(14891): [c.t.l.s.ActivityRecognitionService a]
D/TSLocationManager(14891):   🚘 ️DetectedActivity [type=STILL, confidence=100]
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager$b run] evaluation buffer timer elapsed
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager$3$1 a] ℹ️  GeofencingClient addGeofences
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager c] ℹ️  Persist monitored geofences: [5e5494b74c185d64df80e640, 5e576a1b95e02d0e81ca963a, 5e57743295e02d0e81ca96c3, 5e57822e95e02d0e81ca96f6]
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager$3$1 a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TSGeofenceManager found 4/4 within 1000 meters
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 🎾  5e5494b74c185d64df80e640
D/TSLocationManager(14891): ╟─ 🎾  5e576a1b95e02d0e81ca963a
D/TSLocationManager(14891): ╟─ 🎾  5e57743295e02d0e81ca96c3
D/TSLocationManager(14891): ╟─ 🎾  5e57822e95e02d0e81ca96f6
D/TSLocationManager(14891): ╚═════════════════════════════════════════════
I/flutter (14891): Debug.Weather: Start init weather
V/MediaPlayer(14891): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(14891): cleanDrmObj: mDrmObj=null mDrmSessionId=null
D/Adhara:Socket(14891): registering::reconnect
D/Adhara:Socket(14891): registering::connect
D/Adhara:Socket(14891): registering::authenticated
D/Adhara:Socket(14891): registering::unauthorized
D/Adhara:Socket(14891): registering::feedbackTriggerDevice
D/Adhara:Socket(14891): registering::feedbackCheckAppliances
D/Adhara:Socket(14891): registering::statusBliving
D/Adhara:Socket(14891): registering::connect_error
D/Adhara:Socket(14891): registering::connect_timeout
D/Adhara:Socket(14891): registering::disconnect
D/Adhara:Socket(14891): Connecting....
I/flutter (14891): Debug.Geolocation: 4 Geofence success register
I/flutter (14891): [[Geofence identifier: 5e5494b74c185d64df80e640, radius: 200.0, -0.0427759 / 109.3452976, notifyOnEntry:false, notifyOnExit:true, notifyOnDwell: false], [Geofence identifier: 5e576a1b95e02d0e81ca963a, radius: 200.0, -0.0427759 / 109.3452976, notifyOnEntry:true, notifyOnExit:false, notifyOnDwell: false], [Geofence identifier: 5e57822e95e02d0e81ca96f6, radius: 200.0, -0.0427759 / 109.3452976, notifyOnEntry:true, notifyOnExit:false, notifyOnDwell: false], [Geofence identifier: 5e57743295e02d0e81ca96c3, radius: 240.0, -0.0427759 / 109.3452976, notifyOnEntry:false, notifyOnExit:true, notifyOnDwell: false]]
I/flutter (14891): Debug.Firebase token : ciiK36WA_Vg:APA91bGI29R1iLt_4nBFc46st2oQwoCBkDE0PfvV58OVpDDD90izqfAnAkYzQqzkqMcot8L3Ti-qExE6ljitNM-LgZL8GZK3_ehB-MlsUaUKnAFwqqUkpdqXHienVGm1qJoLhh5jsi5J
I/flutter (14891): Debug.Firebase topic : 5e1561e815c11b64ee60c253
D/Adhara:Socket(14891): Socket triggered::connect
I/flutter (14891): Debug.Socket: Socket is connected.
D/Adhara:Socket(14891): emitting:::[{token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1ZTE1NjFlODE1YzExYjY0ZWU2MGMyNTMiLCJuYW1lIjoiUmlja3kgQW5kcmVhbiIsImlzcyI6Im1vYmlsZSIsInZlcnNpb24iOjEsImlhdCI6MTU4Mjc3NDAzNywiZXhwIjoxNTgzMzc4ODM3fQ.wIlDTzhBZNZQPb1e7JetS_I1ygqWfNnpLso1IWMTFCc}]:::to:::authenticate
I/System.out(14891): {token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1ZTE1NjFlODE1YzExYjY0ZWU2MGMyNTMiLCJuYW1lIjoiUmlja3kgQW5kcmVhbiIsImlzcyI6Im1vYmlsZSIsInZlcnNpb24iOjEsImlhdCI6MTU4Mjc3NDAzNywiZXhwIjoxNTgzMzc4ODM3fQ.wIlDTzhBZNZQPb1e7JetS_I1ygqWfNnpLso1IWMTFCc}
I/System.out(14891): class java.util.HashMap
D/Adhara:Socket(14891): Socket triggered::authenticated
I/flutter (14891): Debug.Socket: Socket is authenticated.
D/Adhara:Socket(14891): emitting:::[{idUser=5e1561e815c11b64ee60c253, idRoom=[5e15651815c11b64ee60c2a1, 5e16dd9512996216852ad8b8, 5e33de6e01b4442eb62342f5, 5e46449b4aa1642991dd97fc, 5e464baa4aa1642991dd9aac, 5e46c7cfe4f52962beb21918], idHouse=5e15651815c11b64ee60c29f}]:::to:::initializeMobile
I/System.out(14891): {idUser=5e1561e815c11b64ee60c253, idRoom=[5e15651815c11b64ee60c2a1, 5e16dd9512996216852ad8b8, 5e33de6e01b4442eb62342f5, 5e46449b4aa1642991dd97fc, 5e464baa4aa1642991dd9aac, 5e46c7cfe4f52962beb21918], idHouse=5e15651815c11b64ee60c29f}
I/System.out(14891): class java.util.HashMap
D/Adhara:Socket(14891): Socket triggered::statusBliving
I/chatty  (14891): uid=10138(com.gdigitalid.bliving) identical 5 lines
D/Adhara:Socket(14891): Socket triggered::statusBliving
I/flutter (14891): Debug.Socket: Status Bliving: {status: Online, blivingNumber: d1mpespwruu2ytu}
I/flutter (14891): Debug.Socket: Status Bliving: {status: Offline, blivingNumber: d1dn5ix0rtx8drj}
I/flutter (14891): Debug.Socket: Status Bliving: {status: Online, blivingNumber: d1sth3mhimq7cvl}
I/flutter (14891): Debug.Socket: Status Bliving: {status: Online, blivingNumber: d1qbpw4j4l2c6yu}
I/flutter (14891): Debug.Socket: Status Bliving: {status: Offline, blivingNumber: d11fa8rhnadnyjt}
I/flutter (14891): Debug.Socket: Status Bliving: {status: Offline, blivingNumber: d1ft5oguyo7759k}
I/flutter (14891): Debug.Socket: Status Bliving: {status: Online, blivingNumber: d1zj4tzpbl8oc90}
I/flutter (14891): get weather in house service ...
I/flutter (14891): Debug.Weather: Finish init weather
D/TSLocationManager(14891): [c.t.l.s.ActivityRecognitionService onDestroy]
D/TSLocationManager(14891):   🔴  ActivityRecognitionService destroyed
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
I/flutter (14891): Debug.Socket: Feedback: {idRoom: 5e16dd9512996216852ad8b8, deviceNumber: e1xoowrbkhhjuv6, payload: {isPowerOn: false}}
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
I/flutter (14891): Debug.Socket: Feedback: {idRoom: 5e16dd9512996216852ad8b8, deviceNumber: e1hqx8rvkahfn0z, payload: {isPowerOn: false}}
D/EGL_emulation(14891): eglMakeCurrent: 0xebdb4ca0: ver 3 0 (tinfo 0xca273510)
I/TSLocationManager(14891): [c.t.l.s.TSScheduleManager oneShot]
I/TSLocationManager(14891):   ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
D/FlutterView(14891): Detaching from a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@9dc8273
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
I/flutter (14891): Debug.Socket: Feedback: {idRoom: 5e16dd9512996216852ad8b8, deviceNumber: e1hqx8rvkahfn0z, payload: {isPowerOn: true}}
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
I/flutter (14891): Debug.Socket: Feedback: {idRoom: 5e16dd9512996216852ad8b8, deviceNumber: e1xoowrbkhhjuv6, payload: {isPowerOn: true}}
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
I/flutter (14891): Debug.Socket: Feedback: {idRoom: 5e33de6e01b4442eb62342f5, deviceNumber: e1kt8chvafdfrto, payload: {isPowerOn: true}}
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
I/flutter (14891): Debug.Socket: Feedback: {idRoom: 5e33de6e01b4442eb62342f5, deviceNumber: e1p8v16i6f1ch5s, payload: {isPowerOn: true}}
D/FlutterActivityAndFragmentDelegate(14891): Detaching FlutterEngine from the Activity that owns this Fragment.
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation removeListener]
D/TSLocationManager(14891):   ✅  removeListener event: location
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation removeListener]
D/TSLocationManager(14891):   ✅  removeListener event: motionchange
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation removeListener]
D/TSLocationManager(14891):   ✅  removeListener event: activitychange
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation removeListener]
D/TSLocationManager(14891):   ✅  removeListener event: geofence
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation removeListener]
D/TSLocationManager(14891):   ✅  removeListener event: heartbeat
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation removeListener]
D/TSLocationManager(14891):   ✅  removeListener event: http
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation removeListener]
D/TSLocationManager(14891):   ✅  removeListener event: schedule
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation removeListener]
D/TSLocationManager(14891):   ✅  removeListener event: connectivitychange
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation removeListener]
D/TSLocationManager(14891):   ✅  removeListener event: enabledchange
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation removeListener]
D/TSLocationManager(14891):   ✅  removeListener event: providerchange
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation removeListener]
D/TSLocationManager(14891):   ✅  removeListener event: powersavechange
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation removeListener]
D/TSLocationManager(14891):   ✅  removeListener event: notificationaction
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation c]
D/TSLocationManager(14891):   🔴  Cleared callbacks
I/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation onActivityDestroy]
I/TSLocationManager(14891): ╔═════════════════════════════════════════════
I/TSLocationManager(14891): ║ MainActivity was destroyed
I/TSLocationManager(14891): ╠═════════════════════════════════════════════
I/TSLocationManager(14891): ╟─ stopOnTerminate: false
I/TSLocationManager(14891): ╟─ enabled: true
D/FlutterEngine(14891): Destroying.
D/FlutterEnginePluginRegistry(14891): Destroying.
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
I/TSLocationManager(14891): [c.t.l.scheduler.ScheduleEvent onOneShot]
I/TSLocationManager(14891): ╔═════════════════════════════════════════════
I/TSLocationManager(14891): ║ ⏰ OneShot event fired: TERMINATE_EVENT
I/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask terminate]
D/eglCodecCommon(14891): setVertexArrayObject: set vao to 0 (0) 0 0
D/EGL_emulation(14891): eglCreateContext: 0xf4f7ee60: maj 3 min 0 rcv 3
D/HostConnection(14891): HostConnection::get() New Host Connection established 0xde6837b0, tid 15036
D/HostConnection(14891): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_0
D/EGL_emulation(14891): eglMakeCurrent: 0xf4f7ee60: ver 3 0 (tinfo 0xf4f89340)
W/FlutterEngine(14891): Tried to automatically register plugins with FlutterEngine (io.flutter.embedding.engine.FlutterEngine@e32822e) but could not find and invoke the GeneratedPluginRegistrant.
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask dispatch] [HeadlessTask] waiting for client to initialize
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onMethodCall] $ initialized
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: terminate, event: [State enabled: true, isMoving: true, trackingMode: 1, desiredAccuracy: -2, distanceFilter: 10.0, odometer: 33536.54296875, schedulerEnabled: false, foregroundService: true]]
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: true | elapsed: 31000 | d: 93.96082
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TrackingService: LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 📍  Location[fused -0.040959,109.346699 hAcc=12 et=+14h42m58s16ms alt=0.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 26ms, time: 1582874231000
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ Process LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager locationIsInvalid] Distance from last location: 93.96082, apparent speed: 3.1024506
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 16.151001
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager incrementOdometer] Odometer: 33630.504
I/TSLocationManager(14891): [c.t.l.data.sqlite.b persist]
I/TSLocationManager(14891):   ✅  INSERT: 57419255-556a-446e-9783-75fc847aefe8
I/TSLocationManager(14891): [c.t.l.s.TSScheduleManager oneShot]
I/TSLocationManager(14891):   ⏰ Scheduled OneShot: STOP_TIMEOUT in 300000ms (jobID: 2059034116)
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager removeLocationUpdates]
I/TSLocationManager(14891):   🔴  Location-services: OFF
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager requestLocationUpdates]
I/TSLocationManager(14891):   🎾  Location-services: ON
D/TSLocationManager(14891): [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -2
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask location]
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: location, event: [Location {is_moving: true, uuid: 57419255-556a-446e-9783-75fc847aefe8, timestamp: 2020-02-28T07:17:11.000Z, odometer: 33630.5, coords: {latitude: -0.0409589, longitude: 109.3466987, accuracy: 12.3, speed: 0, heading: -1, altitude: 0}, activity: {type: still, confidence: 100}, battery: {is_charging: false, level: 1}, extras: {}}]]
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: true | elapsed: 31000 | d: 93.96082
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TrackingService: LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 📍  Location[fused -0.040959,109.346699 hAcc=12 et=+14h42m58s16ms alt=0.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 197ms, time: 1582874231000
D/TSLocationManager(14891): [c.t.l.service.TrackingService a] Received stoppedAt location
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ Process LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891):   ℹ️  IGNORED: same as last location
I/TSLocationManager(14891): [c.t.l.service.TrackingService a]
I/TSLocationManager(14891):   ℹ️  Distance from stoppedAtLocation: -24.604
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: true | elapsed: 32000 | d: 162.12572
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TrackingService: LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 📍  Location[fused -0.041437,109.346312 hAcc=12 et=+14h42m59s15ms alt=0.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 27ms, time: 1582874232000
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ Process LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager locationIsInvalid] Distance from last location: 68.164894, apparent speed: 68.23312
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 12.302
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager incrementOdometer] Odometer: 33698.668
I/TSLocationManager(14891): [c.t.l.service.TrackingService a]
I/TSLocationManager(14891):   ℹ️  Distance from stoppedAtLocation: 43.56089
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891):   ℹ️  Force cancel cancel stopTimeout due to apparent movement beyond stoppedAt location
D/TSLocationManager(14891): [c.t.l.service.TrackingService j]
D/TSLocationManager(14891):   ⏰ Cancel stopTimeout timer
I/TSLocationManager(14891): [c.t.l.s.TSScheduleManager oneShot]
I/TSLocationManager(14891):   ⏰ Scheduled OneShot: MOTION_ACTIVITY_CHECK in 60999ms (jobID: -18513055)
I/TSLocationManager(14891): [c.t.l.data.sqlite.b persist]
I/TSLocationManager(14891):   ✅  INSERT: ffc4701a-3d89-4e2a-8d45-f1fb4feb7066
I/TSLocationManager(14891): [c.t.l.s.GeofencingService a]
I/TSLocationManager(14891): ╔═════════════════════════════════════════════
I/TSLocationManager(14891): ║ Geofencing Event: ENTER
I/TSLocationManager(14891): ╠═════════════════════════════════════════════
I/TSLocationManager(14891): ╟─ 5e57822e95e02d0e81ca96f6
I/TSLocationManager(14891): ╟─ 5e576a1b95e02d0e81ca963a
I/TSLocationManager(14891): ╚═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: true | elapsed: 32000 | d: 162.12572
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: true | elapsed: 32000 | d: 162.12572
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask location]
I/TSLocationManager(14891): [c.t.l.service.HeartbeatService a]
I/TSLocationManager(14891):   🔴  Stop heartbeat
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask location]
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager stopMonitoringStationaryRegion]
D/TSLocationManager(14891):   🔴  Stop monitoring stationary region
I/TSLocationManager(14891): [c.t.l.data.sqlite.b persist]
I/TSLocationManager(14891):   ✅  INSERT: b61ab08a-9209-483e-a43d-e60caf930bcb
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: location, event: [Location {is_moving: true, uuid: ffc4701a-3d89-4e2a-8d45-f1fb4feb7066, timestamp: 2020-02-28T07:17:12.000Z, odometer: 33698.7, coords: {latitude: -0.0414368, longitude: 109.3463119, accuracy: 12.3, speed: 0, heading: -1, altitude: 0}, activity: {type: still, confidence: 100}, battery: {is_charging: false, level: 1}, extras: {}}]]
D/TSLocationManager(14891): [c.t.locationmanager.util.b b]
D/TSLocationManager(14891):   ℹ️  LocationAuthorization: Permission granted
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: location, event: [Location {is_moving: true, uuid: 6cc1ebdd-df7d-4373-82b4-dab2bab1dd36, timestamp: 2020-02-28T07:17:12.000Z, odometer: 33698.7, coords: {latitude: -0.0414368, longitude: 109.3463119, accuracy: 12.3, speed: 0, heading: -1, altitude: 0}, activity: {type: still, confidence: 100}, battery: {is_charging: false, level: 1}, extras: {}}]]
I/TSLocationManager(14891): [c.t.l.service.TrackingService a]
I/TSLocationManager(14891):   🔵  setPace: true → true
I/TSLocationManager(14891): [c.t.l.s.GeofencingService b]
I/TSLocationManager(14891): ╔═════════════════════════════════════════════
I/TSLocationManager(14891): ║ GeofencingService: Stationary geofence EXIT
I/TSLocationManager(14891): ╠═════════════════════════════════════════════
I/TSLocationManager(14891): ╟─ 📍  Location[fused -0.041437,109.346312 hAcc=12 et=+14h42m59s15ms alt=0.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}]
I/TSLocationManager(14891): [c.t.l.data.sqlite.b persist]
I/TSLocationManager(14891):   ✅  INSERT: 049676ee-a915-460b-9b67-120b752438f1
I/TSLocationManager(14891): [c.t.l.service.TrackingService h]
I/TSLocationManager(14891): ╔═════════════════════════════════════════════
I/TSLocationManager(14891): ║ TrackingService motionchange: true
I/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask geofence]
I/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation forceMainActivityReload]
I/TSLocationManager(14891):   ℹ️  Forcing main-activity reload
I/gitalid.blivin(14891): Background young concurrent copying GC freed 38055(2141KB) AllocSpace objects, 8(416KB) LOS objects, 38% free, 3290KB/5346KB, paused 2.082ms total 106.041ms
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: geofence, event: [GeofenceEvent identifier: 5e57822e95e02d0e81ca96f6, action: ENTER]]
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask geofence]
I/flutter (14891): Debug.Geolocation : Quick Action "Datang" Has Been Trigger Succesfully
I/TSLocationManager(14891): [c.t.l.s.LocationRequestService b]
I/TSLocationManager(14891):   ℹ️  Location availability: true
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: geofence, event: [GeofenceEvent identifier: 5e576a1b95e02d0e81ca963a, action: ENTER]]
I/flutter (14891): Debug.Geolocation : Quick Action "Location Close" Has Been Trigger Succesfully
E/flutter (14891): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)
E/flutter (14891): #0      BackgroundGeolocationService.onTriggerQuickAction
E/flutter (14891): <asynchronous suspension>
E/flutter (14891): #1      headlessTask
E/flutter (14891): #2      _headlessCallbackDispatcher.<anonymous closure>
E/flutter (14891): #3      MethodChannel._handleAsMethodCall
E/flutter (14891): #4      MethodChannel.setMethodCallHandler.<anonymous closure>
E/flutter (14891): #5      _DefaultBinaryMessenger.handlePlatformMessage
E/flutter (14891): #6      _invoke3.<anonymous closure>  (dart:ui/hooks.dart:303:15)
E/flutter (14891): #7      _rootRun  (dart:async/zone.dart:1126:13)
E/flutter (14891): #8      _CustomZone.run  (dart:async/zone.dart:1023:19)
E/flutter (14891): #9      _CustomZone.runGuarded  (dart:async/zone.dart:925:7)
E/flutter (14891): #10     _invoke3  (dart:ui/hooks.dart:302:10)
E/flutter (14891): #11     _dispatchPlatformMessage  (dart:ui/hooks.dart:162:5)
E/flutter (14891):
E/flutter (14891): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)
E/flutter (14891): #0      BackgroundGeolocationService.onTriggerQuickAction
E/flutter (14891): <asynchronous suspension>
E/flutter (14891): #1      headlessTask
E/flutter (14891): #2      _headlessCallbackDispatcher.<anonymous closure>
E/flutter (14891): #3      MethodChannel._handleAsMethodCall
E/flutter (14891): #4      MethodChannel.setMethodCallHandler.<anonymous closure>
E/flutter (14891): #5      _DefaultBinaryMessenger.handlePlatformMessage
E/flutter (14891): #6      _invoke3.<anonymous closure>  (dart:ui/hooks.dart:303:15)
E/flutter (14891): #7      _rootRun  (dart:async/zone.dart:1126:13)
E/flutter (14891): #8      _CustomZone.run  (dart:async/zone.dart:1023:19)
E/flutter (14891): #9      _CustomZone.runGuarded  (dart:async/zone.dart:925:7)
E/flutter (14891): #10     _invoke3  (dart:ui/hooks.dart:302:10)
E/flutter (14891): #11     _dispatchPlatformMessage  (dart:ui/hooks.dart:162:5)
E/flutter (14891):
D/TSLocationManager(14891): [c.t.l.s.GeofencingService onDestroy]
D/TSLocationManager(14891):   🔴  GeofencingService destroyed
I/TSLocationManager(14891): [c.t.l.s.LocationRequestService a]
I/TSLocationManager(14891): ╔═════════════════════════════════════════════
I/TSLocationManager(14891): ║ motionchange LocationResult: 2
I/TSLocationManager(14891): ╠═════════════════════════════════════════════
I/TSLocationManager(14891): ╟─ 📍  Location[fused -0.041770,109.346043 hAcc=12 et=+14h42m59s389ms alt=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 334ms, time: 1582874230863
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: true | elapsed: 30863 | d: 209.62294
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager$3 run]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TSGeofenceManager found 4/4 within 1000 meters
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 🎾  5e5494b74c185d64df80e640
D/TSLocationManager(14891): ╟─ 🎾  5e576a1b95e02d0e81ca963a
D/TSLocationManager(14891): ╟─ 🎾  5e57743295e02d0e81ca96c3
D/TSLocationManager(14891): ╟─ 🎾  5e57822e95e02d0e81ca96f6
D/TSLocationManager(14891): ╚═════════════════════════════════════════════
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager onSingleLocationResult]
I/TSLocationManager(14891):   🔵  Acquired motionchange position, isMoving: true
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager removeLocationUpdates]
I/TSLocationManager(14891):   🔴  Location-services: OFF
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager requestLocationUpdates]
I/TSLocationManager(14891):   🎾  Location-services: ON
D/TSLocationManager(14891): [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -2
D/TSLocationManager(14891): [c.t.l.s.LocationRequestService a] SingleLocationRequest 2 isFinished? true
I/TSLocationManager(14891): [c.t.l.data.sqlite.b persist]
I/TSLocationManager(14891):   ✅  INSERT: 35f97220-2c63-4cc6-83d3-c4cd928c62e3
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask location]
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask motionchange]
I/TSLocationManager(14891): [c.t.l.s.ActivityRecognitionService a]
I/TSLocationManager(14891):   🎾  Start motion-activity updates
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager removeLocationUpdates]
I/TSLocationManager(14891):   🔴  Location-services: OFF
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager requestLocationUpdates]
I/TSLocationManager(14891):   🎾  Location-services: ON
D/TSLocationManager(14891): [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -2
D/TSLocationManager(14891): [c.t.l.s.LocationRequestService onDestroy]
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: location, event: [Location {event: motionchange, is_moving: true, uuid: 35f97220-2c63-4cc6-83d3-c4cd928c62e3, timestamp: 2020-02-28T07:17:10.863Z, odometer: 33698.7, coords: {latitude: -0.0417699, longitude: 109.3460425, accuracy: 12.4, speed: -1, heading: -1, altitude: 0}, activity: {type: still, confidence: 100}, battery: {is_charging: false, level: 1}, extras: {}}]]
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: motionchange, event: [Location {event: motionchange, is_moving: true, uuid: 35f97220-2c63-4cc6-83d3-c4cd928c62e3, timestamp: 2020-02-28T07:17:10.863Z, odometer: 33698.7, coords: {latitude: -0.0417699, longitude: 109.3460425, accuracy: 12.4, speed: -1, heading: -1, altitude: 0}, activity: {type: still, confidence: 100}, battery: {is_charging: false, level: 1}, extras: {}}]]
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: false | elapsed: 0
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TrackingService: LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 📍  Location[fused -0.041770,109.346043 hAcc=12 et=+14h42m59s389ms alt=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 529ms, time: 1582874230863
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ Process LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager locationIsInvalid] Distance from last location: 47.497215, apparent speed: 127.33838
I/TSLocationManager(14891): [c.t.l.s.TSScheduleManager oneShot]
I/TSLocationManager(14891):   ⏰ Scheduled OneShot: STOP_TIMEOUT in 300000ms (jobID: 2059034116)
I/TSLocationManager(14891): [c.t.l.data.sqlite.b persist]
I/TSLocationManager(14891):   ✅  INSERT: bc4b3a27-8206-44cf-929f-9423658880eb
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager removeLocationUpdates]
I/TSLocationManager(14891):   🔴  Location-services: OFF
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager requestLocationUpdates]
I/TSLocationManager(14891):   🎾  Location-services: ON
D/TSLocationManager(14891): [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -2
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask location]
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: location, event: [Location {is_moving: true, uuid: bc4b3a27-8206-44cf-929f-9423658880eb, timestamp: 2020-02-28T07:17:10.863Z, odometer: 33698.7, coords: {latitude: -0.0417699, longitude: 109.3460425, accuracy: 12.4, speed: -1, heading: -1, altitude: 0}, activity: {type: still, confidence: 100}, battery: {is_charging: false, level: 1}, extras: {}}]]
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: false | elapsed: 0
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TrackingService: LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 📍  Location[fused -0.041770,109.346043 hAcc=12 et=+14h42m59s389ms alt=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 643ms, time: 1582874230863
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ Process LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager locationIsInvalid] Distance from last location: 47.497215, apparent speed: 127.33838
D/TSLocationManager(14891): [c.t.l.service.TrackingService a] Received stoppedAt location
I/TSLocationManager(14891): [c.t.l.service.TrackingService a]
I/TSLocationManager(14891):   ℹ️  Distance from stoppedAtLocation: -24.788
I/TSLocationManager(14891): [c.t.l.data.sqlite.b persist]
I/TSLocationManager(14891):   ✅  INSERT: 5494ae22-7caa-4830-a334-9cfa256847ed
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask location]
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: location, event: [Location {is_moving: true, uuid: 5494ae22-7caa-4830-a334-9cfa256847ed, timestamp: 2020-02-28T07:17:10.863Z, odometer: 33698.7, coords: {latitude: -0.0417699, longitude: 109.3460425, accuracy: 12.4, speed: -1, heading: -1, altitude: 0}, activity: {type: still, confidence: 100}, battery: {is_charging: false, level: 1}, extras: {}}]]
I/gitalid.blivin(14891): Background concurrent copying GC freed 45479(2238KB) AllocSpace objects, 1(68KB) LOS objects, 49% free, 2764KB/5528KB, paused 732us total 104.288ms
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: false | elapsed: 2137
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TrackingService: LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 📍  Location[fused -0.042028,109.345834 hAcc=12 et=+14h43m0s76ms alt=0.0 vel=0.0 bear=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 189ms, time: 1582874233000
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ Process LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager locationIsInvalid] Distance from last location: 84.304115, apparent speed: 79.45722
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 12.335501
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager incrementOdometer] Odometer: 33782.973
I/TSLocationManager(14891): [c.t.l.service.TrackingService a]
I/TSLocationManager(14891):   ℹ️  Distance from stoppedAtLocation: 12.043895
I/TSLocationManager(14891): [c.t.l.data.sqlite.b persist]
I/TSLocationManager(14891):   ✅  INSERT: d99a3712-08d1-476f-aeb6-3dae09e20915
V/MediaPlayer(14891): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(14891): cleanDrmObj: mDrmObj=null mDrmSessionId=null
W/MediaPlayer(14891): mediaplayer went away with unhandled events
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask location]
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: location, event: [Location {is_moving: true, uuid: d99a3712-08d1-476f-aeb6-3dae09e20915, timestamp: 2020-02-28T07:17:13.000Z, odometer: 33783, coords: {latitude: -0.042028, longitude: 109.3458337, accuracy: 12.4, speed: 0, heading: 0, altitude: 0}, activity: {type: still, confidence: 100}, battery: {is_charging: false, level: 1}, extras: {}}]]
D/TSLocationManager(14891): [c.t.l.s.ActivityRecognitionService a]
D/TSLocationManager(14891):   🚘 ️DetectedActivity [type=STILL, confidence=100]
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
V/MediaPlayer(14891): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(14891): cleanDrmObj: mDrmObj=null mDrmSessionId=null
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: false | elapsed: 3137
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TrackingService: LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 📍  Location[fused -0.042214,109.345683 hAcc=12 et=+14h43m1s14ms alt=0.0 vel=0.0 bear=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 21ms, time: 1582874234000
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ Process LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager locationIsInvalid] Distance from last location: 26.511293, apparent speed: 28.26364
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 12.369
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager incrementOdometer] Odometer: 33809.484
I/TSLocationManager(14891): [c.t.l.service.TrackingService a]
I/TSLocationManager(14891):   ℹ️  Distance from stoppedAtLocation: 38.57419
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891):   ℹ️  Force cancel cancel stopTimeout due to apparent movement beyond stoppedAt location
D/TSLocationManager(14891): [c.t.l.service.TrackingService j]
D/TSLocationManager(14891):   ⏰ Cancel stopTimeout timer
I/TSLocationManager(14891): [c.t.l.s.TSScheduleManager oneShot]
I/TSLocationManager(14891):   ⏰ Scheduled OneShot: MOTION_ACTIVITY_CHECK in 60938ms (jobID: -18513055)
I/TSLocationManager(14891): [c.t.l.data.sqlite.b persist]
I/TSLocationManager(14891):   ✅  INSERT: 3db30e8f-1508-44c1-92f3-689ddb374c82
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask location]
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: location, event: [Location {is_moving: true, uuid: 3db30e8f-1508-44c1-92f3-689ddb374c82, timestamp: 2020-02-28T07:17:14.000Z, odometer: 33809.5, coords: {latitude: -0.0422139, longitude: 109.3456833, accuracy: 12.4, speed: 0, heading: 0, altitude: 0}, activity: {type: still, confidence: 100}, battery: {is_charging: false, level: 1}, extras: {}}]]
D/TSLocationManager(14891): [c.t.l.s.ActivityRecognitionService onDestroy]
D/TSLocationManager(14891):   🔴  ActivityRecognitionService destroyed
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: false | elapsed: 4137
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TrackingService: LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 📍  Location[fused -0.042445,109.345496 hAcc=12 et=+14h43m2s14ms alt=0.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 15ms, time: 1582874235000
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ Process LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager locationIsInvalid] Distance from last location: 32.97511, apparent speed: 33.008118
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 12.359501
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager incrementOdometer] Odometer: 33842.46
I/TSLocationManager(14891): [c.t.l.s.TSScheduleManager oneShot]
I/TSLocationManager(14891):   ⏰ Scheduled OneShot: STOP_TIMEOUT in 300000ms (jobID: 2059034116)
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
I/TSLocationManager(14891): [c.t.l.data.sqlite.b persist]
I/TSLocationManager(14891):   ✅  INSERT: 07b2b9b4-c35d-4b3f-9155-3d87b403d7d5
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager removeLocationUpdates]
I/TSLocationManager(14891):   🔴  Location-services: OFF
I/TSLocationManager(14891): [c.t.l.l.TSLocationManager requestLocationUpdates]
I/TSLocationManager(14891):   🎾  Location-services: ON
D/TSLocationManager(14891): [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -2
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask location]
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: location, event: [Location {is_moving: true, uuid: 07b2b9b4-c35d-4b3f-9155-3d87b403d7d5, timestamp: 2020-02-28T07:17:15.000Z, odometer: 33842.5, coords: {latitude: -0.0424451, longitude: 109.3454962, accuracy: 12.3, speed: 0, heading: -1, altitude: 0}, activity: {type: still, confidence: 100}, battery: {is_charging: false, level: 1}, extras: {}}]]
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: false | elapsed: 4137
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TrackingService: LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 📍  Location[fused -0.042445,109.345496 hAcc=12 et=+14h43m2s14ms alt=0.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 134ms, time: 1582874235000
D/TSLocationManager(14891): [c.t.l.service.TrackingService a] Received stoppedAt location
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ Process LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891):   ℹ️  IGNORED: same as last location
I/TSLocationManager(14891): [c.t.l.service.TrackingService a]
I/TSLocationManager(14891):   ℹ️  Distance from stoppedAtLocation: -24.656
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
V/MediaPlayer(14891): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(14891): cleanDrmObj: mDrmObj=null mDrmSessionId=null
W/MediaPlayer(14891): mediaplayer went away with unhandled events
V/MediaPlayer(14891): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(14891): cleanDrmObj: mDrmObj=null mDrmSessionId=null
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: false | elapsed: 5137
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TrackingService: LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 📍  Location[fused -0.042515,109.345439 hAcc=12 et=+14h43m3s16ms alt=0.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 16ms, time: 1582874236000
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ Process LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
I/TSLocationManager(14891): [c.t.l.service.TrackingService a]
I/TSLocationManager(14891):   ℹ️  Distance from stoppedAtLocation: -14.637349
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 12.35
I/TSLocationManager(14891): [c.t.l.data.sqlite.b persist]
I/TSLocationManager(14891):   ✅  INSERT: 9976b04c-b46b-4cd5-8c82-455e438d9a04
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask location]
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: location, event: [Location {is_moving: true, uuid: 9976b04c-b46b-4cd5-8c82-455e438d9a04, timestamp: 2020-02-28T07:17:16.000Z, odometer: 33842.5, coords: {latitude: -0.0425153, longitude: 109.3454394, accuracy: 12.3, speed: 0, heading: -1, altitude: 0}, activity: {type: still, confidence: 100}, battery: {is_charging: false, level: 1}, extras: {}}]]
V/MediaPlayer(14891): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(14891): cleanDrmObj: mDrmObj=null mDrmSessionId=null
W/MediaPlayer(14891): mediaplayer went away with unhandled events
V/MediaPlayer(14891): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(14891): cleanDrmObj: mDrmObj=null mDrmSessionId=null
W/MediaPlayer(14891): mediaplayer went away with unhandled events
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: false | elapsed: 7137
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TrackingService: LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 📍  Location[fused -0.042603,109.345369 hAcc=12 et=+14h43m5s16ms alt=0.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 17ms, time: 1582874238000
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ Process LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager locationIsInvalid] Distance from last location: 12.494674, apparent speed: 6.247337
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 12.339001
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager incrementOdometer] Odometer: 33864.97
I/TSLocationManager(14891): [c.t.l.service.TrackingService a]
I/TSLocationManager(14891):   ℹ️  Distance from stoppedAtLocation: -2.1336756
I/TSLocationManager(14891): [c.t.l.data.sqlite.b persist]
I/TSLocationManager(14891):   ✅  INSERT: a282a86a-59ba-4a91-8d6b-ed2f952a48d3
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask location]
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: location, event: [Location {is_moving: true, uuid: a282a86a-59ba-4a91-8d6b-ed2f952a48d3, timestamp: 2020-02-28T07:17:18.000Z, odometer: 33865, coords: {latitude: -0.0426029, longitude: 109.3453685, accuracy: 12.3, speed: 0, heading: -1, altitude: 0}, activity: {type: still, confidence: 100}, battery: {is_charging: false, level: 1}, extras: {}}]]
V/MediaPlayer(14891): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(14891): cleanDrmObj: mDrmObj=null mDrmSessionId=null
W/MediaPlayer(14891): mediaplayer went away with unhandled events
V/MediaPlayer(14891): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(14891): cleanDrmObj: mDrmObj=null mDrmSessionId=null
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/Adhara:Socket(14891): Socket triggered::feedbackTriggerDevice
W/FlutterJNI(14891): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: adhara_socket_io:socket:0. Response ID: 0
D/TSLocationManager(14891): [c.t.l.g.TSGeofenceManager setLocation] *** isMoving: true | stateChanged: false | timerExpired: false | elapsed: 10137 | d: 128.81128
D/TSLocationManager(14891): [c.t.l.service.TrackingService a]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ TrackingService: LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): ╟─ 📍  Location[fused -0.042673,109.345312 hAcc=12 et=+14h43m8s15ms alt=0.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 15ms, time: 1582874241000
I/TSLocationManager(14891): [c.t.l.service.TrackingService a]
I/TSLocationManager(14891):   ℹ️  Distance from stoppedAtLocation: 7.8849754
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager onLocationResult]
D/TSLocationManager(14891): ╔═════════════════════════════════════════════
D/TSLocationManager(14891): ║ Process LocationResult
D/TSLocationManager(14891): ╠═════════════════════════════════════════════
D/TSLocationManager(14891): [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 12.328
D/TSLocationManager(14891): [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
D/TSLocationManager(14891): [c.t.f.b.HeadlessTask onHeadlessEvent] 💀 [HeadlessTask location]
I/flutter (14891): Debug.Geolocation: Headless Task Begin [HeadlessEvent name: location, event: [Location {is_moving: true, uuid: c125f678-afe4-47a5-bec8-39d149796331, timestamp: 2020-02-28T07:17:21.000Z, odometer: 33865, coords: {latitude: -0.0426731, longitude: 109.3453117, accuracy: 12.3, speed: 0, heading: -1, altitude: 0}, activity: {type: still, confidence: 100}, battery: {is_charging: false, level: 1}, extras: {}}]]
I/TSLocationManager(14891): [c.t.l.data.sqlite.b persist]
I/TSLocationManager(14891):   ✅  INSERT: c125f678-afe4-47a5-bec8-39d149796331

christocracy commented 4 years ago

Have you upgraded your flutter app to 1.12?

The latest version of flutter_background_geolocation is 1.7.0

Yes, 3rd-party plugins can certainly be referenced in the headless task. I do.

J-DreaMy commented 4 years ago

In my case i update package barcode_scan version from 1.0.0 to 2.0.1