{"action":"created","issue":{"url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/457","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/457/labels{/name}","comments_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/457/comments","events_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/457/events","html_url":"https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/457","id":254644406,"number":457,"title":"App does not store & send coordinates in background","user":{"login":"ymeijers","id":31541894,"avatar_url":"https://avatars1.githubusercontent.com/u/31541894?v=4","gravatar_id":"","url":"https://api.github.com/users/ymeijers","html_url":"https://github.com/ymeijers","followers_url":"https://api.github.com/users/ymeijers/followers","following_url":"https://api.github.com/users/ymeijers/following{/other_user}","gists_url":"https://api.github.com/users/ymeijers/gists{/gist_id}","starred_url":"https://api.github.com/users/ymeijers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymeijers/subscriptions","organizations_url":"https://api.github.com/users/ymeijers/orgs","repos_url":"https://api.github.com/users/ymeijers/repos","events_url":"https://api.github.com/users/ymeijers/events{/privacy}","received_events_url":"https://api.github.com/users/ymeijers/received_events","type":"User","site_admin":false},"labels":[{"id":493808234,"url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/labels/Waiting%20for%20feedback","name":"Waiting for feedback","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-09-01T13:41:47Z","updated_at":"2017-09-08T18:48:57Z","closed_at":null,"author_association":"NONE","body":"With most of our phone it is working but now I have one android device that gives this error on activating the screen again.<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Your Environment\r\n* Plugin version: 2.8.2\r\n* Platform: Android\r\n* OS version: 6.0.1\r\n* Device manufacturer / model: HTC M8 \r\n* Cordova version (`cordova -v`): 7.0.1\r\n* Cordova platform version (`cordova platform ls`): 6.2.3 \r\n* Plugin config\r\n\r\n```javascript\r\nbgGeo.configure({\r\n\t\t\t// Geolocation config\r\n\t\t\tdisableElasticity: false,\r\n\t\t\tstationaryRadius: 1,  //todo should be back to 10\r\n\t\t\t// Activity Recognition config\r\n\t\t\tlocationUpdateInterval: 5000, //update every 3 second...\r\n\t\t\tfastestLocationUpdateInterval: 5000,\r\n\t\t\t// Application config\r\n\t\t\tdebug: false, // <-- Debug sounds & notifications.\r\n\t\t\tdesiredAccuracy: 0,\r\n\t\t\tdistanceFilter: 5,\r\n\t\t\tstopAfterElapsedMinutes: 120,\r\n\t\t\tactivityRecognitionInterval: 5000,\r\n\t\t\tminimumActivityRecognitionConfidence: 75,\r\n\t\t\tstopDetectionDelay: 0,\r\n\t\t\tstopOnTerminate: false,\r\n\t\t\tstartOnBoot: false,\r\n\t\t\tschedule: null,\r\n\t\t\t//iOS\r\n\t\t\tlocationAuthorizationRequest: \"Always\",\r\n\t\t\tlocationAuthorizationAlert: {\r\n\t\t\t\ttitleWhenNotEnabled: f_translateMessage(\"GEOLOCATION_TITLEWHENNOTENABLED\"), //\"Location services not enabled\",\r\n\t\t\t\ttitleWhenOff: f_translateMessage(\"GEOLOCATION_TITLEWHENOFF\"), //\"Location services are off\",\r\n\t\t\t\tinstructions: f_translateMessage(\"GEOLOCATION_INSTRUCTIONS\"), //\"To use this app, you must enable 'Always' in the location service settings.\",\r\n\t\t\t\tcancelButton: f_translateMessage(\"GEOLOCATION_CANCEL\"), //\"Cancel\",\r\n\t\t\t\tsettingsButton: f_translateMessage(\"GEOLOCATION_SETTINGS\")//\"Settings\"\r\n\t\t\t},\r\n\t\t\tbatchSync: false,\r\n\t\t\tautoSync: true,\r\n\t\t\tautoSyncThreshold: 100,\r\n\t\t\turl: f_baseUrl('RS_GEO'),\r\n\t\t\tparams: {\r\n\t\t\t\tinfo: {\r\n\t\t\t\t\trecordowner: window.recordOwner\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t}, function (state) {\r\n\r\n\t\t\tf_startBackgroundLocation();\r\n\t\t\t\r\n\t\t});\r\n```\r\n## Expected Behavior\r\nIn the background I except the device to store & send the coordinates to our webservice\r\n<!--- Tell us what should happen -->\r\n\r\n## Actual Behavior\r\nIn the background the app does nothing\r\n<!--- Tell us what happens instead -->\r\n\r\n## Steps to Reproduce\r\nPut your telephone in sleep and the active the screen again\r\n<!--- reproduce this issue; include code to reproduce, if relevant -->\r\n\r\n## Context\r\nIn the background store & send the coordinates to our webservice\r\n<!--- What were you trying to do? -->\r\n\r\n## Debug logs\r\n\r\n09-01 14:51:48.438 1837-2304/com.google.android.gms.persistent E/LocationClientHelper: exception when setting module id\r\n                                                                                       java.lang.IllegalStateException: Unable to get current module info in ModuleManager created with non-module Context\r\n                                                                                           at com.google.android.chimera.config.ModuleManager.getCurrentModule(:com.google.android.gms:1)\r\n                                                                                           at vbv.a(:com.google.android.gms:17)\r\n                                                                                           at vbz.b(:com.google.android.gms:13)\r\n                                                                                           at vaw.a(:com.google.android.gms:4)\r\n                                                                                           at lhn.b(:com.google.android.gms:3)\r\n                                                                                           at lip.b(:com.google.android.gms:14)\r\n                                                                                           at ljm.b(:com.google.android.gms:7)\r\n                                                                                           at lje.b(:com.google.android.gms:38)\r\n                                                                                           at vka.a(:com.google.android.gms:6)\r\n                                                                                           at vjz.b(:com.google.android.gms:1)\r\n                                                                                           at vjz.a(:com.google.android.gms:1)\r\n                                                                                           at vjz.a(:com.google.android.gms:15)\r\n                                                                                           at vkj.a(:com.google.android.gms:8)\r\n                                                                                           at alwf.handleMessage(:com.google.android.gms:21)\r\n                                                                                           at android.os.Handler.dispatchMessage(Handler.java:102)\r\n                                                                                           at amxw.dispatchMessage(:com.google.android.gms:7)\r\n                                                                                           at android.os.Looper.loop(Looper.java:148)\r\n                                                                                           at android.os.HandlerThread.run(HandlerThread.java:61)\r\n<!-- include iOS / Android logs\r\n- ios XCode logs, \r\n- use #getLog #emailLog methods (@see docs)\r\n- Android: $ adb logcat\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/comments/328183318","html_url":"https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/457#issuecomment-328183318","issue_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/457","id":328183318,"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":"2017-09-08T18:42:22Z","updated_at":"2017-09-08T18:42:22Z","author_association":"OWNER","body":"`HTTPService is busy` is a perfectly normal thing to see.\r\n\r\nYou're having a problem contacting your server:\r\n```\r\n09-08 20:10:16.243 WARN [HttpService$a onFailure] \r\n  ⚠️  Response: 0, connect timed out\r\n```"}}
{"actor":{"display_login":"christocracy"}}