{ "id": "175522", "key": "TIMOB-28121", "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-10T05:57:59.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": [ "android", "geolocation", "parity", "permission" ], "versions": [ { "id": "21051", "description": "", "name": "Release 9.2.0", "archived": false, "released": true, "releaseDate": "2020-09-23" } ], "issuelinks": [ { "id": "58719", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "175520", "key": "TIMOB-28119", "fields": { "summary": "Android: Add Ti.Geolocation.locationAccuracyAuthorization support", "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-22T18:36:56.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\nAs of Titanium 9.2.0, we added the [requestTemporaryFullAccuracyAuthorization()|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-method-requestTemporaryFullAccuracyAuthorization] method for iOS 14 which was intended to request the end-user for permission to use the GPS in case access has expired or was disabled. We should add this method to Android for parity to make it easier to write cross-platform code.\r\n\r\n*To-Do:*\r\nOn Android, the [Ti.Geolocation.requestTemporaryFullAccuracyAuthorization()|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-method-requestTemporaryFullAccuracyAuthorization] method should just call the native [Ti.Geolocation.requestLocationPermissions()|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Geolocation-method-requestLocationPermissions] method, which requests the end-user for the {{\"android.permission.ACCESS_FINE_LOCATION\"}} permission. This is the closest equivalent on Android.\r\n\r\n*Note:*\r\nOn Android, the {{\"android.permission.ACCESS_FINE_LOCATION\"}} and {{\"android.permission.ACCESS_COARSE_LOCATION\"}} permissions are always granted together. The end-user is unable to deny the FINE permission and keep the COARSE permission afterwards. They can only be both denied together afterwards. So, this isn't something we have to worry about on this platform.\r\n", "attachment": [], "flagged": false, "summary": "Android: Add Ti.Geolocation.requestTemporaryFullAccuracyAuthorization() support", "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 } } }