{"action":"created","issue":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/146","repository_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation","labels_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/146/comments","events_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/146/events","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/146","id":171005552,"number":146,"title":"Background Geolocation Success callback issue","user":{"login":"msviswanath","id":11169542,"avatar_url":"https://avatars.githubusercontent.com/u/11169542?v=3","gravatar_id":"","url":"https://api.github.com/users/msviswanath","html_url":"https://github.com/msviswanath","followers_url":"https://api.github.com/users/msviswanath/followers","following_url":"https://api.github.com/users/msviswanath/following{/other_user}","gists_url":"https://api.github.com/users/msviswanath/gists{/gist_id}","starred_url":"https://api.github.com/users/msviswanath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msviswanath/subscriptions","organizations_url":"https://api.github.com/users/msviswanath/orgs","repos_url":"https://api.github.com/users/msviswanath/repos","events_url":"https://api.github.com/users/msviswanath/events{/privacy}","received_events_url":"https://api.github.com/users/msviswanath/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-13T11:50:04Z","updated_at":"2016-08-17T19:10:09Z","closed_at":null,"body":"When the app is in closed state the following script is not working.\r\n\r\nvar loptions: {\r\n      desiredAccuracy: 7, //In Meters\r\n      stationaryRadius: 1, //In Meters\r\n      distanceFilter: 1,\r\n      locationTimeout: 10,\r\n      interval: 10,\r\n      fastestInterval: 8,\r\n      activitiesInterval: 10,\r\n      debug: true,\r\n      notificationTitle: 'tracking',\r\n      notificationText: 'enabled',\r\n      notificationIconColor: '#FEDD1E',\r\n      notificationIconLarge: 'mappointer_large',\r\n      notificationIconSmall: 'mappointer_small',\r\n      locationProvider: 'ANDROID_ACTIVITY_PROVIDER', \r\n      stopOnTerminate: false,\r\n      startOnBoot: false,\r\n      startForeground: true,\r\n      stopOnStillActivity: true,\r\n      activityType: 'AutomotiveNavigation',\r\n      //url:'https://example.com/locations',\r\n     // httpHeaders: { 'X-FOO': 'bar' },\r\n      saveBatteryOnBackground: false\r\n    },\r\n\r\n\r\nbackgroundGeolocation.configure(function (obj) {\r\n       \t$.post('https://example.com/locations', JSON.stringify(obj));   **//This post call is not executing in background thread**\r\n      \tbackgroundGeolocation.finish();\r\n      }, function (reason) {\r\n         alert('Unable to get location ' + reason);\r\n      }, opt);\r\n\r\n\r\nbackgroundGeolocation.start();\r\n\r\nIs there any specific problem in the configurations ? If yes, how do we resolve?"},"comment":{"url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/comments/240515618","html_url":"https://github.com/mauron85/cordova-plugin-background-geolocation/issues/146#issuecomment-240515618","issue_url":"https://api.github.com/repos/mauron85/cordova-plugin-background-geolocation/issues/146","id":240515618,"user":{"login":"klidifia","id":1428056,"avatar_url":"https://avatars.githubusercontent.com/u/1428056?v=3","gravatar_id":"","url":"https://api.github.com/users/klidifia","html_url":"https://github.com/klidifia","followers_url":"https://api.github.com/users/klidifia/followers","following_url":"https://api.github.com/users/klidifia/following{/other_user}","gists_url":"https://api.github.com/users/klidifia/gists{/gist_id}","starred_url":"https://api.github.com/users/klidifia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klidifia/subscriptions","organizations_url":"https://api.github.com/users/klidifia/orgs","repos_url":"https://api.github.com/users/klidifia/repos","events_url":"https://api.github.com/users/klidifia/events{/privacy}","received_events_url":"https://api.github.com/users/klidifia/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T19:10:08Z","updated_at":"2016-08-17T19:10:08Z","body":"Hey you need to include more information. You haven't even mentioned Android / iOS / both? Please advise."}}
{"actor":{"display_login":"klidifia"}}