[TIMOB-26955] Android: Test location collection without "ACCESS_BACKGROUND_LOCATION" permission on Android Q
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | None |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2019-09-09T17:22:12.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 8.3.0 |
| Components | Android |
| Labels | android, geolocation, location, permission |
| Reporter | Joshua Quick |
| Assignee | Gary Mathews |
| Created | 2019-03-30T00:57:12.000+0000 |
| Updated | 2019-09-09T17:22:12.000+0000 |
Description
*Summary:*
Android Q introduces the following new "AndroidManifest.xml" permission...
Verify what happens when collecting "location" data from
Verify what happens when calling
Verify what happens when calling
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>
This 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.
https://developer.android.com/preview/privacy/device-location#request-background-location
*To Do:*
Provided a detailed example for obtaining location in the background as part of: 8_3_X: https://github.com/appcelerator/titanium_mobile/pull/11197
android.permission.ACCESS_BACKGROUND_LOCATIONis required for background location logging.