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

Android: Add "sound" support to NotificationChannel

    Details

    • Story Points:
      5
    • Sprint:
      2018 Sprint 22

      Description

      Summary:
      Android 8.0 and newer OS versions ignore the "sound" property assigned to individual notifications. The only way to play custom notification sounds is to assign the sound to a NotificationChannel instead.

      See sample code NotificationSoundTest.js for an example on how this would work.

      Note that you must assign the custom sound to both the Notification (for Android 7.1 and below) and the NotificationChannel (for Android 8.0 and above). It's a bummer that you have to assign it to both, but that's the only solution if you want to support customer sound on OS versions older than Android 8.0.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                jquick Joshua Quick
                Reviewer:
                Yordan Banev
                Tester:
                Lokesh Choudhary
              • 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 Source Code