Open Yermo opened 5 years ago
No logs?
I highly recommend against using NativeScript. I’m going to stop selling licenses for it and cease support.
I do highly recommend Flutter!
From Google Trends' perspective:
These trends correspond with my sales & traffic stats year-over-year:
React Native vs Ionic vs Flutter vs NativeScript vs Xamarin
I've made more sales for Flutter in 3 months (released just last October) than NativeScript in 2 years (released in 2016)!
I am working on getting you the logs.
I am unfamiliar with Flutter. Is there a migration path for a Typescript/Angular app to Flutter? Initial searches seem to indicate Dart is the only language supported.
What makes Flutter a better platform than NativeScript or better yet, what are the problems with NativeScript? From what I've experienced, NativeScript is much better than Ionic/Cordova at least for the kind of long running app I am trying to build.
I had to migrate from Cordova/Ionic to NativeScript. My codebase is getting significant and relies heavily on your plugin. My plan was to get a bit closer to launch and purchase a license. If you cease support for the plugin it is going to significantly set back my development.
When do you plan to cease availability of the plugin?
Other than purchasing a license, is there something I can do to keep access to the plugin?
Would a very restricted (use on in my apps) source code license be possible to purchase?
Failing that, could I pay you to keep supporting it in some capacity?
How do you prefer the logs provided to you? adb logcat is very verbose and I'm not sure what you would like to see.
I just noticed the debugging instructions. Sorry about not noticing that.
I turned on verbose log messages. I started the app, started tracking, killed the app, and restarted it, confirming that it was not correctly killed, then killed it and restarted it again.
The behavior is different today in that even when I relaunch the app a third time it appears to show up with state from the previous run. I also notice that it only appears listed in the Services list for a few seconds after I terminate it.
If I force stop it from developer options and then restart it, the app starts up cleanly.
I have worked around the issue by detecting whether or not there is an existing database connection, etc when the app fires up and it seems to work but this "app state persisting" seems to be a bug to me.
Here's the output of: adb logcat -s TSLocationManager I added notes where I started/stopped/restarted the app.
first start of app
04-16 19:06:34.053 8197 8197 I TSLocationManager: 04-16 19:06:34.053 8197 8197 I TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:06:34.053 8197 8197 I TSLocationManager: ║ License Validation Failure 04-16 19:06:34.053 8197 8197 I TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:06:34.053 8197 8197 I TSLocationManager: ╟─ BackgroundGeolocation is running in evaluation mode. 04-16 19:06:35.111 8197 8197 D TSLocationManager: [c.t.l.adapter.TSConfig c] ℹ️ Persist config 04-16 19:06:35.214 8197 8197 D TSLocationManager: [c.t.l.a.BackgroundGeolocation ready] LocationPermission :true 04-16 19:06:35.232 8197 8197 E TSLocationManager: [c.t.l.l.TSLocationManager getLastLocation] 04-16 19:06:35.232 8197 8197 E TSLocationManager: ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@84a782a 04-16 19:06:35.235 8197 8354 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:06:35.235 8197 8354 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:06:35.409 8197 8197 D TSLocationManager: [c.t.l.adapter.TSConfig c] ℹ️ Persist config 04-16 19:06:35.551 8197 8197 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult] 04-16 19:06:35.551 8197 8197 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:06:35.551 8197 8197 D TSLocationManager: ║ SingleLocationRequest: 1 04-16 19:06:35.551 8197 8197 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:06:35.551 8197 8197 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=20 et=+36m41s178ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[{requestId=1, verticalAccuracy=40.0}]}], age: 286ms, time: 1555455995000 04-16 19:06:35.553 8197 8344 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 04-16 19:06:35.553 8197 8344 I TSLocationManager: 🔵 Acquired current position 04-16 19:06:35.555 8197 8197 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult] 04-16 19:06:35.555 8197 8197 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:06:35.555 8197 8197 D TSLocationManager: ║ SingleLocationRequest: 1 04-16 19:06:35.555 8197 8197 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:06:35.555 8197 8197 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=17 et=+36m41s197ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[{requestId=1, verticalAccuracy=40.0}]}], age: 271ms, time: 1555455996000 04-16 19:06:35.557 8197 8344 D TSLocationManager: [c.t.l.l.TSLocationManager a] 20.0 04-16 19:06:35.585 8197 8344 W TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 04-16 19:06:35.585 8197 8344 W TSLocationManager: ⚠️ Failed to find SingleLocationRequest
starting tracking
04-16 19:06:55.258 8197 8197 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:06:55.258 8197 8197 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:06:55.264 8197 8367 I TSLocationManager: - Enable: false → true, trackingMode: 1 04-16 19:06:55.316 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService onStartCommand] 04-16 19:06:55.316 8197 8197 I TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:06:55.316 8197 8197 I TSLocationManager: ║ BackgroundGeolocation Service started 04-16 19:06:55.316 8197 8197 I TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:06:55.319 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService d] 04-16 19:06:55.319 8197 8197 I TSLocationManager: ✅ Started in foreground 04-16 19:06:55.336 8197 8197 I TSLocationManager: [c.t.l.ActivityRecognitionService a] 04-16 19:06:55.336 8197 8197 I TSLocationManager: 🎾 Start activity updates: 0 04-16 19:06:55.341 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService k] 04-16 19:06:55.341 8197 8197 I TSLocationManager: 🔴 Stop heartbeat 04-16 19:06:55.345 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService a] 04-16 19:06:55.345 8197 8197 I TSLocationManager: 🎾 Start heartbeat (60) 04-16 19:06:55.349 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService a] 04-16 19:06:55.349 8197 8197 I TSLocationManager: 🔵 setPace: null → false 04-16 19:06:55.350 8197 8197 D TSLocationManager: [c.t.l.adapter.TSConfig c] ℹ️ Persist config 04-16 19:06:55.355 8197 8197 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:06:55.355 8197 8197 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:06:55.371 8197 8344 I TSLocationManager: [c.t.l.BackgroundGeolocationService k] 04-16 19:06:55.371 8197 8344 I TSLocationManager: 🔴 Stop heartbeat 04-16 19:06:55.387 8197 8344 I TSLocationManager: [c.t.l.BackgroundGeolocationService a] 04-16 19:06:55.387 8197 8344 I TSLocationManager: 🔵 setPace: false → true 04-16 19:06:55.390 8197 8344 D TSLocationManager: [c.t.l.adapter.TSConfig c] ℹ️ Persist config 04-16 19:06:55.393 8197 8344 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:06:55.393 8197 8344 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:06:55.860 8197 8344 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%) 04-16 19:06:56.129 8197 8197 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult] 04-16 19:06:56.129 8197 8197 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:06:56.129 8197 8197 D TSLocationManager: ║ SingleLocationRequest: 3 04-16 19:06:56.129 8197 8197 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:06:56.129 8197 8197 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=17 et=+37m1s383ms alt=5.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[{requestId=3, verticalAccuracy=40.0}]}], age: 658ms, time: 1555456015469 04-16 19:06:56.130 8197 8344 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 04-16 19:06:56.130 8197 8344 I TSLocationManager: 🔵 Acquired motionchange position, isMoving: true 04-16 19:06:56.132 8197 8344 D TSLocationManager: [c.t.l.l.TSLocationManager a] 18.324001 04-16 19:06:56.134 8197 8344 D TSLocationManager: [c.t.l.l.TSLocationManager a] 0.0 04-16 19:06:56.147 8197 8344 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates] 04-16 19:06:56.147 8197 8344 I TSLocationManager: 🎾 Location-services: ON 04-16 19:06:56.154 8197 8344 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0 04-16 19:06:56.159 8197 8197 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%) 04-16 19:06:56.160 8197 8354 I TSLocationManager: [c.t.locationmanager.data.a.c persist] 04-16 19:06:56.160 8197 8354 I TSLocationManager: ✅ INSERT: 7c4c12c9-dde2-4fde-9eef-c8e32dc98037 04-16 19:06:56.181 8197 8396 D TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:06:56.181 8197 8396 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:06:56.181 8197 8396 D TSLocationManager: ║ LocationService: location 04-16 19:06:56.181 8197 8396 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:06:56.181 8197 8396 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=17 et=+37m2s84ms alt=5.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 8ms, time: 1555456016170 04-16 19:06:56.183 8197 8396 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:06:56.183 8197 8396 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:06:56.183 8197 8396 D TSLocationManager: ║ Process LocationResult 04-16 19:06:56.183 8197 8396 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:06:56.185 8197 8396 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:06:56.185 8197 8396 D TSLocationManager: ℹ️ IGNORED: same as last location 04-16 19:06:56.187 8197 8396 I TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:06:56.187 8197 8396 I TSLocationManager: ℹ️ Location availability: true
killing the app
04-16 19:07:27.123 8197 8344 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%) 04-16 19:07:27.131 8197 8347 I TSLocationManager: [c.t.l.l.TSLocationManager d] 04-16 19:07:27.131 8197 8347 I TSLocationManager: 🔴 Location-services: OFF 04-16 19:07:27.136 8197 8347 I TSLocationManager: [c.t.l.BackgroundGeolocationService k] 04-16 19:07:27.136 8197 8347 I TSLocationManager: 🔴 Stop heartbeat 04-16 19:07:27.141 8197 8347 I TSLocationManager: [c.t.l.BackgroundGeolocationService a] 04-16 19:07:27.141 8197 8347 I TSLocationManager: 🔵 setPace: true → true 04-16 19:07:27.143 8197 8347 D TSLocationManager: [c.t.l.adapter.TSConfig c] ℹ️ Persist config 04-16 19:07:27.151 8197 8347 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:07:27.151 8197 8347 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:07:27.289 8197 8197 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult] 04-16 19:07:27.289 8197 8197 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:07:27.289 8197 8197 D TSLocationManager: ║ SingleLocationRequest: 4 04-16 19:07:27.289 8197 8197 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:07:27.289 8197 8197 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=12 et=+37m33s198ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[{requestId=4, verticalAccuracy=40.0}]}], age: 3ms, time: 1555456048000 04-16 19:07:27.290 8197 8347 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 04-16 19:07:27.290 8197 8347 I TSLocationManager: 🔵 Acquired motionchange position, isMoving: true 04-16 19:07:27.301 8197 8347 D TSLocationManager: [c.t.l.l.TSLocationManager a] 16.648 04-16 19:07:27.304 8197 8347 D TSLocationManager: [c.t.l.l.TSLocationManager a] 0.0 04-16 19:07:27.318 8197 8347 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates] 04-16 19:07:27.318 8197 8347 I TSLocationManager: 🎾 Location-services: ON 04-16 19:07:27.321 8197 8347 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0 04-16 19:07:27.324 8197 8197 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%) 04-16 19:07:27.327 8197 8354 I TSLocationManager: [c.t.locationmanager.data.a.c persist] 04-16 19:07:27.327 8197 8354 I TSLocationManager: ✅ INSERT: 24f89524-ea3a-4aec-9ce3-85e0d6416d98 04-16 19:07:27.340 8197 8410 D TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:07:27.340 8197 8410 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:07:27.340 8197 8410 D TSLocationManager: ║ LocationService: location 04-16 19:07:27.340 8197 8410 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:07:27.340 8197 8410 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=12 et=+37m33s249ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 4ms, time: 1555456047335 04-16 19:07:27.342 8197 8410 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:07:27.342 8197 8410 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:07:27.342 8197 8410 D TSLocationManager: ║ Process LocationResult 04-16 19:07:27.342 8197 8410 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:07:27.343 8197 8410 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:07:27.343 8197 8410 D TSLocationManager: ℹ️ IGNORED: same as last location 04-16 19:07:27.345 8197 8410 I TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:07:27.345 8197 8410 I TSLocationManager: ℹ️ Location availability: true 04-16 19:07:28.043 8197 8197 I TSLocationManager: [c.t.l.a.BackgroundGeolocation onActivityDestroy] 04-16 19:07:28.043 8197 8197 I TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:07:28.043 8197 8197 I TSLocationManager: ║ MainActivity was destroyed 04-16 19:07:28.043 8197 8197 I TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:07:28.043 8197 8197 I TSLocationManager: ╟─ stopOnTerminate: true 04-16 19:07:28.043 8197 8197 I TSLocationManager: ╟─ enabled: true 04-16 19:07:28.045 8197 8197 D TSLocationManager: [c.t.l.a.BackgroundGeolocation c] 04-16 19:07:28.045 8197 8197 D TSLocationManager: 🔴 Cleared callbacks 04-16 19:07:28.048 8197 8197 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO 04-16 19:07:28.055 8197 8197 I TSLocationManager: [c.t.l.s.TSScheduleManager b] 04-16 19:07:28.055 8197 8197 I TSLocationManager: 🔴 Scheduler OFF 04-16 19:07:30.974 8197 8197 D TSLocationManager: [c.t.l.BackgroundGeolocationService onDestroy] 04-16 19:07:30.974 8197 8197 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:07:30.974 8197 8197 D TSLocationManager: ║ BackgroundGeolocationService destroyed 04-16 19:07:30.974 8197 8197 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:07:30.976 8197 8197 D TSLocationManager: [c.t.l.BackgroundGeolocationService r] 04-16 19:07:30.976 8197 8197 D TSLocationManager: 🔴 Unregister PowerSaveChangeReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$1@ffa189e 04-16 19:07:30.978 8197 8197 D TSLocationManager: [c.t.l.BackgroundGeolocationService r] 04-16 19:07:30.978 8197 8197 D TSLocationManager: 🔴 Unregister ConnectivityReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$2@930cf7f 04-16 19:07:30.980 8197 8197 I TSLocationManager: [c.t.l.ActivityRecognitionService b] 04-16 19:07:30.980 8197 8197 I TSLocationManager: 🔴 Stop activity updates 04-16 19:07:30.982 8197 8197 I TSLocationManager: [c.t.l.l.TSLocationManager d] 04-16 19:07:30.982 8197 8197 I TSLocationManager: 🔴 Location-services: OFF 04-16 19:07:30.984 8197 8197 D TSLocationManager: [c.t.l.g.TSGeofenceManager b] 04-16 19:07:30.984 8197 8197 D TSLocationManager: 🔴 Stop monitoring geofences 04-16 19:07:30.987 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService k] 04-16 19:07:30.987 8197 8197 I TSLocationManager: 🔴 Stop heartbeat
restarting the app
04-16 19:08:00.717 8197 8197 D TSLocationManager: [c.t.l.adapter.TSConfig c] ℹ️ Persist config 04-16 19:08:00.730 8197 8197 D TSLocationManager: [c.t.l.a.BackgroundGeolocation ready] LocationPermission :true 04-16 19:08:00.737 8197 8354 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:08:00.737 8197 8354 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:08:00.941 8197 8197 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult] 04-16 19:08:00.941 8197 8197 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:00.941 8197 8197 D TSLocationManager: ║ SingleLocationRequest: 5 04-16 19:08:00.941 8197 8197 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:00.941 8197 8197 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=20 et=+38m6s730ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[{requestId=5, verticalAccuracy=40.0}]}], age: 122ms, time: 1555456081000 04-16 19:08:00.942 8197 8347 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 04-16 19:08:00.942 8197 8347 I TSLocationManager: 🔵 Acquired current position 04-16 19:08:00.944 8197 8347 D TSLocationManager: [c.t.l.l.TSLocationManager a] 18.324001 04-16 19:08:00.947 8197 8347 D TSLocationManager: [c.t.l.l.TSLocationManager a] 0.0 04-16 19:08:00.955 8197 8197 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:08:00.955 8197 8197 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:08:00.957 8197 8429 I TSLocationManager: - Enable: false → true, trackingMode: 1 04-16 19:08:01.019 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService onStartCommand] 04-16 19:08:01.019 8197 8197 I TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:01.019 8197 8197 I TSLocationManager: ║ BackgroundGeolocation Service started 04-16 19:08:01.019 8197 8197 I TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:01.022 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService d] 04-16 19:08:01.022 8197 8197 I TSLocationManager: ✅ Started in foreground 04-16 19:08:01.038 8197 8197 I TSLocationManager: [c.t.l.ActivityRecognitionService a] 04-16 19:08:01.038 8197 8197 I TSLocationManager: 🎾 Start activity updates: 0 04-16 19:08:01.042 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService k] 04-16 19:08:01.042 8197 8197 I TSLocationManager: 🔴 Stop heartbeat 04-16 19:08:01.046 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService a] 04-16 19:08:01.046 8197 8197 I TSLocationManager: 🔵 setPace: null → true 04-16 19:08:01.048 8197 8197 D TSLocationManager: [c.t.l.adapter.TSConfig c] ℹ️ Persist config 04-16 19:08:01.052 8197 8197 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:08:01.052 8197 8197 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:08:01.356 8197 8197 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult] 04-16 19:08:01.356 8197 8197 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:01.356 8197 8197 D TSLocationManager: ║ SingleLocationRequest: 6 04-16 19:08:01.356 8197 8197 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:01.356 8197 8197 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=17 et=+38m7s200ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[{requestId=6, verticalAccuracy=40.0}]}], age: 68ms, time: 1555456082000 04-16 19:08:01.357 8197 8347 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 04-16 19:08:01.357 8197 8347 I TSLocationManager: 🔵 Acquired motionchange position, isMoving: true 04-16 19:08:01.359 8197 8347 D TSLocationManager: [c.t.l.l.TSLocationManager a] 16.603 04-16 19:08:01.360 8197 8347 D TSLocationManager: [c.t.l.l.TSLocationManager a] 0.0 04-16 19:08:01.368 8197 8347 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates] 04-16 19:08:01.368 8197 8347 I TSLocationManager: 🎾 Location-services: ON 04-16 19:08:01.378 8197 8347 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0 04-16 19:08:01.393 8197 8429 I TSLocationManager: [c.t.locationmanager.data.a.c persist] 04-16 19:08:01.393 8197 8429 I TSLocationManager: ✅ INSERT: be4e1041-c235-4401-966c-7b245bb3ab15 04-16 19:08:01.429 8197 8449 D TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:08:01.429 8197 8449 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:01.429 8197 8449 D TSLocationManager: ║ LocationService: location 04-16 19:08:01.429 8197 8449 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:01.429 8197 8449 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=17 et=+38m7s332ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 9ms, time: 1555456081417 04-16 19:08:01.432 8197 8449 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:08:01.432 8197 8449 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:01.432 8197 8449 D TSLocationManager: ║ Process LocationResult 04-16 19:08:01.432 8197 8449 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:01.434 8197 8449 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:08:01.434 8197 8449 D TSLocationManager: ℹ️ IGNORED: same as last location 04-16 19:08:01.437 8197 8449 I TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:08:01.437 8197 8449 I TSLocationManager: ℹ️ Location availability: true 04-16 19:08:01.585 8197 8428 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%) 04-16 19:08:01.590 8197 8427 I TSLocationManager: [c.t.l.l.TSLocationManager d] 04-16 19:08:01.590 8197 8427 I TSLocationManager: 🔴 Location-services: OFF 04-16 19:08:01.593 8197 8427 I TSLocationManager: [c.t.l.BackgroundGeolocationService k] 04-16 19:08:01.593 8197 8427 I TSLocationManager: 🔴 Stop heartbeat 04-16 19:08:01.596 8197 8427 I TSLocationManager: [c.t.l.BackgroundGeolocationService a] 04-16 19:08:01.596 8197 8427 I TSLocationManager: 🔵 setPace: true → true 04-16 19:08:01.599 8197 8427 D TSLocationManager: [c.t.l.adapter.TSConfig c] ℹ️ Persist config 04-16 19:08:01.620 8197 8427 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:08:01.620 8197 8427 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:08:02.292 8197 8197 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult] 04-16 19:08:02.292 8197 8197 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:02.292 8197 8197 D TSLocationManager: ║ SingleLocationRequest: 7 04-16 19:08:02.292 8197 8197 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:02.292 8197 8197 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=14 et=+38m8s200ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[{requestId=7, verticalAccuracy=40.0}]}], age: 4ms, time: 1555456083000 04-16 19:08:02.293 8197 8347 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 04-16 19:08:02.293 8197 8347 I TSLocationManager: 🔵 Acquired motionchange position, isMoving: true 04-16 19:08:02.294 8197 8347 D TSLocationManager: [c.t.l.l.TSLocationManager a] 16.6255 04-16 19:08:02.296 8197 8347 D TSLocationManager: [c.t.l.l.TSLocationManager a] 0.0 04-16 19:08:02.306 8197 8347 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates] 04-16 19:08:02.306 8197 8347 I TSLocationManager: 🎾 Location-services: ON 04-16 19:08:02.308 8197 8347 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0 04-16 19:08:02.310 8197 8197 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%) 04-16 19:08:02.312 8197 8429 I TSLocationManager: [c.t.locationmanager.data.a.c persist] 04-16 19:08:02.312 8197 8429 I TSLocationManager: ✅ INSERT: 706fd607-e55a-4bf4-b751-e5a6d270256c 04-16 19:08:02.330 8197 8452 D TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:08:02.330 8197 8452 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:02.330 8197 8452 D TSLocationManager: ║ LocationService: location 04-16 19:08:02.330 8197 8452 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:02.330 8197 8452 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=14 et=+38m8s238ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 5ms, time: 1555456082324 04-16 19:08:02.333 8197 8452 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:08:02.333 8197 8452 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:02.333 8197 8452 D TSLocationManager: ║ Process LocationResult 04-16 19:08:02.333 8197 8452 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:02.335 8197 8452 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:08:02.335 8197 8452 D TSLocationManager: ℹ️ IGNORED: same as last location 04-16 19:08:02.347 8197 8452 I TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:08:02.347 8197 8452 I TSLocationManager: ℹ️ Location availability: true
killing the app again
04-16 19:08:23.919 8197 8347 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%) 04-16 19:08:23.923 8197 8427 I TSLocationManager: [c.t.l.l.TSLocationManager d] 04-16 19:08:23.923 8197 8427 I TSLocationManager: 🔴 Location-services: OFF 04-16 19:08:23.928 8197 8427 I TSLocationManager: [c.t.l.BackgroundGeolocationService k] 04-16 19:08:23.928 8197 8427 I TSLocationManager: 🔴 Stop heartbeat 04-16 19:08:23.931 8197 8427 I TSLocationManager: [c.t.l.BackgroundGeolocationService a] 04-16 19:08:23.931 8197 8427 I TSLocationManager: 🔵 setPace: true → true 04-16 19:08:23.933 8197 8427 D TSLocationManager: [c.t.l.adapter.TSConfig c] ℹ️ Persist config 04-16 19:08:23.938 8197 8427 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:08:23.938 8197 8427 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:08:24.291 8197 8197 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult] 04-16 19:08:24.291 8197 8197 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:24.291 8197 8197 D TSLocationManager: ║ SingleLocationRequest: 8 04-16 19:08:24.291 8197 8197 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:24.291 8197 8197 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=12 et=+38m30s200ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[{requestId=8, verticalAccuracy=40.0}]}], age: 3ms, time: 1555456105000 04-16 19:08:24.292 8197 8427 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 04-16 19:08:24.292 8197 8427 I TSLocationManager: 🔵 Acquired motionchange position, isMoving: true 04-16 19:08:24.293 8197 8427 D TSLocationManager: [c.t.l.l.TSLocationManager a] 16.648 04-16 19:08:24.295 8197 8427 D TSLocationManager: [c.t.l.l.TSLocationManager a] 0.0 04-16 19:08:24.306 8197 8427 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates] 04-16 19:08:24.306 8197 8427 I TSLocationManager: 🎾 Location-services: ON 04-16 19:08:24.308 8197 8427 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0 04-16 19:08:24.312 8197 8354 I TSLocationManager: [c.t.locationmanager.data.a.c persist] 04-16 19:08:24.312 8197 8354 I TSLocationManager: ✅ INSERT: 6b20c3b2-5e3b-4d1f-9957-564c8d9333bb 04-16 19:08:24.317 8197 8197 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%) 04-16 19:08:24.348 8197 8460 D TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:08:24.348 8197 8460 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:24.348 8197 8460 D TSLocationManager: ║ LocationService: location 04-16 19:08:24.348 8197 8460 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:24.348 8197 8460 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=12 et=+38m30s243ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 19ms, time: 1555456104328 04-16 19:08:24.351 8197 8460 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:08:24.351 8197 8460 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:24.351 8197 8460 D TSLocationManager: ║ Process LocationResult 04-16 19:08:24.351 8197 8460 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:24.352 8197 8460 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:08:24.352 8197 8460 D TSLocationManager: ℹ️ IGNORED: same as last location 04-16 19:08:24.355 8197 8460 I TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:08:24.355 8197 8460 I TSLocationManager: ℹ️ Location availability: true 04-16 19:08:25.547 8197 8197 I TSLocationManager: [c.t.l.a.BackgroundGeolocation onActivityDestroy] 04-16 19:08:25.547 8197 8197 I TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:25.547 8197 8197 I TSLocationManager: ║ MainActivity was destroyed 04-16 19:08:25.547 8197 8197 I TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:25.547 8197 8197 I TSLocationManager: ╟─ stopOnTerminate: true 04-16 19:08:25.547 8197 8197 I TSLocationManager: ╟─ enabled: true 04-16 19:08:25.551 8197 8197 D TSLocationManager: [c.t.l.a.BackgroundGeolocation c] 04-16 19:08:25.551 8197 8197 D TSLocationManager: 🔴 Cleared callbacks 04-16 19:08:25.554 8197 8197 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO 04-16 19:08:25.561 8197 8197 I TSLocationManager: [c.t.l.s.TSScheduleManager b] 04-16 19:08:25.561 8197 8197 I TSLocationManager: 🔴 Scheduler OFF 04-16 19:08:28.467 8197 8197 D TSLocationManager: [c.t.l.BackgroundGeolocationService onDestroy] 04-16 19:08:28.467 8197 8197 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:28.467 8197 8197 D TSLocationManager: ║ BackgroundGeolocationService destroyed 04-16 19:08:28.467 8197 8197 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:28.469 8197 8197 D TSLocationManager: [c.t.l.BackgroundGeolocationService r] 04-16 19:08:28.469 8197 8197 D TSLocationManager: 🔴 Unregister PowerSaveChangeReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$1@507a963 04-16 19:08:28.470 8197 8197 D TSLocationManager: [c.t.l.BackgroundGeolocationService r] 04-16 19:08:28.470 8197 8197 D TSLocationManager: 🔴 Unregister ConnectivityReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$2@f717960 04-16 19:08:28.472 8197 8197 I TSLocationManager: [c.t.l.ActivityRecognitionService b] 04-16 19:08:28.472 8197 8197 I TSLocationManager: 🔴 Stop activity updates 04-16 19:08:28.474 8197 8197 I TSLocationManager: [c.t.l.l.TSLocationManager d] 04-16 19:08:28.474 8197 8197 I TSLocationManager: 🔴 Location-services: OFF 04-16 19:08:28.476 8197 8197 D TSLocationManager: [c.t.l.g.TSGeofenceManager b] 04-16 19:08:28.476 8197 8197 D TSLocationManager: 🔴 Stop monitoring geofences 04-16 19:08:28.479 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService k] 04-16 19:08:28.479 8197 8197 I TSLocationManager: 🔴 Stop heartbeat
restarting the app again
04-16 19:08:59.047 8197 8197 D TSLocationManager: [c.t.l.adapter.TSConfig c] ℹ️ Persist config 04-16 19:08:59.054 8197 8197 D TSLocationManager: [c.t.l.a.BackgroundGeolocation ready] LocationPermission :true 04-16 19:08:59.060 8197 8429 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:08:59.060 8197 8429 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:08:59.150 8197 8197 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:08:59.150 8197 8197 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:08:59.152 8197 8354 I TSLocationManager: - Enable: false → true, trackingMode: 1 04-16 19:08:59.243 8197 8197 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult] 04-16 19:08:59.243 8197 8197 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:59.243 8197 8197 D TSLocationManager: ║ SingleLocationRequest: 9 04-16 19:08:59.243 8197 8197 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:59.243 8197 8197 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=20 et=+39m5s61ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[{requestId=9, verticalAccuracy=40.0}]}], age: 93ms, time: 1555456139000 04-16 19:08:59.244 8197 8427 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 04-16 19:08:59.244 8197 8427 I TSLocationManager: 🔵 Acquired current position 04-16 19:08:59.246 8197 8427 D TSLocationManager: [c.t.l.l.TSLocationManager a] 16.6255 04-16 19:08:59.248 8197 8427 D TSLocationManager: [c.t.l.l.TSLocationManager a] 0.0 04-16 19:08:59.406 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService onStartCommand] 04-16 19:08:59.406 8197 8197 I TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:59.406 8197 8197 I TSLocationManager: ║ BackgroundGeolocation Service started 04-16 19:08:59.406 8197 8197 I TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:59.409 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService d] 04-16 19:08:59.409 8197 8197 I TSLocationManager: ✅ Started in foreground 04-16 19:08:59.423 8197 8197 I TSLocationManager: [c.t.l.ActivityRecognitionService a] 04-16 19:08:59.423 8197 8197 I TSLocationManager: 🎾 Start activity updates: 0 04-16 19:08:59.433 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService k] 04-16 19:08:59.433 8197 8197 I TSLocationManager: 🔴 Stop heartbeat 04-16 19:08:59.437 8197 8197 I TSLocationManager: [c.t.l.BackgroundGeolocationService a] 04-16 19:08:59.437 8197 8197 I TSLocationManager: 🔵 setPace: null → true 04-16 19:08:59.439 8197 8197 D TSLocationManager: [c.t.l.adapter.TSConfig c] ℹ️ Persist config 04-16 19:08:59.442 8197 8197 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:08:59.442 8197 8197 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:08:59.519 8197 8197 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult] 04-16 19:08:59.519 8197 8197 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:59.519 8197 8197 D TSLocationManager: ║ SingleLocationRequest: 10 04-16 19:08:59.519 8197 8197 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:59.519 8197 8197 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=17 et=+39m5s380ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[{requestId=10, verticalAccuracy=40.0}]}], age: 48ms, time: 1555456140000 04-16 19:08:59.521 8197 8427 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 04-16 19:08:59.521 8197 8427 I TSLocationManager: 🔵 Acquired motionchange position, isMoving: true 04-16 19:08:59.527 8197 8427 D TSLocationManager: [c.t.l.l.TSLocationManager a] 16.603 04-16 19:08:59.533 8197 8427 D TSLocationManager: [c.t.l.l.TSLocationManager a] 0.0 04-16 19:08:59.547 8197 8427 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates] 04-16 19:08:59.547 8197 8427 I TSLocationManager: 🎾 Location-services: ON 04-16 19:08:59.550 8197 8427 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0 04-16 19:08:59.555 8197 8429 I TSLocationManager: [c.t.locationmanager.data.a.c persist] 04-16 19:08:59.555 8197 8429 I TSLocationManager: ✅ INSERT: 39ef3b8c-e69e-4294-9528-72667719ec69 04-16 19:08:59.573 8197 8484 D TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:08:59.573 8197 8484 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:59.573 8197 8484 D TSLocationManager: ║ LocationService: location 04-16 19:08:59.573 8197 8484 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:59.573 8197 8484 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=17 et=+39m5s481ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 6ms, time: 1555456139567 04-16 19:08:59.575 8197 8484 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:08:59.575 8197 8484 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:08:59.575 8197 8484 D TSLocationManager: ║ Process LocationResult 04-16 19:08:59.575 8197 8484 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:08:59.577 8197 8484 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:08:59.577 8197 8484 D TSLocationManager: ℹ️ IGNORED: same as last location 04-16 19:08:59.580 8197 8484 I TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:08:59.580 8197 8484 I TSLocationManager: ℹ️ Location availability: true 04-16 19:08:59.976 8197 8428 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%) 04-16 19:08:59.977 8197 8344 I TSLocationManager: [c.t.l.l.TSLocationManager d] 04-16 19:08:59.977 8197 8344 I TSLocationManager: 🔴 Location-services: OFF 04-16 19:08:59.978 8197 8344 I TSLocationManager: [c.t.l.BackgroundGeolocationService k] 04-16 19:08:59.978 8197 8344 I TSLocationManager: 🔴 Stop heartbeat 04-16 19:08:59.982 8197 8344 I TSLocationManager: [c.t.l.BackgroundGeolocationService a] 04-16 19:08:59.982 8197 8344 I TSLocationManager: 🔵 setPace: true → true 04-16 19:08:59.994 8197 8344 D TSLocationManager: [c.t.l.adapter.TSConfig c] ℹ️ Persist config 04-16 19:08:59.998 8197 8344 D TSLocationManager: [c.t.locationmanager.util.b a] 04-16 19:08:59.998 8197 8344 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 04-16 19:09:00.291 8197 8197 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult] 04-16 19:09:00.291 8197 8197 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:09:00.291 8197 8197 D TSLocationManager: ║ SingleLocationRequest: 11 04-16 19:09:00.291 8197 8197 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:09:00.291 8197 8197 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=14 et=+39m6s201ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[{requestId=11, verticalAccuracy=40.0}]}], age: 2ms, time: 1555456141000 04-16 19:09:00.292 8197 8427 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 04-16 19:09:00.292 8197 8427 I TSLocationManager: 🔵 Acquired motionchange position, isMoving: true 04-16 19:09:00.293 8197 8427 D TSLocationManager: [c.t.l.l.TSLocationManager a] 16.6255 04-16 19:09:00.294 8197 8427 D TSLocationManager: [c.t.l.l.TSLocationManager a] 0.0 04-16 19:09:00.304 8197 8427 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates] 04-16 19:09:00.304 8197 8427 I TSLocationManager: 🎾 Location-services: ON 04-16 19:09:00.307 8197 8427 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0 04-16 19:09:00.309 8197 8429 I TSLocationManager: [c.t.locationmanager.data.a.c persist] 04-16 19:09:00.309 8197 8429 I TSLocationManager: ✅ INSERT: 75c3ce0b-fb21-4774-8d86-f219bf1ac1c5 04-16 19:09:00.309 8197 8197 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (100%) 04-16 19:09:00.327 8197 8493 D TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:09:00.327 8197 8493 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:09:00.327 8197 8493 D TSLocationManager: ║ LocationService: location 04-16 19:09:00.327 8197 8493 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:09:00.327 8197 8493 D TSLocationManager: ╟─ 📍 Location[fused 37.421998,-122.084000 hAcc=14 et=+39m6s236ms alt=5.0 vel=0.0 vAcc=40 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 4ms, time: 1555456140322 04-16 19:09:00.329 8197 8493 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:09:00.329 8197 8493 D TSLocationManager: ╔═════════════════════════════════════════════ 04-16 19:09:00.329 8197 8493 D TSLocationManager: ║ Process LocationResult 04-16 19:09:00.329 8197 8493 D TSLocationManager: ╠═════════════════════════════════════════════ 04-16 19:09:00.330 8197 8493 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 04-16 19:09:00.330 8197 8493 D TSLocationManager: ℹ️ IGNORED: same as last location 04-16 19:09:00.332 8197 8493 I TSLocationManager: [c.t.l.LocationService onLocation] 04-16 19:09:00.332 8197 8493 I TSLocationManager: ℹ️ Location availability: true
Your Environment
tns info
):✔ Getting NativeScript components versions information... ⚠ Update available for component nativescript. Your current version is 5.3.1 and the latest available version is 5.3.2. ✔ Component tns-core-modules has 5.3.1 version and is up to date. ✔ Component tns-android has 5.3.1 version and is up to date. ⚠ Update available for component tns-ios. Your current version is 5.1.0 and the latest available version is 5.3.1.
Plugin config
Expected Behavior
Same behavior as in Android 8, namely that the app quits completely.
Actual Behavior
If I open the app and do not start geolocation and kill the app by swiping up, it is properly killed and I can restart it and get the expected behavior.
If I open the app, start geolocation, and then swipe the app up, it goes into what appears to be a partially killed state. The app is still listed for a short time in the System -> Developer -> Running Services list but if I then start the app again by tapping the app icon, I continue to get debugging messages from the previous instance and it comes up in an inconsistent state. (firebase complains about being initialized as does sqlite)
If I then swipe the app away again, it properly terminates. I no longer get any debugging messages and if I then tap on the app icon if fires up a fresh instance that works as expected. (firebase and sqlite don't complain about existing connections)
If I set "stopOnTerminate: false", then the app never disappears from the Running Services list no matter how many times I swipe it away. (As I suspect is the intended behavior.)
Under Android 8, even with stopOnTerminate: false and foregroundService: true, the app is properly killed.
Steps to Reproduce
Context
I suspect there is something about Android I do not understand. (This goes back to a documentation issue I filed with the cordova background geolocation project).
My suspicion is that this is probably an Android 9.0 bug or some change I'm unaware of since it works just fine under Android 8.
Debug logs