{ "id": "166987", "key": "TIMOB-24564", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "2017-04-06T23:11:10.000+0000", "priority": null, "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:09.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": "I need to guarantee that GPS positions being provided are not spoofed in my app.\r\n\r\nIt would be fantastic if a simple boolean could be returned to say that location data was being mocked. \r\n\r\nI did a search around and this seems relatively simple to do; see [http://stackoverflow.com/questions/6880232/disable-check-for-mock-location-prevent-gps-spoofing]\r\n\r\nSince API 18, the object Location has the method .isFromMockProvider() so you can filter out fake locations, but this is not exposed to us via the Appcelerator API\r\n", "attachment": [], "flagged": false, "summary": "GPS mock location detection", "creator": { "name": "greg@snapithd.com", "key": "greg@snapithd.com", "displayName": "greg", "active": true, "timeZone": "Pacific/Auckland" }, "subtasks": [], "reporter": { "name": "greg@snapithd.com", "key": "greg@snapithd.com", "displayName": "greg", "active": true, "timeZone": "Pacific/Auckland" }, "environment": "Android", "comment": { "comments": [ { "id": "417027", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Thanks for submitting the request. Our Engineers will consider it. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-04-07T14:47:31.000+0000", "updated": "2017-04-07T14:47:31.000+0000" }, { "id": "417075", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "We could use [this check|http://stackoverflow.com/a/16776891/5537752] to do it. Feel free to submit a PR for this feature! ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-09T13:40:18.000+0000", "updated": "2017-04-09T13:40:18.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }