Npm: 8.3.1 - C:\Program Files\nodejs\npm. Node: 16.14.0 - C:\Program Files\nodejs\node.EXE Optionally include your own custom notification sounds to specify in OneSignal and play on the users device when the push notification is received.
'expo-notifications': '~0.14.0', Environment Managed What platform(s) does this occur on? Managed or bare workflow? If you have made manual changes inside of the ios/ or android/ directories in your project, the answer is bare! If no custom default icon is set and no icon is set in the notification payload, Android displays the application icon rendered in white. Any notification message that does not explicitly set the color in the notification payload. All notification messages sent from the Notifications composer. I am testing on android 6, so there is no channelId is needed as mention in the documentation.Įxpo prebuild shows that it is found in res/raw Android uses the custom default color for. The problem is that when sending a push notification using fcm or scheduling a notification with the sound property: 'notification_message.wav', the message is received but no sound. I added it to app.json using the expo-notification config plugin, then created a custom-dev client using eas build -p android -profile development. I have added a wav sound in the following location: './assets/sounds/notification_message.wav'. I am trying to play custom sound when receiving notification.