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

Android: Update "Ti.Android.Service" to handle "FOREGROUND_SERVICE" permission

    Details

      Description

      Apps targeting Android P must add a new FOREGROUND_SERVICE permission to the "AndroidManifest.xml" or else calling Ti.Android.Service.foregroundNotify() will throw a Java SecurityException internally and fail to start.
      https://developer.android.com/preview/behavior-changes#fg-svc

      We need to do the following:

      • Log an error if the permission is missing when calling Service.foregroundNotify().
      • Document that that this permission is required.

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              jquick Joshua Quick
              Reviewer:
              Gary Mathews
              Tester:
              Lokesh Choudhary
            • Watchers:
              4 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 Source Code