{"action":"created","issue":{"url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/637","repository_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt","labels_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/637/labels{/name}","comments_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/637/comments","events_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/637/events","html_url":"https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/637","id":310334077,"number":637,"title":"Can't get coords after terminating the app","user":{"login":"HamzaLJ","id":17797937,"avatar_url":"https://avatars2.githubusercontent.com/u/17797937?v=4","gravatar_id":"","url":"https://api.github.com/users/HamzaLJ","html_url":"https://github.com/HamzaLJ","followers_url":"https://api.github.com/users/HamzaLJ/followers","following_url":"https://api.github.com/users/HamzaLJ/following{/other_user}","gists_url":"https://api.github.com/users/HamzaLJ/gists{/gist_id}","starred_url":"https://api.github.com/users/HamzaLJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HamzaLJ/subscriptions","organizations_url":"https://api.github.com/users/HamzaLJ/orgs","repos_url":"https://api.github.com/users/HamzaLJ/repos","events_url":"https://api.github.com/users/HamzaLJ/events{/privacy}","received_events_url":"https://api.github.com/users/HamzaLJ/received_events","type":"User","site_admin":false},"labels":[{"id":252053175,"url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-01T16:00:02Z","updated_at":"2018-04-01T16:24:51Z","closed_at":"2018-04-01T16:20:54Z","author_association":"NONE","body":"## Your Environment\r\n* Plugin version: 2.1.0\r\n* Platform: Android \r\n* OS version: 7.0.1\r\n* Device manufacturer / model: Motorola\r\n* Cordova version (`cordova -v`): 7.1.0\r\n* Plugin config\r\n  \r\n          debug: true,\r\n          desiredAccuracy: 0,\r\n          distanceFilter: 3,\r\n          mock:true,\r\n          stopOnTerminate: false,\r\n\r\n## Expected Behavior\r\nShould get coords even after terminating the app.\r\n\r\n## Actual Behavior\r\nAfter terminating the app, the app does seems to get coords anymore.\r\n\r\n\r\n## Debug logs\r\n- Android: $ adb logcat\r\n\r\n04-01 15:54:50.588  5583  6561 D TSLocationManager: ║ LocationService: location:1007\r\n04-01 15:54:50.588  5583  6561 D TSLocationManager: ╠═════════════════════════════════════════════\r\n04-01 15:54:50.588  5583  6561 D TSLocationManager: ╟─ 📍  Location[fused 35.778828,-5.819935 acc=31 et=+19h50m22s534ms alt=0.0 vel=13.89 bear=164.0 mock {Bundle[{mockLocation=true, requestId=1007, verticalAccuracy=62.616}]}], age: 115ms, time: 1522594490456\r\n04-01 15:54:50.611  5583  6561 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] \r\n04-01 15:54:50.611  5583  6561 I TSLocationManager:   🔵  Acquired providerchange position\r\n04-01 15:54:50.636  5583  6561 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] 45.863\r\n04-01 15:54:50.672  5583  5636 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO\r\n04-01 15:54:50.689  5583  6563 I TSLocationManager: [c.t.l.d.s.SQLiteLocationDAO persist] \r\n04-01 15:54:50.689  5583  6563 I TSLocationManager:   ✅  INSERT: 953fe474-1f21-4e4c-aca6-c79e31fcdfdd\r\n04-01 15:55:29.995  5583  6862 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO\r\n04-01 15:55:30.030  5583  5636 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] still (48%)\r\n04-01 15:55:30.048  5583  5636 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/comments/377798223","html_url":"https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/637#issuecomment-377798223","issue_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/637","id":377798223,"user":{"login":"christocracy","id":14999,"avatar_url":"https://avatars1.githubusercontent.com/u/14999?v=4","gravatar_id":"","url":"https://api.github.com/users/christocracy","html_url":"https://github.com/christocracy","followers_url":"https://api.github.com/users/christocracy/followers","following_url":"https://api.github.com/users/christocracy/following{/other_user}","gists_url":"https://api.github.com/users/christocracy/gists{/gist_id}","starred_url":"https://api.github.com/users/christocracy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christocracy/subscriptions","organizations_url":"https://api.github.com/users/christocracy/orgs","repos_url":"https://api.github.com/users/christocracy/repos","events_url":"https://api.github.com/users/christocracy/events{/privacy}","received_events_url":"https://api.github.com/users/christocracy/received_events","type":"User","site_admin":false},"created_at":"2018-04-01T16:24:51Z","updated_at":"2018-04-01T16:24:51Z","author_association":"OWNER","body":"Btw, you can easily configure the plugin to post to my test-server so you can quickly visualize your tracking.  See [this blog entry](https://shop.transistorsoft.com/blogs/news/background-geolocation-console)"}}
{"actor":{"display_login":"christocracy"}}