Custom sound doesn't work when is set in a channel

Please provide the following:

  1. SDK Version: 38
  2. Platforms(Android/iOS/web/all): Android/iOS

I have tried adding a custom sound to my notifications using a .wav file by following this reference:

However, when you build the application to android and test using expo.io/notifications, the notification sound arrives as the default sound of the physical device.

I have a folder in the root called assets and inside another called sounds, inside I have the file, and the code with which I configure the channel is the following:

src/screens/Login.js
if(Platform.OS === 'android') { Notifications.setNotificationChannelAsync('new-orders', { name: 'Orders notifications', importance: Notifications.AndroidImportance.HIGH, sound: '../../assets/sounds/cash-register-purchase.wav' }) }

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.