Push notification sound

Hi,

Where should the sound file for push notification resides in the project?

[{
      // The push token for the app user to whom you want to send the notification
      to: 'ExponentPushToken[xxxxxxxxxxxxxxxxxxxxxx]',
      sound: 'default',
      body: 'This is a test notification',
      data: {withSome: 'data'},
    }]

Custom push notification sounds aren’t supported with Expo because Apple requires them to be shipped with the IPA bundle. If you want to use a custom sound, you’ll need to detach and use your own push notification service.

2 Likes