We are using Critical Alert notification in our application, it works great when custom sound is provided in sound dictionary in push notification payload and when volume is set to 1.0.
Now, when I receive critical alert notification on device and set volume to 0.0, it still plays some default sound.
When volume is set to 0.0, I expect here sound will not play. However, its playing. Above mentioned behaviour is observed on iOS 15.1.1. On below versions its working as expected. i.e. no sound will be played.
Am I missing anything in setting or payload?
A "Critical Alert" appears even when the device is in Do Not Disturb mode, or silenced.
They cannot be silenced, as they are considered "Critical"!
If you want to be able to silence your alert, then it must not be a Critical Alert.