OneSignal / OneSignal-Flutter-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal
https://www.onesignal.com
Other
625 stars 214 forks source link

[question]: Add Custom Notification sound not playing. #869

Open nikunjpanchall opened 7 months ago

nikunjpanchall commented 7 months ago

How can we help?

I have added a notification sound file to this path (android/app/src/main/res/raw) and also created keep.xml file, but when the notification triggers, it will play the default sound.

Code of Conduct

jkasten2 commented 7 months ago

@nikunjpanchall please check the following:

  1. Confirm you have created an Android Category / Channel and are using it on the test notification you sent.
  2. Ensure you used a supported sound file type.
  3. Extracting the contents of your APK to ensure the sound file is there.