{ "id": "175518", "key": "TIMOB-28117", "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-10T04:32:06.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", "android", "geolocation", "parity" ], "versions": [], "issuelinks": [ { "id": "58723", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "175528", "key": "TIMOB-28125", "fields": { "summary": "iOS: Add Ti.Geolocation constant \"ACCURACY_REDUCED\" support to iOS 13 and older", "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:00:37.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Summary:*\r\nWhen assigning the [Ti.Geolocation.accuracy|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-property-accuracy] property, Android only supports 2 of the 9 documented {{ACCURACY_*}} constants which are:\r\n* [ACCURCY_LOW|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-property-ACCURACY_LOW]\r\n* [ACCURACY_HIGH|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-property-ACCURACY_HIGH]\r\n\r\nWe should also add the following constants for parity.\r\n* [ACCURACY_REDUCED|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-property-ACCURACY_REDUCED]\r\n* [ACCURACY_BEST|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-property-ACCURACY_BEST]\r\n* [ACCURACY_BEST_FOR_NAVIGATION |https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-property-ACCURACY_BEST_FOR_NAVIGATION]\r\n* [ACCURACY_HUNDRED_METERS |https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-property-ACCURACY_HUNDRED_METERS]\r\n* [ACCURACY_KILOMETER |https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-property-ACCURACY_KILOMETER]\r\n* [ACCURACY_NEAREST_TEN_METERS |https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-property-ACCURACY_NEAREST_TEN_METERS]\r\n* [ACCURACY_THREE_KILOMETERS |https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-property-ACCURACY_THREE_KILOMETERS]\r\n\r\n*Notes:*\r\n* Distance based accuracy constants will be easy to add since Android's APIs supports this as well. \r\n* The BEST based constants we'll have to research what distance values iOS uses so that we can set the equivalent on Android.\r\n* The iOS 14 based ACCURACY_REDUCED constant is documented to be around 20 km.\r\nThe location tracking might come from the Internet Service Provider instead of the GPS as well.\r\n", "attachment": [], "flagged": false, "summary": "Android: Add all Ti.Geolocation accuracy constants supported by iOS", "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 } } }