Please provide the following:
- SDK Version: 38
- 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 Push Notification Tool — Expo, 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' }) }