Push notification sound issues (when locked) on IOS

Please provide the following:

  1. SDK Version: 39.0.2
  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 :frowning:

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!

I Think This Maybe Due To Apple Security Issue I Am Not Confirmed But i Think It Due To This.

Same issue here using expo-server-sdk