OneSignal-Flutter-SDK icon indicating copy to clipboard operation
OneSignal-Flutter-SDK copied to clipboard

[question]: Add Custom Notification sound not playing.

Open nikunjpanchall opened this issue 1 year ago • 1 comments
trafficstars

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

  • [X] I agree to follow this project's Code of Conduct

nikunjpanchall avatar Apr 03 '24 09:04 nikunjpanchall

@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.

jkasten2 avatar Apr 03 '24 16:04 jkasten2