Alarmkit- custom sounds

Hello guys,

I know people already talked about this here but maybe some of you solved it. When trying Alarmkit, it keeps playing the same default sound. I tried a lot of changes to make it play my custom sound but nothing worked. Has anyone solved this or is it just the alarmkit problem? Thank you and take care guys.

Thanks for the post and the question:

https://developer.apple.com/documentation/alarmkit/alarmmanager/alarmconfiguration#overview

What happens when you change the sound file on the alert configuration?

let configuration = AlarmManager.AlarmConfiguration(countdownDuration: Alarm.CountdownDuration(preAlert: 10, postAlert: 10),
    schedule: nil,
    attributes: attributes,
    secondaryIntent: repeatIntent,
    alertConfiguration: AlertConfiguration(title: "Eggs are ready!", body: "Time to eat!", sound: .default))

Alert Sound: https://developer.apple.com/documentation/ActivityKit/AlertConfiguration/AlertSound

https://developer.apple.com/documentation/activitykit/alertconfiguration/sound

AlarmKit Resources:

AlarmKit FAQ is always important: https://developer.apple.com/forums/thread/797158

AlarmKit volume: https://developer.apple.com/forums/thread/813519?answerId=873409022#873409022

AlarmKit API https://developer.apple.com/documentation/AlarmKit

Albert Pascual
  Worldwide Developer Relations.

Alarmkit- custom sounds
 
 
Q