{ "id": "119305", "key": "TIMOB-15007", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2013-08-30T09:54:52.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:16.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "As part of CLOUDSRV-1807, we need Titanium to provide a way on the iOS and Android side to enable a background services to retrieve device geolocation information periodically.\r\n\r\nWe will need latitude, longitude, current city, current state, current country, and ZIP information provided as a callback inside a fired event, so that we can write code to update geolocation information into ACS side.\r\n\r\nSuggested Method:\r\n- Ti.LocationServices.startTracingLocation(Ti.LocationServices.TracingMethod.STANDARD)\r\n- Ti.LocationServices.startTracingLocation(Ti.LocationServices.TracingMethod.LOCATION_SIGNIFICATE_CHANGE)\r\n- Ti.LocationServices.startTracingLocation(Ti.LocationServices.TracingMethod.CUSTOMIZE, 5) // trigger callback every 5 mins\r\n- Ti.LocationServices.stopTracingLocation()\r\n- Ti.LocationServices.enabledTracingLocation() // return status\r\n\r\nSuggested Callback information:\r\n- Longitude\r\n- Latitude\r\n- City\r\n- State\r\n- Zip\r\n- Country\r\n- Timezone", "attachment": [], "flagged": false, "summary": "Enable retrieving location information periodically on both iOS and Android side as a background service", "creator": { "name": "plv", "key": "plv", "displayName": "Paul Lv", "active": false, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "plv", "key": "plv", "displayName": "Paul Lv", "active": false, "timeZone": "Asia/Shanghai" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }