transistorsoft / cordova-background-geolocation-lt

The most sophisticated background location-tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.
http://www.transistorsoft.com/shop/products/cordova-background-geolocation
Other
655 stars 277 forks source link

Background geolocation doesnt work after closing app #351

Closed vladimircojuhari closed 6 years ago

vladimircojuhari commented 6 years ago

Your Environment

Expected Behavior

execute callback function after closing the app

Actual Behavior

its recording just when app is on foreground. when i close the app it stops working

Steps to Reproduce

1. 2. 3. 4.

Context

Debug logs

christocracy commented 6 years ago

On Android, after user terminates the app, it's impossible to execute the Javascript callback because your entire Cordova app is terminated. Only the plugin's native Android background service remains alive and tracking. This is why it's important to provide an #url and allow the plugin to manage uploading locations to your server.

See docs for stopOnTerminate

vladimircojuhari commented 6 years ago

thx. so if I add on configure something like : url: "my server url" locations will post to my server? does it work the same on android and IOS?

christocracy commented 6 years ago

so if I add on configure something like : url: "my server url" locations will post to my server?

Yes. If you observe the plugin's logs with $ adb logcat, you'll see log-entries like this:

05-23 05:30:34.898  6546 27237 D TSLocationManager: ║ LocationService: location:1014
05-23 05:30:34.898  6546 27237 D TSLocationManager: ╠═════════════════════════════════════════════
05-23 05:30:34.898  6546 27237 D TSLocationManager: ╟─ 📍  Location[fused 45.519280,-73.617008 acc=20 et=+4d16h32m42s597ms]
05-23 05:30:34.918  6546 27237 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult]
05-23 05:30:34.918  6546 27237 I TSLocationManager:   🔵  Acquired current position
05-23 05:30:34.928  6546 27237 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] 7.0
05-23 05:30:34.968  6546 27021 I TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO persist]
05-23 05:30:34.968  6546 27021 I TSLocationManager:   ✅  INSERT: 7e3f0832-2ad5-4186-b220-8f4d81c708cd
05-23 05:30:34.988  6546 27237 I TSLocationManager: [c.t.l.LocationService onLocation]
05-23 05:30:34.988  6546 27237 I TSLocationManager:   ℹ️  Location availability: true
05-23 05:30:34.998  6546 27021 D TSLocationManager: [c.t.l.http.HttpService flush]
05-23 05:30:34.998  6546 27021 D TSLocationManager: ╔═════════════════════════════════════════════
05-23 05:30:34.998  6546 27021 D TSLocationManager: ║ HTTP Service
05-23 05:30:34.998  6546 27021 D TSLocationManager: ╠═════════════════════════════════════════════
05-23 05:30:35.008  6546 27021 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO first]
05-23 05:30:35.008  6546 27021 D TSLocationManager:   ✅  Locked 1 records
05-23 05:30:35.018  6546 27021 I TSLocationManager: [c.t.l.http.HttpService createRequest]
05-23 05:30:35.018  6546 27021 I TSLocationManager:   🔵  POST: 7e3f0832-2ad5-4186-b220-8f4d81c708cd
05-23 05:30:35.038  6546  6668 I TSLocationManager: [c.t.l.http.HttpRequest parseNetworkResponse]
05-23 05:30:35.038  6546  6668 I TSLocationManager:   🔵  Response: 200
05-23 05:30:35.058  6546  6546 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO destroy]
05-23 05:30:35.058  6546  6546 D TSLocationManager:   ✅  DESTROY: 7e3f0832-2ad5-4186-b220-8f4d81c708cd

does it work the same on android and IOS?

iOS has the same HTTP service. However, iOS and Android differ in their behaviour with stopOnTerminate, as documented.

vladimircojuhari commented 6 years ago

thx very much. ill try to do this

vladimircojuhari commented 6 years ago

hi once again. i made just like you said but any way it doesnt work on background after closing app. it works perfectly when app in minimized. http request doesnt go to my server in background. what should i do?

christocracy commented 6 years ago

I'm not concerned with what you receive at your server.

Do you hear sounds from plugin?

"Blip.....blip.....blip...."

That means the plugin is alive and recording locations.

Are you observing the logs? The plugin is telling you exactly what's going on.

vladimircojuhari commented 6 years ago

Do you hear sounds from plugin?

"Blip.....blip.....blip...."

i dont hear them on background. when i close app its silence). i hear sounds only in foreground

christocracy commented 6 years ago

Are you not curious about what the logs might be saying about that?

On Thu, May 25, 2017 at 7:30 AM vladimircojuhari notifications@github.com wrote:

Do you hear sounds from plugin?

"Blip.....blip.....blip...."

i dont hear them on background. when i close app its silence)

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/351#issuecomment-303988534, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA6l3bq4nw2kIiHt_93WdSnE5YV9lzOks5r9WZhgaJpZM4NjVDR .

-- Snet form Gmail Mobile

vladimircojuhari commented 6 years ago

yeah i am but i dont know how to get them.

christocracy commented 6 years ago

The docs have an entire section called "Logging and Debug"

On Thu, May 25, 2017 at 7:33 AM vladimircojuhari notifications@github.com wrote:

yeah i am but i dont know how to get them.

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/351#issuecomment-303988927, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA6l43egfBnO2aajlq4kyoNAbfX_xoVks5r9Wb2gaJpZM4NjVDR .

-- Snet form Gmail Mobile

vladimircojuhari commented 6 years ago

ok when i get them ill write. thx for answers

christocracy commented 6 years ago

And what about good old $ adb logcat?

Surely your monitoring that?

vladimircojuhari commented 6 years ago
"isMoving": false,
"enabled": true,
"odometer": 0,
"schedulerEnabled": false,
"trackingMode": "location",
"distanceFilter": 10,
"desiredAccuracy": 0,
"desiredOdometerAccuracy": 100,
"locationUpdateInterval": 5000,
"fastestLocationUpdateInterval": 10000,
"locationTimeout": 60,
"deferTime": 0,
"disableElasticity": false,
"activityRecognitionInterval": 10000,
"minimumActivityRecognitionConfidence": 75,
"triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking",
"disableStopDetection": false,
"stationaryRadius": 25,
"stopTimeout": 5,
"url": "HERE MY URL",
"method": "POST",
"autoSync": true,
"autoSyncThreshold": 0,
"batchSync": false,
"maxBatchSize": -1,
"params": {},
"headers": {},
"extras": {},
"httpRootProperty": "location",
"locationTemplate": "",
"geofenceTemplate": "",
"persist": true,
"maxDaysToPersist": 3,
"maxRecordsToPersist": -1,
"locationsOrderDirection": "ASC",
"geofenceProximityRadius": 1000,
"geofenceInitialTriggerEntry": true,
"stopOnTerminate": false,
"startOnBoot": true,
"heartbeatInterval": -1,
"foregroundService": true,
"notificationTitle": "",
"notificationText": "Location Service activated",
"notificationColor": "",
"notificationIcon": "",
"forceReloadOnLocationChange": false,
"forceReloadOnMotionChange": false,
"forceReloadOnGeofence": false,
"forceReloadOnBoot": true,
"forceReloadOnHeartbeat": false,
"forceReloadOnSchedule": false,
"stopAfterElapsedMinutes": 0,
"schedule": [],
"configureUrl": "",
"configureInterval": -1,
"debug": true,
"logLevel": 5,
"logMaxDays": 3

this i received on my email. i got 1 email message and its all. should i show you attached file?

vladimircojuhari commented 6 years ago

geolocation doesnt work after restarting my divice too

christocracy commented 6 years ago

Are you not watching $ adb logcat?

On Thu, May 25, 2017 at 7:55 AM vladimircojuhari notifications@github.com wrote:

geolocation doesnt work after restarting my divice too

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/351#issuecomment-303992411, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA6l-9lBoLYyYvsF37UzLNs1Hz2hqwgks5r9Ww-gaJpZM4NjVDR .

-- Snet form Gmail Mobile

vladimircojuhari commented 6 years ago

yeah i was trying but i cant see anything realted to your plugin

vladimircojuhari commented 6 years ago

after closing app

christocracy commented 6 years ago

And what is the last message you see from the plugin in logcat?

vladimircojuhari commented 6 years ago

05-25 15:00:26.965 20924 22288 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] YES

vladimircojuhari commented 6 years ago

also i got this: TSLocationManager: $ addLocationListener() 05-25 14:59:04.478 20924 21004 W PluginManager: THREAD WARNING: exec() call to BackgroundGeolocation.addLocationListener blocked the main thread for 19ms. Plugin should use CordovaInterface.getThreadPool().

christocracy commented 6 years ago

05-25 14:59:04.478 20924 21004 W PluginManager: THREAD WARNING: exec() call to

Ignore. show me your $ adb logcat logs.

vladimircojuhari commented 6 years ago

Новый текстовый документ.txt

vladimircojuhari commented 6 years ago

as you see there are some console.log messages when bgeo is initializied. after this i close app and nothing happens. when initialized: 1 http reqest comes to server, and its all

vladimircojuhari commented 6 years ago

does geolocation sending on server works when i dont have license? i just wanted to try before buying license

christocracy commented 6 years ago

Have you read the Philosophy of Operation

The plugin is resting in stationary mode and waiting for your device to move.

05-25 15:46:37.613 26086 26268 I TSLocationManager:   =Ɉ¶  Acquired motionchange position

05-25 15:47:50.250 26086 26224 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%)

Now observe what happens when you shake the device vigorously for about 10 seconds.

Btw, you can filter logcat to show only messages from the plugin with:

$ adb logcat -s TSLocationManager
vladimircojuhari commented 6 years ago

The plugin is resting in stationary mode and waiting for your device to move.

i installed my app and was walking but result was the same

christocracy commented 6 years ago

At your desk, shake your device and show me the result of $ adb logcat -s TSLocationManager

vladimircojuhari commented 6 years ago
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb logcat -s TSLocationManager
--------- beginning of system
--------- beginning of main
05-25 16:14:43.013 28070 28131 I TSLocationManager:
05-25 16:14:43.013 28070 28131 I TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.013 28070 28131 I TSLocationManager: Γòæ License Validation Failure
05-25 16:14:43.013 28070 28131 I TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.013 28070 28131 I TSLocationManager: ΓòƒΓöÇ BackgroundGeolocation is running in evaluation mode.
05-25 16:14:43.048 28070 28131 I TSLocationManager: [c.t.l.a.BackgroundGeolocation <init>]
05-25 16:14:43.048 28070 28131 I TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.048 28070 28131 I TSLocationManager: Γòæ BackgroundGeolocation adapter
05-25 16:14:43.048 28070 28131 I TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.102 28070 28131 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO dbh]
05-25 16:14:43.102 28070 28131 D TSLocationManager:   ✅  Opened database
05-25 16:14:43.130 28070 28131 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO prune]
05-25 16:14:43.130 28070 28131 D TSLocationManager:   ℹ️  PRUNE -3 days
05-25 16:14:43.201 28070 28131 D TSLocationManager: [c.t.l.data.sqlite.GeofenceDAO dbh]
05-25 16:14:43.201 28070 28131 D TSLocationManager:   ✅  Opened database
05-25 16:14:43.218 28070 28131 I TSLocationManager: [c.t.l.a.BackgroundGeolocation <init>]
05-25 16:14:43.218 28070 28131 I TSLocationManager:   🔵  Connecting to GooglePlayServices...
05-25 16:14:43.252 28070 28131 D TSLocationManager: $ addLocationListener()
05-25 16:14:43.260 28070 28131 D TSLocationManager: $ addMotionChangeListener()
05-25 16:14:43.266 28070 28131 D TSLocationManager: $ emailLog()
05-25 16:14:43.294 28070 28131 D TSLocationManager: $ configure()
05-25 16:14:43.298 28070 28070 I TSLocationManager: [c.t.l.a.BackgroundGeolocation onConnected]
05-25 16:14:43.298 28070 28070 I TSLocationManager:   ✅  Google Play Services: connected (version code:10240000)
05-25 16:14:43.306 28070 28158 W TSLocationManager: [c.t.l.settings.Settings a]
05-25 16:14:43.306 28070 28158 W TSLocationManager:   ⚠️  Enforced minimumValue, stationaryRadius: 0 -> 25
05-25 16:14:43.329 28070 28158 I TSLocationManager: [c.t.l.settings.Settings print]
05-25 16:14:43.329 28070 28158 I TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.329 28070 28158 I TSLocationManager: Γòæ BackgroundGeolocation Settings
05-25 16:14:43.329 28070 28158 I TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.329 28070 28158 I TSLocationManager: {
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "isMoving": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "enabled": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "odometer": 0,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "schedulerEnabled": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "trackingMode": "location",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "distanceFilter": 0,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "desiredAccuracy": 0,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "desiredOdometerAccuracy": 100,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "locationUpdateInterval": 1000,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "fastestLocationUpdateInterval": 10000,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "locationTimeout": 60,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "deferTime": 0,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "disableElasticity": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "activityRecognitionInterval": 100,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "minimumActivityRecognitionConfidence": 75,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "disableStopDetection": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "stationaryRadius": 25,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "stopTimeout": 5,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "url": "http:\/\/www.carshipit.com\/api\/driver\/loads\/61385\/Notetest",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "method": "POST",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "autoSync": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "autoSyncThreshold": 0,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "batchSync": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "maxBatchSize": -1,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "params": {},
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "headers": {},
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "extras": {},
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "httpRootProperty": "location",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "locationTemplate": "",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "geofenceTemplate": "",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "persist": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "maxDaysToPersist": 3,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "maxRecordsToPersist": -1,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "locationsOrderDirection": "ASC",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "geofenceProximityRadius": 1000,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "geofenceInitialTriggerEntry": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "stopOnTerminate": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "startOnBoot": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "heartbeatInterval": -1,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "foregroundService": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "notificationTitle": "",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "notificationText": "Location Service activated",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "notificationColor": "",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "notificationIcon": "",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "forceReloadOnLocationChange": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "forceReloadOnMotionChange": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "forceReloadOnGeofence": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "forceReloadOnBoot": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "forceReloadOnHeartbeat": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "forceReloadOnSchedule": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "stopAfterElapsedMinutes": 0,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "schedule": [],
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "configureUrl": "",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "configureInterval": -1,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "debug": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "logLevel": 5,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "logMaxDays": 3
05-25 16:14:43.329 28070 28158 I TSLocationManager: }ΓòÜΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.345 28070 28160 D TSLocationManager: [c.t.l.http.HttpService flush]
05-25 16:14:43.345 28070 28160 D TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.345 28070 28160 D TSLocationManager: Γòæ HTTP Service
05-25 16:14:43.345 28070 28160 D TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.346 28070 28164 I TSLocationManager: - Enable: true → true
05-25 16:14:43.362 28070 28070 I TSLocationManager: [c.t.l.BackgroundGeolocationService onStartCommand]
05-25 16:14:43.362 28070 28070 I TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.362 28070 28070 I TSLocationManager: Γòæ BackgroundGeolocation Service started
05-25 16:14:43.362 28070 28070 I TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.390 28070 28160 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO first]
05-25 16:14:43.390 28070 28160 D TSLocationManager:   ✅  Locked 1 records
05-25 16:14:43.392 28070 28070 I TSLocationManager: [c.t.l.BackgroundGeolocationService c]
05-25 16:14:43.392 28070 28070 I TSLocationManager:   ✅  Started in foreground
05-25 16:14:43.400 28070 28160 I TSLocationManager: [c.t.l.http.HttpService createRequest]
05-25 16:14:43.400 28070 28160 I TSLocationManager:   🔵  POST: c1860c92-4e4a-4569-991a-0916d64bb0bf
05-25 16:14:43.428 28070 28070 I TSLocationManager: [c.t.l.a.BackgroundGeolocation requestActivityUpdates]
05-25 16:14:43.428 28070 28070 I TSLocationManager:   🎾  Start activity updates: 100
05-25 16:14:43.486 28070 28070 I TSLocationManager: [c.t.l.BackgroundGeolocationService a]
05-25 16:14:43.486 28070 28070 I TSLocationManager:   🔵  setPace: null → false
05-25 16:14:43.535 28070 28070 I TSLocationManager: - onPause
05-25 16:14:43.576 28070 28160 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%)
05-25 16:14:43.596 28070 28160 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] YES
05-25 16:14:44.545 28070 28070 D TSLocationManager: [c.t.l.http.HttpService onRequestError]
05-25 16:14:44.545 28070 28070 D TSLocationManager:   ⚠️  HTTP Response: 500; The page cannot be displayed because an internal server error has occurred.
05-25 16:14:44.708 28070 28070 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO unlock]
05-25 16:14:44.708 28070 28070 D TSLocationManager:   ✅  UNLOCKED: c1860c92-4e4a-4569-991a-0916d64bb0bf
05-25 16:14:45.333 28070 28246 D TSLocationManager: [c.t.l.LocationService onLocation]
05-25 16:14:45.333 28070 28246 D TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:45.333 28070 28246 D TSLocationManager: Γòæ LocationService: location:1001
05-25 16:14:45.333 28070 28246 D TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:45.333 28070 28246 D TSLocationManager: ╟─ 📍  Location[fused 47,009970,28,857599 acc=23 et=+4h15m44s98ms]
05-25 16:14:45.363 28070 28246 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult]
05-25 16:14:45.363 28070 28246 I TSLocationManager:   🔵  Acquired motionchange position
05-25 16:14:45.398 28070 28246 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] 23.128
05-25 16:14:45.550 28070 28158 I TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO persist]
05-25 16:14:45.550 28070 28158 I TSLocationManager:   ✅  INSERT: bf9fd46b-3b81-4396-96d9-77030180ab41
05-25 16:14:45.569 28070 28246 I TSLocationManager: [c.t.l.LocationService onLocation]
05-25 16:14:45.569 28070 28246 I TSLocationManager:   ℹ️  Location availability: true
05-25 16:14:45.597 28070 28158 D TSLocationManager: [c.t.l.http.HttpService flush]
05-25 16:14:45.597 28070 28158 D TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:45.597 28070 28158 D TSLocationManager: Γòæ HTTP Service
05-25 16:14:45.597 28070 28158 D TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:45.669 28070 28158 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO first]
05-25 16:14:45.669 28070 28158 D TSLocationManager:   ✅  Locked 1 records
05-25 16:14:45.684 28070 28158 I TSLocationManager: [c.t.l.http.HttpService createRequest]
05-25 16:14:45.684 28070 28158 I TSLocationManager:   🔵  POST: c1860c92-4e4a-4569-991a-0916d64bb0bf
05-25 16:14:46.244 28070 28070 D TSLocationManager: [c.t.l.http.HttpService onRequestError]
05-25 16:14:46.244 28070 28070 D TSLocationManager:   ⚠️  HTTP Response: 500; The page cannot be displayed because an internal server error has occurred.
05-25 16:14:46.275 28070 28070 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO unlock]
05-25 16:14:46.275 28070 28070 D TSLocationManager:   ✅  UNLOCKED: c1860c92-4e4a-4569-991a-0916d64bb0bf
05-25 16:14:46.474 28070 28070 I TSLocationManager: - onResume
05-25 16:14:50.710 28070 28070 I TSLocationManager: - onPause
05-25 16:14:52.626 28070 28070 I TSLocationManager: CDVBackgroundGeolocation#onDestoy
^C
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb logcat -s TSLocationManager
--------- beginning of system
--------- beginning of main
05-25 16:14:43.013 28070 28131 I TSLocationManager:
05-25 16:14:43.013 28070 28131 I TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.013 28070 28131 I TSLocationManager: Γòæ License Validation Failure
05-25 16:14:43.013 28070 28131 I TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.013 28070 28131 I TSLocationManager: ΓòƒΓöÇ BackgroundGeolocation is running in evaluation mode.
05-25 16:14:43.048 28070 28131 I TSLocationManager: [c.t.l.a.BackgroundGeolocation <init>]
05-25 16:14:43.048 28070 28131 I TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.048 28070 28131 I TSLocationManager: Γòæ BackgroundGeolocation adapter
05-25 16:14:43.048 28070 28131 I TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.102 28070 28131 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO dbh]
05-25 16:14:43.102 28070 28131 D TSLocationManager:   ✅  Opened database
05-25 16:14:43.130 28070 28131 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO prune]
05-25 16:14:43.130 28070 28131 D TSLocationManager:   ℹ️  PRUNE -3 days
05-25 16:14:43.201 28070 28131 D TSLocationManager: [c.t.l.data.sqlite.GeofenceDAO dbh]
05-25 16:14:43.201 28070 28131 D TSLocationManager:   ✅  Opened database
05-25 16:14:43.218 28070 28131 I TSLocationManager: [c.t.l.a.BackgroundGeolocation <init>]
05-25 16:14:43.218 28070 28131 I TSLocationManager:   🔵  Connecting to GooglePlayServices...
05-25 16:14:43.252 28070 28131 D TSLocationManager: $ addLocationListener()
05-25 16:14:43.260 28070 28131 D TSLocationManager: $ addMotionChangeListener()
05-25 16:14:43.266 28070 28131 D TSLocationManager: $ emailLog()
05-25 16:14:43.294 28070 28131 D TSLocationManager: $ configure()
05-25 16:14:43.298 28070 28070 I TSLocationManager: [c.t.l.a.BackgroundGeolocation onConnected]
05-25 16:14:43.298 28070 28070 I TSLocationManager:   ✅  Google Play Services: connected (version code:10240000)
05-25 16:14:43.306 28070 28158 W TSLocationManager: [c.t.l.settings.Settings a]
05-25 16:14:43.306 28070 28158 W TSLocationManager:   ⚠️  Enforced minimumValue, stationaryRadius: 0 -> 25
05-25 16:14:43.329 28070 28158 I TSLocationManager: [c.t.l.settings.Settings print]
05-25 16:14:43.329 28070 28158 I TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.329 28070 28158 I TSLocationManager: Γòæ BackgroundGeolocation Settings
05-25 16:14:43.329 28070 28158 I TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.329 28070 28158 I TSLocationManager: {
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "isMoving": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "enabled": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "odometer": 0,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "schedulerEnabled": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "trackingMode": "location",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "distanceFilter": 0,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "desiredAccuracy": 0,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "desiredOdometerAccuracy": 100,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "locationUpdateInterval": 1000,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "fastestLocationUpdateInterval": 10000,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "locationTimeout": 60,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "deferTime": 0,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "disableElasticity": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "activityRecognitionInterval": 100,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "minimumActivityRecognitionConfidence": 75,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "disableStopDetection": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "stationaryRadius": 25,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "stopTimeout": 5,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "url": "http:\/\/www.carshipit.com\/api\/driver\/loads\/61385\/Notetest",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "method": "POST",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "autoSync": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "autoSyncThreshold": 0,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "batchSync": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "maxBatchSize": -1,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "params": {},
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "headers": {},
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "extras": {},
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "httpRootProperty": "location",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "locationTemplate": "",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "geofenceTemplate": "",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "persist": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "maxDaysToPersist": 3,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "maxRecordsToPersist": -1,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "locationsOrderDirection": "ASC",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "geofenceProximityRadius": 1000,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "geofenceInitialTriggerEntry": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "stopOnTerminate": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "startOnBoot": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "heartbeatInterval": -1,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "foregroundService": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "notificationTitle": "",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "notificationText": "Location Service activated",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "notificationColor": "",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "notificationIcon": "",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "forceReloadOnLocationChange": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "forceReloadOnMotionChange": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "forceReloadOnGeofence": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "forceReloadOnBoot": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "forceReloadOnHeartbeat": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "forceReloadOnSchedule": false,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "stopAfterElapsedMinutes": 0,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "schedule": [],
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "configureUrl": "",
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "configureInterval": -1,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "debug": true,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "logLevel": 5,
05-25 16:14:43.329 28070 28158 I TSLocationManager:   "logMaxDays": 3
05-25 16:14:43.329 28070 28158 I TSLocationManager: }ΓòÜΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.345 28070 28160 D TSLocationManager: [c.t.l.http.HttpService flush]
05-25 16:14:43.345 28070 28160 D TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.345 28070 28160 D TSLocationManager: Γòæ HTTP Service
05-25 16:14:43.345 28070 28160 D TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.346 28070 28164 I TSLocationManager: - Enable: true → true
05-25 16:14:43.362 28070 28070 I TSLocationManager: [c.t.l.BackgroundGeolocationService onStartCommand]
05-25 16:14:43.362 28070 28070 I TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.362 28070 28070 I TSLocationManager: Γòæ BackgroundGeolocation Service started
05-25 16:14:43.362 28070 28070 I TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:43.390 28070 28160 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO first]
05-25 16:14:43.390 28070 28160 D TSLocationManager:   ✅  Locked 1 records
05-25 16:14:43.392 28070 28070 I TSLocationManager: [c.t.l.BackgroundGeolocationService c]
05-25 16:14:43.392 28070 28070 I TSLocationManager:   ✅  Started in foreground
05-25 16:14:43.400 28070 28160 I TSLocationManager: [c.t.l.http.HttpService createRequest]
05-25 16:14:43.400 28070 28160 I TSLocationManager:   🔵  POST: c1860c92-4e4a-4569-991a-0916d64bb0bf
05-25 16:14:43.428 28070 28070 I TSLocationManager: [c.t.l.a.BackgroundGeolocation requestActivityUpdates]
05-25 16:14:43.428 28070 28070 I TSLocationManager:   🎾  Start activity updates: 100
05-25 16:14:43.486 28070 28070 I TSLocationManager: [c.t.l.BackgroundGeolocationService a]
05-25 16:14:43.486 28070 28070 I TSLocationManager:   🔵  setPace: null → false
05-25 16:14:43.535 28070 28070 I TSLocationManager: - onPause
05-25 16:14:43.576 28070 28160 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%)
05-25 16:14:43.596 28070 28160 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] YES
05-25 16:14:44.545 28070 28070 D TSLocationManager: [c.t.l.http.HttpService onRequestError]
05-25 16:14:44.545 28070 28070 D TSLocationManager:   ⚠️  HTTP Response: 500; The page cannot be displayed because an internal server error has occurred.
05-25 16:14:44.708 28070 28070 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO unlock]
05-25 16:14:44.708 28070 28070 D TSLocationManager:   ✅  UNLOCKED: c1860c92-4e4a-4569-991a-0916d64bb0bf
05-25 16:14:45.333 28070 28246 D TSLocationManager: [c.t.l.LocationService onLocation]
05-25 16:14:45.333 28070 28246 D TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:45.333 28070 28246 D TSLocationManager: Γòæ LocationService: location:1001
05-25 16:14:45.333 28070 28246 D TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:45.333 28070 28246 D TSLocationManager: ╟─ 📍  Location[fused 47,009970,28,857599 acc=23 et=+4h15m44s98ms]
05-25 16:14:45.363 28070 28246 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult]
05-25 16:14:45.363 28070 28246 I TSLocationManager:   🔵  Acquired motionchange position
05-25 16:14:45.398 28070 28246 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] 23.128
05-25 16:14:45.550 28070 28158 I TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO persist]
05-25 16:14:45.550 28070 28158 I TSLocationManager:   ✅  INSERT: bf9fd46b-3b81-4396-96d9-77030180ab41
05-25 16:14:45.569 28070 28246 I TSLocationManager: [c.t.l.LocationService onLocation]
05-25 16:14:45.569 28070 28246 I TSLocationManager:   ℹ️  Location availability: true
05-25 16:14:45.597 28070 28158 D TSLocationManager: [c.t.l.http.HttpService flush]
05-25 16:14:45.597 28070 28158 D TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:45.597 28070 28158 D TSLocationManager: Γòæ HTTP Service
05-25 16:14:45.597 28070 28158 D TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:14:45.669 28070 28158 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO first]
05-25 16:14:45.669 28070 28158 D TSLocationManager:   ✅  Locked 1 records
05-25 16:14:45.684 28070 28158 I TSLocationManager: [c.t.l.http.HttpService createRequest]
05-25 16:14:45.684 28070 28158 I TSLocationManager:   🔵  POST: c1860c92-4e4a-4569-991a-0916d64bb0bf
05-25 16:14:46.244 28070 28070 D TSLocationManager: [c.t.l.http.HttpService onRequestError]
05-25 16:14:46.244 28070 28070 D TSLocationManager:   ⚠️  HTTP Response: 500; The page cannot be displayed because an internal server error has occurred.
05-25 16:14:46.275 28070 28070 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO unlock]
05-25 16:14:46.275 28070 28070 D TSLocationManager:   ✅  UNLOCKED: c1860c92-4e4a-4569-991a-0916d64bb0bf
05-25 16:14:46.474 28070 28070 I TSLocationManager: - onResume
05-25 16:14:50.710 28070 28070 I TSLocationManager: - onPause
05-25 16:14:52.626 28070 28070 I TSLocationManager: CDVBackgroundGeolocation#onDestoy
05-25 16:23:22.305 28881 28943 I TSLocationManager:
05-25 16:23:22.305 28881 28943 I TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:22.305 28881 28943 I TSLocationManager: Γòæ License Validation Failure
05-25 16:23:22.305 28881 28943 I TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:22.305 28881 28943 I TSLocationManager: ΓòƒΓöÇ BackgroundGeolocation is running in evaluation mode.
05-25 16:23:22.329 28881 28943 I TSLocationManager: [c.t.l.a.BackgroundGeolocation <init>]
05-25 16:23:22.329 28881 28943 I TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:22.329 28881 28943 I TSLocationManager: Γòæ BackgroundGeolocation adapter
05-25 16:23:22.329 28881 28943 I TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:22.381 28881 28943 D TSLocationManager: [c.t.l.data.sqlite.a onCreate] CREATE TABLE IF NOT EXISTS locations (id INTEGER PRIMARY KEY AUTOINCREMENT, uuid TEXT NOT NULL DEFAULT '', timestamp TEXT, json TEXT, locked BOOLEAN);
05-25 16:23:22.401 28881 28943 D TSLocationManager: [c.t.l.data.sqlite.a onCreate] CREATE TABLE IF NOT EXISTS geofences (id INTEGER PRIMARY KEY AUTOINCREMENT, identifier TEXT NOT NULL UNIQUE, latitude DOUBLE NOT NULL, sin_latitude DOUBLE NOT NULL, cos_latitude DOUBLE NOT NULL, longitude DOUBLE NOT NULL, sin_longitude DOUBLE NOT NULL, cos_longitude DOUBLE NOT NULL, radius DOUBLE NOT NULL, notifyOnEntry BOOLEAN NOT NULL DEFAULT 0, notifyOnExit BOOLEAN NOT NULL DEFAULT 0, notifyOnDwell BOOLEAN NOT NULL DEFAULT 0, loiteringDelay INTEGER NOT NULL DEFAULT 0, extras TEXT);
05-25 16:23:22.421 28881 28943 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO dbh]
05-25 16:23:22.421 28881 28943 D TSLocationManager:   ✅  Opened database
05-25 16:23:22.436 28881 28943 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO prune]
05-25 16:23:22.436 28881 28943 D TSLocationManager:   ℹ️  PRUNE -1 days
05-25 16:23:22.497 28881 28943 D TSLocationManager: [c.t.l.data.sqlite.GeofenceDAO dbh]
05-25 16:23:22.497 28881 28943 D TSLocationManager:   ✅  Opened database
05-25 16:23:22.518 28881 28943 I TSLocationManager: [c.t.l.a.BackgroundGeolocation <init>]
05-25 16:23:22.518 28881 28943 I TSLocationManager:   🔵  Connecting to GooglePlayServices...
05-25 16:23:22.543 28881 28943 D TSLocationManager: $ addLocationListener()
05-25 16:23:22.552 28881 28943 D TSLocationManager: $ addMotionChangeListener()
05-25 16:23:22.556 28881 28881 I TSLocationManager: [c.t.l.a.BackgroundGeolocation onConnected]
05-25 16:23:22.556 28881 28881 I TSLocationManager:   ✅  Google Play Services: connected (version code:10240000)
05-25 16:23:22.560 28881 28943 D TSLocationManager: $ emailLog()
05-25 16:23:22.579 28881 28943 D TSLocationManager: $ configure()
05-25 16:23:22.589 28881 29217 W TSLocationManager: [c.t.l.settings.Settings a]
05-25 16:23:22.589 28881 29217 W TSLocationManager:   ⚠️  Enforced minimumValue, stationaryRadius: 10 -> 25
05-25 16:23:22.605 28881 29217 I TSLocationManager: [c.t.l.settings.Settings print]
05-25 16:23:22.605 28881 29217 I TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:22.605 28881 29217 I TSLocationManager: Γòæ BackgroundGeolocation Settings
05-25 16:23:22.605 28881 29217 I TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:22.605 28881 29217 I TSLocationManager: {
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "isMoving": false,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "enabled": false,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "odometer": 0,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "schedulerEnabled": false,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "trackingMode": "location",
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "distanceFilter": 200,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "desiredAccuracy": 10,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "desiredOdometerAccuracy": 100,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "locationUpdateInterval": 1000,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "fastestLocationUpdateInterval": 10000,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "locationTimeout": 60,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "deferTime": 0,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "disableElasticity": false,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "activityRecognitionInterval": 100,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "minimumActivityRecognitionConfidence": 75,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking",
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "disableStopDetection": false,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "stationaryRadius": 25,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "stopTimeout": 5,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "url": "http:\/\/www.carshipit.com\/api\/driver\/loads\/61385\/Notetest",
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "method": "POST",
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "autoSync": true,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "autoSyncThreshold": 0,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "batchSync": false,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "maxBatchSize": -1,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "params": {},
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "headers": {},
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "extras": {},
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "httpRootProperty": "location",
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "locationTemplate": "",
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "geofenceTemplate": "",
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "persist": true,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "maxDaysToPersist": 3,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "maxRecordsToPersist": -1,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "locationsOrderDirection": "ASC",
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "geofenceProximityRadius": 1000,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "geofenceInitialTriggerEntry": true,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "stopOnTerminate": false,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "startOnBoot": true,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "heartbeatInterval": -1,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "foregroundService": true,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "notificationTitle": "",
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "notificationText": "Location Service activated",
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "notificationColor": "",
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "notificationIcon": "",
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "forceReloadOnLocationChange": false,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "forceReloadOnMotionChange": false,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "forceReloadOnGeofence": false,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "forceReloadOnBoot": true,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "forceReloadOnHeartbeat": false,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "forceReloadOnSchedule": false,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "stopAfterElapsedMinutes": 0,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "schedule": [],
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "configureUrl": "",
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "configureInterval": -1,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "debug": true,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "logLevel": 5,
05-25 16:23:22.605 28881 29217 I TSLocationManager:   "logMaxDays": 3
05-25 16:23:22.605 28881 29217 I TSLocationManager: }ΓòÜΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:22.632 28881 29219 D TSLocationManager: [c.t.l.http.HttpService flush]
05-25 16:23:22.632 28881 29219 D TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:22.632 28881 29219 D TSLocationManager: Γòæ HTTP Service
05-25 16:23:22.632 28881 29219 D TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:22.637 28881 28943 D TSLocationManager: $ start()
05-25 16:23:22.640 28881 29222 I TSLocationManager: - Enable: false → true
05-25 16:23:22.650 28881 28881 I TSLocationManager: - onPause
05-25 16:23:22.673 28881 28881 I TSLocationManager: [c.t.l.BackgroundGeolocationService onStartCommand]
05-25 16:23:22.673 28881 28881 I TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:22.673 28881 28881 I TSLocationManager: Γòæ BackgroundGeolocation Service started
05-25 16:23:22.673 28881 28881 I TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:22.691 28881 28881 I TSLocationManager: [c.t.l.BackgroundGeolocationService c]
05-25 16:23:22.691 28881 28881 I TSLocationManager:   ✅  Started in foreground
05-25 16:23:22.723 28881 28881 I TSLocationManager: [c.t.l.a.BackgroundGeolocation requestActivityUpdates]
05-25 16:23:22.723 28881 28881 I TSLocationManager:   🎾  Start activity updates: 100
05-25 16:23:22.771 28881 28881 I TSLocationManager: [c.t.l.BackgroundGeolocationService a]
05-25 16:23:22.771 28881 28881 I TSLocationManager:   🔵  setPace: null → false
05-25 16:23:23.973 28881 29278 D TSLocationManager: [c.t.l.LocationService onLocation]
05-25 16:23:23.973 28881 29278 D TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:23.973 28881 29278 D TSLocationManager: Γòæ LocationService: location:1001
05-25 16:23:23.973 28881 29278 D TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:23.973 28881 29278 D TSLocationManager: ╟─ 📍  Location[fused 46,998473,28,854607 acc=116 et=+4h24m11s528ms]
05-25 16:23:24.096 28881 29278 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] 116.1
05-25 16:23:25.818 28881 28881 I TSLocationManager: - onResume
05-25 16:23:26.164 28881 29322 D TSLocationManager: [c.t.l.LocationService onLocation]
05-25 16:23:26.164 28881 29322 D TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:26.164 28881 29322 D TSLocationManager: Γòæ LocationService: location:1001
05-25 16:23:26.164 28881 29322 D TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:26.164 28881 29322 D TSLocationManager: ╟─ 📍  Location[fused 46,998473,28,854607 acc=282 et=+4h24m24s253ms]
05-25 16:23:26.190 28881 29322 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] 198.812
05-25 16:23:26.224 28881 29322 I TSLocationManager: [c.t.l.LocationService onLocation]
05-25 16:23:26.224 28881 29322 I TSLocationManager:   ℹ️  Location availability: true
05-25 16:23:30.873 28881 29332 D TSLocationManager: [c.t.l.LocationService onLocation]
05-25 16:23:30.873 28881 29332 D TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:30.873 28881 29332 D TSLocationManager: Γòæ LocationService: location:1001
05-25 16:23:30.873 28881 29332 D TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:30.873 28881 29332 D TSLocationManager: ╟─ 📍  Location[fused 46,999040,28,857908 acc=116 et=+4h24m27s287ms]
05-25 16:23:30.929 28881 29332 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult]
05-25 16:23:30.929 28881 29332 I TSLocationManager:   🔵  Acquired motionchange position
05-25 16:23:30.940 28881 29332 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] 116.1
05-25 16:23:30.958 28881 29217 I TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO persist]
05-25 16:23:30.958 28881 29217 I TSLocationManager:   ✅  INSERT: d62228cd-363d-456b-841e-c27bb441f9ef
05-25 16:23:30.978 28881 29217 D TSLocationManager: [c.t.l.http.HttpService flush]
05-25 16:23:30.978 28881 29217 D TSLocationManager: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:30.978 28881 29217 D TSLocationManager: Γòæ HTTP Service
05-25 16:23:30.978 28881 29217 D TSLocationManager: ΓòáΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
05-25 16:23:30.994 28881 29217 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO first]
05-25 16:23:30.994 28881 29217 D TSLocationManager:   ✅  Locked 1 records
05-25 16:23:31.004 28881 29217 I TSLocationManager: [c.t.l.http.HttpService createRequest]
05-25 16:23:31.004 28881 29217 I TSLocationManager:   🔵  POST: d62228cd-363d-456b-841e-c27bb441f9ef
05-25 16:23:31.871 28881 28881 D TSLocationManager: [c.t.l.http.HttpService onRequestError]
05-25 16:23:31.871 28881 28881 D TSLocationManager:   ⚠️  HTTP Response: 500; The page cannot be displayed because an internal server error has occurred.
05-25 16:23:31.888 28881 28881 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO unlock]
05-25 16:23:31.888 28881 28881 D TSLocationManager:   ✅  UNLOCKED: d62228cd-363d-456b-841e-c27bb441f9ef
05-25 16:23:36.878 28881 28881 I TSLocationManager: - onPause

i closed app and was driving car

christocracy commented 6 years ago

Perhaps you're interested in this line containing a response from your server:

05-25 16:23:31.871 28881 28881 D TSLocationManager:   ⚠️  HTTP Response: 500; The page cannot be displayed because an internal server error has occurred.
christocracy commented 6 years ago

Unfortunately, my log formatting doesn't perform well in some locales. They're supposed to be formatted like this:

05-25 09:40:47.653 14111  2932 D TSLocationManager: ╔═════════════════════════════════════════════
05-25 09:40:47.653 14111  2932 D TSLocationManager: ║ LocationService: location:1111
05-25 09:40:47.653 14111  2932 D TSLocationManager: ╠═════════════════════════════════════════════
05-25 09:40:47.653 14111  2932 D TSLocationManager: ╟─ 📍  Location[fused 45.519280,-73.617008 acc=20 et=+34d16h15m27s984ms]
05-25 09:40:47.667 14111  2932 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult]
05-25 09:40:47.667 14111  2932 I TSLocationManager:   🔵  Acquired motionchange position
05-25 09:40:47.674 14111  2932 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] 3.0
05-25 09:40:47.685 14111  2932 D TSLocationManager: [c.t.l.l.TSLocationManager incrementOdometer] 29983.516
05-25 09:40:47.716 14111  2932 D TSLocationManager: [c.t.locationmanager.geofence.a a]
05-25 09:40:47.716 14111  2932 D TSLocationManager: ╔═════════════════════════════════════════════
05-25 09:40:47.716 14111  2932 D TSLocationManager: ║ TSGeofenceManager found 3/4 within 1000 meters
05-25 09:40:47.716 14111  2932 D TSLocationManager: ╠═════════════════════════════════════════════
05-25 09:40:47.716 14111  2932 D TSLocationManager: ╟─ 🎾  Bernard
05-25 09:40:47.716 14111  2932 D TSLocationManager: ╟─ 🎾  Laj
05-25 09:40:47.716 14111  2932 D TSLocationManager: ╟─ 🎾  Jfk
05-25 09:40:47.716 14111  2932 D TSLocationManager: ╚═════════════════════════════════════════════
vladimircojuhari commented 6 years ago

Perhaps you're interested in this line containing a response from your server:

i knew this. does 500 error infulence some how?

vladimircojuhari commented 6 years ago

so what should i try next?:) can you tell me pls

christocracy commented 6 years ago

I have no control over your server. It is not my concern. My only concern is that the plugin attempted to send a location to your server. With that, my job is done.

vladimircojuhari commented 6 years ago

I understand. the problem is not in my server. ok i want to receiver 10 errors from my server. the problem is that the plugin doesnt send anything more then 1 time.

christocracy commented 6 years ago

At your desk, shake your device and show me the result of $ adb logcat -s TSLocationManager

vladimircojuhari commented 6 years ago

i 05-25 17:00:31.505 1167 1367 I TSLocationManager: { 05-25 17:00:31.505 1167 1367 I TSLocationManager: "isMoving": false, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "enabled": false, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "odometer": 0, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "schedulerEnabled": false, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "trackingMode": "location", 05-25 17:00:31.505 1167 1367 I TSLocationManager: "distanceFilter": 200, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "desiredAccuracy": 10, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "desiredOdometerAccuracy": 100, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "locationUpdateInterval": 1000, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "fastestLocationUpdateInterval": 10000, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "locationTimeout": 60, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "deferTime": 0, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "disableElasticity": false, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "activityRecognitionInterval": 100, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "minimumActivityRecognitionConfidence": 75, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking", 05-25 17:00:31.505 1167 1367 I TSLocationManager: "disableStopDetection": false, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "stationaryRadius": 25, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "stopTimeout": 5, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "url": "http:\/\/www.carshipit.com\/api\/driver\/loads\/61385\/Notetest", 05-25 17:00:31.505 1167 1367 I TSLocationManager: "method": "POST", 05-25 17:00:31.505 1167 1367 I TSLocationManager: "autoSync": true, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "autoSyncThreshold": 0, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "batchSync": false, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "maxBatchSize": -1, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "params": {}, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "headers": {}, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "extras": {}, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "httpRootProperty": "location", 05-25 17:00:31.505 1167 1367 I TSLocationManager: "locationTemplate": "", 05-25 17:00:31.505 1167 1367 I TSLocationManager: "geofenceTemplate": "", 05-25 17:00:31.505 1167 1367 I TSLocationManager: "persist": true, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "maxDaysToPersist": 3, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "maxRecordsToPersist": -1, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "locationsOrderDirection": "ASC", 05-25 17:00:31.505 1167 1367 I TSLocationManager: "geofenceProximityRadius": 1000, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "geofenceInitialTriggerEntry": true, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "stopOnTerminate": false, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "startOnBoot": true, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "heartbeatInterval": -1, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "foregroundService": true, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "notificationTitle": "", 05-25 17:00:31.505 1167 1367 I TSLocationManager: "notificationText": "Location Service activated", 05-25 17:00:31.505 1167 1367 I TSLocationManager: "notificationColor": "", 05-25 17:00:31.505 1167 1367 I TSLocationManager: "notificationIcon": "", 05-25 17:00:31.505 1167 1367 I TSLocationManager: "forceReloadOnLocationChange": false, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "forceReloadOnMotionChange": false, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "forceReloadOnGeofence": false, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "forceReloadOnBoot": true, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "forceReloadOnHeartbeat": false, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "forceReloadOnSchedule": false, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "stopAfterElapsedMinutes": 0, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "schedule": [], 05-25 17:00:31.505 1167 1367 I TSLocationManager: "configureUrl": "", 05-25 17:00:31.505 1167 1367 I TSLocationManager: "configureInterval": -1, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "debug": true, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "logLevel": 5, 05-25 17:00:31.505 1167 1367 I TSLocationManager: "logMaxDays": 3 05-25 17:00:31.505 1167 1367 I TSLocationManager: }╚═════════════════════════════════════════════ 05-25 17:00:31.535 1167 1370 D TSLocationManager: [c.t.l.http.HttpService flush] 05-25 17:00:31.535 1167 1370 D TSLocationManager: ╔═════════════════════════════════════════════ 05-25 17:00:31.535 1167 1370 D TSLocationManager: ║ HTTP Service 05-25 17:00:31.535 1167 1370 D TSLocationManager: ╠═════════════════════════════════════════════ 05-25 17:00:31.536 1167 1261 D TSLocationManager: $ start() 05-25 17:00:31.544 1167 1373 I TSLocationManager: - Enable: false → true 05-25 17:00:31.573 1167 1167 I TSLocationManager: [c.t.l.BackgroundGeolocationService onStartCommand] 05-25 17:00:31.573 1167 1167 I TSLocationManager: ╔═════════════════════════════════════════════ 05-25 17:00:31.573 1167 1167 I TSLocationManager: ║ BackgroundGeolocation Service started 05-25 17:00:31.573 1167 1167 I TSLocationManager: ╠═════════════════════════════════════════════ 05-25 17:00:31.592 1167 1167 I TSLocationManager: [c.t.l.BackgroundGeolocationService c] 05-25 17:00:31.592 1167 1167 I TSLocationManager: ✅ Started in foreground 05-25 17:00:31.614 1167 1167 I TSLocationManager: [c.t.l.a.BackgroundGeolocation requestActivityUpdates] 05-25 17:00:31.614 1167 1167 I TSLocationManager: 🎾 Start activity updates: 100 05-25 17:00:31.648 1167 1167 I TSLocationManager: [c.t.l.BackgroundGeolocationService a] 05-25 17:00:31.648 1167 1167 I TSLocationManager: 🔵 setPace: null → false 05-25 17:00:31.692 1167 1167 I TSLocationManager: - onPause 05-25 17:00:34.073 1167 1167 I TSLocationManager: - onResume 05-25 17:00:38.517 1167 1505 D TSLocationManager: [c.t.l.LocationService onLocation] 05-25 17:00:38.517 1167 1505 D TSLocationManager: ╔═════════════════════════════════════════════ 05-25 17:00:38.517 1167 1505 D TSLocationManager: ║ LocationService: location:1001 05-25 17:00:38.517 1167 1505 D TSLocationManager: ╠═════════════════════════════════════════════ 05-25 17:00:38.517 1167 1505 D TSLocationManager: ╟─ 📍 Location[fused 47,009906,28,857529 acc=21 et=+5h1m37s286ms] 05-25 17:00:38.586 1167 1505 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 05-25 17:00:38.586 1167 1505 I TSLocationManager: 🔵 Acquired motionchange position 05-25 17:00:38.596 1167 1505 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] 20.811 05-25 17:00:38.706 1167 1367 I TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO persist] 05-25 17:00:38.706 1167 1367 I TSLocationManager: ✅ INSERT: 60afd8a3-1b97-41cf-b2aa-2650aa041cf2 05-25 17:00:38.713 1167 1505 I TSLocationManager: [c.t.l.LocationService onLocation] 05-25 17:00:38.713 1167 1505 I TSLocationManager: ℹ️ Location availability: true 05-25 17:00:38.737 1167 1367 D TSLocationManager: [c.t.l.http.HttpService flush] 05-25 17:00:38.737 1167 1367 D TSLocationManager: ╔═════════════════════════════════════════════ 05-25 17:00:38.737 1167 1367 D TSLocationManager: ║ HTTP Service 05-25 17:00:38.737 1167 1367 D TSLocationManager: ╠═════════════════════════════════════════════ 05-25 17:00:38.774 1167 1367 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO first] 05-25 17:00:38.774 1167 1367 D TSLocationManager: ✅ Locked 1 records 05-25 17:00:38.781 1167 1367 I TSLocationManager: [c.t.l.http.HttpService createRequest] 05-25 17:00:38.781 1167 1367 I TSLocationManager: 🔵 POST: 60afd8a3-1b97-41cf-b2aa-2650aa041cf2 05-25 17:00:39.738 1167 1167 D TSLocationManager: [c.t.l.http.HttpService onRequestError] 05-25 17:00:39.738 1167 1167 D TSLocationManager: ⚠️ HTTP Response: 500; The page cannot be displayed because an internal server error has occurred. 05-25 17:00:39.758 1167 1167 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO unlock] 05-25 17:00:39.758 1167 1167 D TSLocationManager: ✅ UNLOCKED: 60afd8a3-1b97-41cf-b2aa-2650aa041cf2 05-25 17:00:55.624 1167 1370 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (48%) 05-25 17:00:55.651 1167 1370 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] YES 05-25 17:01:00.724 1167 1370 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (29%) 05-25 17:01:00.749 1167 1370 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] YES 05-25 17:01:05.790 1167 1370 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (57%) 05-25 17:01:05.811 1167 1370 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] YES 05-25 17:01:05.918 1167 1167 I TSLocationManager: - onPause

vladimircojuhari commented 6 years ago

when i close app: TSLocationManager: - onPause and nothing happents. i shaked as you said but no result

christocracy commented 6 years ago

Keep shaking for a minute

vladimircojuhari commented 6 years ago

as i sad i was driving the car when application was closed and it was connected to notebook and you saw the result. i think it better example than shaking i was driving and onPause didnt change his state

christocracy commented 6 years ago

Do exactly as I say.

vladimircojuhari commented 6 years ago

05-25 17:15:58.072 3162 3162 D TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO unlock] 05-25 17:15:58.072 3162 3162 D TSLocationManager: ✅ UNLOCKED: 60afd8a3-1b97-41cf-b2aa-2650aa041cf2 05-25 17:15:59.387 3162 3162 I TSLocationManager: - onResume 05-25 17:16:03.536 3162 3162 I TSLocationManager: - onPause 05-25 17:16:07.507 3162 3162 I TSLocationManager: CDVBackgroundGeolocation#onDestoy 05-25 17:16:07.510 3162 3162 I TSLocationManager: [c.t.l.a.BackgroundGeolocation onActivityDestroy] 05-25 17:16:07.510 3162 3162 I TSLocationManager: ╔═════════════════════════════════════════════ 05-25 17:16:07.510 3162 3162 I TSLocationManager: ║ MainActivity was destroyed 05-25 17:16:07.510 3162 3162 I TSLocationManager: ╠═════════════════════════════════════════════ 05-25 17:16:07.510 3162 3162 I TSLocationManager: ╟─ stopOnTerminate: false 05-25 17:16:07.510 3162 3162 I TSLocationManager: ╟─ enabled: true

i closed app in another way. this is last rows. during shaking nothing changed

christocracy commented 6 years ago

I don't know. If the Android ActivityRecognitionAPI isn't firing, I have no idea. Must be the device / os.

vladimircojuhari commented 6 years ago

05-25 17:26:52.851 3911 3911 I TSLocationManager: ╟─ stopOnTerminate: false 05-25 17:26:52.851 3911 3911 I TSLocationManager: ╟─ enabled: true 05-25 17:26:52.868 3911 3911 I TSLocationManager: [c.t.l.l.TSLocationManager stopWatchPosition] 05-25 17:26:52.868 3911 3911 I TSLocationManager: 🔴 watchPosition: OFF 05-25 17:26:52.882 3911 3911 D TSLocationManager: [c.t.l.a.BackgroundGeolocation f] 05-25 17:26:52.882 3911 3911 D TSLocationManager: 🔴 Cleared callbacks 05-25 17:26:53.942 3911 4025 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (46%) 05-25 17:26:53.964 3911 4025 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO 05-25 17:26:59.056 3911 4025 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (38%) 05-25 17:26:59.084 3911 4025 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO

does this means something. it writes me when i close app by pressing back button on android

christocracy commented 6 years ago

It means your Cordova Javascript app has been completely terminated. None of your Javascript is running; none of your callbacks will fire.

Only the plugin's background-service is alive, completely unaffected. Read stopOnTerminate

vladimircojuhari commented 6 years ago

any way thx for trying to help me. ill try on other device. but dont think this is the problem

christocracy commented 6 years ago

I test on the following devices. I have no issues with ActivityRecognitionAPI

vladimircojuhari commented 6 years ago

my device is xiomi mi5 (6.0.1)