You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I've added a note to the plugin documentation for createChannel().
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: