-
-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct code for notification sound in FCM not clear. #560
Comments
FWIW, apparently the channel_id must be unique for each sound, whether or not you delete the channel before calling createChannel(). Apparently Firebase maintains all previously defined channel_id's, and any attempt to change the sound for an existing id is simply ignored. NOTE: I found this by adding the sound to what listChannels() returns (it was previously returning only id & name). Once I realized that I couldn't update a sound I made sure that my channel IDs were a hash of the underlying settings in order to avoid this in the future. Things worked much better after that. |
@eeerrrttty Please build and run the example project to verify that custom sounds are working and as a reference for how to implement in your own project. @grumpygary Thanks for clarifying this - it's not clear from the Firebase SDK documentation. |
My code:
Why my custom sounds doesn't come to users ? I putted the correct sound divas.mp3 on my res/raw with config.xml parameters as documentation
The text was updated successfully, but these errors were encountered: