{ "id": "173415", "key": "TIMOB-26955", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": [ { "id": "20832", "name": "Release 8.3.0", "archived": false, "released": true, "releaseDate": "2019-11-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-09-09T17:22:12.000+0000", "created": "2019-03-30T00:57:12.000+0000", "epic": { "id": 170944, "key": "TIMOB-25712", "name": "Support Android Next", "summary": "Android: Support Android Q", "color": { "key": "color_5" }, "done": false }, "priority": { "name": "None", "id": "6" }, "labels": [ "android", "geolocation", "location", "permission" ], "versions": [], "issuelinks": [ { "id": "57468", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "173201", "key": "TIMOB-26902", "fields": { "summary": "Android Q: Support new location permissions", "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": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-09-09T17:22:12.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Summary:*\r\nAndroid Q introduces the following new \"AndroidManifest.xml\" permission...\r\n{code:xml}\r\n\r\n{code}\r\n\r\nThis permission is needed to collect \"location\" data while the app is in the background. This permission is not needed if the app is currently running a \"foreground\" service.\r\nhttps://developer.android.com/preview/privacy/device-location#request-background-location\r\n\r\n*To Do:*\r\n# Verify what happens when collecting \"location\" data from {{Ti.Geolocation}} in a backgrounded Titanium app without this permission defined in the \"AndroidManifest.xml\". _(Should not crash. Should log an error instead.)_\r\n# Verify what happens when calling {{Ti.Geolocation.requestLocationPermissions()}} without the above {{ACCESS_BACKGROUND_LOCATION}} and attempt to collection \"location\" data in the background.\r\n# Verify what happens when calling {{Ti.Android.requestPermissions()}} with both {{ACCESS_BACKGROUND_LOCATION}} and {{ACCESS_COURSE_LOCATION}} defined... and the end-user taps \"no\" for backgrounding.\r\n", "attachment": [], "flagged": false, "summary": "Android: Test location collection without \"ACCESS_BACKGROUND_LOCATION\" permission on Android Q", "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": [ { "id": "451218", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Provided a detailed example for obtaining location in the background as part of:\r\n8_3_X: https://github.com/appcelerator/titanium_mobile/pull/11197\r\n\r\n{{android.permission.ACCESS_BACKGROUND_LOCATION}} is required for background location logging.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-09T17:22:12.000+0000", "updated": "2019-09-09T17:22:12.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }