We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1905f69 commit 6d1a411Copy full SHA for 6d1a411
com.unity.mobile.notifications/Runtime/iOS/Plugins/UnityNotificationManager.m
@@ -380,8 +380,8 @@ - (UNNotificationSound*)soundForNotification:(const iOSNotificationData*)data
380
if (soundName != nil)
381
{
382
if (data->soundVolume < 0)
383
- return [UNNotificationSound criticalSoundNamed: soundName withAudioVolume: data->soundVolume];
384
- return [UNNotificationSound criticalSoundNamed: soundName];
+ return [UNNotificationSound criticalSoundNamed: soundName];
+ return [UNNotificationSound criticalSoundNamed: soundName withAudioVolume: data->soundVolume];
385
}
386
if (data->soundVolume >= 0)
387
return [UNNotificationSound defaultCriticalSoundWithAudioVolume: data->soundVolume];
0 commit comments