Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26955

Android: Test location collection without "ACCESS_BACKGROUND_LOCATION" permission on Android Q

    Details

      Description

      Summary:
      Android Q introduces the following new "AndroidManifest.xml" permission...

      <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:

      1. 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.)
      2. Verify what happens when calling Ti.Geolocation.requestLocationPermissions() without the above ACCESS_BACKGROUND_LOCATION and attempt to collection "location" data in the background.
      3. 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                jquick Joshua Quick
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration