Please provide the following:
- SDK Version: 39.0.2
- Platforms(Android/iOS/web/all): IOS
Hello,
I’m running into an issue on IOS where the sound isn’t playing when receiving a push notification and the phone is locked. However, if I remove any user facing properties e.g. title & body. I can hear the sound of the notification when phone is locked.
I am using Exponent Server SDK Ruby to send push notifications.
I’m getting the same behavior if I use the expo.io push notification tool as well.
Here are some examples:
message = {to: ExponentPushToken[XXX], sound: ‘default’, priority: ‘high’} = Yay! Sound
message = {to: ExponentPushToken[XXX], title: ‘Title’, body: ‘Body’, sound: ‘default’, priority: ‘high’} = No sound
Ideally I’d like to send a user facing push notification with sound, when the users phone is locked.
Thanks for the help on this!