{ "id": "167542", "key": "TIMOB-24675", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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-05-10T13:19:50.000+0000", "priority": null, "labels": [], "versions": [ { "id": "19333", "description": "Patch release for important items that did not make it into 6.0.3", "name": "Release 6.0.4", "archived": false, "released": true, "releaseDate": "2017-04-27" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:50.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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When you ask if permission has been given for \"WHEN_IN_USE\" with Ti.Geolocation.hasLocationPermissions when in fact \"ALWAYS\" has been approved you get false. But, technically, when the user approves \"ALWAYS\" both ALWAYS and WHEN_IN_USE are approved, not only ALWAYS, as we're still allowed to get geolocation when the app is in use.", "attachment": [], "flagged": false, "summary": "iOS: Ti.Geolocation.hasLocationPermissions returns false for WHEN_IN_USE when ALWAYS is approved", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iOS ", "comment": { "comments": [ { "id": "419474", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "We only pass the flags to the native API, so I guess Apple decides between both location-types. Let us check that anyway.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-10T16:29:25.000+0000", "updated": "2017-05-10T16:29:25.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }