{ "id": "175528", "key": "TIMOB-28125", "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": "2020-09-10T22:37:22.000+0000", "epic": { "id": 175512, "key": "TIMOB-28114", "name": "TiAPI: Geolocation Parity", "summary": "TiAPI: Geolocation Parity", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "Low", "id": "4" }, "labels": [ "accuracy", "geolocation", "iOS", "parity" ], "versions": [ { "id": "21051", "description": "", "name": "Release 9.2.0", "archived": false, "released": true, "releaseDate": "2020-09-23" } ], "issuelinks": [ { "id": "58723", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175518", "key": "TIMOB-28117", "fields": { "summary": "Android: Add all Ti.Geolocation accuracy constants supported by iOS", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-02-22T19:01:15.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": "*Summary:*\r\nAs of Titanium 9.2.0, we added {{Ti.Geolocation}} constant [ACCURACY_REDUCED|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-property-ACCURACY_REDUCED] which is only supported on iOS 14 and higher. Attempting to use it on older iOS versions will cause a crash. This is by design, but it would better to support this constant on older iOS versions to make the permission handling code easier to write.\r\n\r\n*Proposal:*\r\nOn iOS versions older than 14, Titanium should fallback to using {{ACCURACY_LOW}} when [Ti.Geolocation.accuracy|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-property-accuracy] is assigned the {{ACCURACY_REDUCED}} constant. This is the closest equivalent.\r\n\r\n*Note:*\r\nWe plan on adding all of the iOS only accuracy constants to Android via ticket [TIMOB-28117] for parity.\r\n", "attachment": [], "flagged": false, "summary": "iOS: Add Ti.Geolocation constant \"ACCURACY_REDUCED\" support to iOS 13 and older", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }