I want to play specific mp3 (URL) as notification sound. What is the feature name? Could anyone please give me example code?
want to play specific mp3 (URL) as notification sound
You can specify the notification sound name in the aps payload:
or in the UNMutableNotificationContent of the Notification Service Extension:
I don't believe that mp3 is a valid sound format or that a URL is accepted.
Code Block "sound": "default"
or in the UNMutableNotificationContent of the Notification Service Extension:
Code Block content.sound = UNNotificationSound.default
I don't believe that mp3 is a valid sound format or that a URL is accepted.