Replies: 1 comment
-
Nothing special here for Capacitor. This post should help you: https://stackoverflow.com/a/58974220/6731412 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good day, how do I configure a custom sound for notifications on iOS. On Android it works fine, because from the backend I send the channel and sound, that is, setSound('sos'), setChannelId('sos')
and it plays the sound, but on Apple it always sounds something generic and I have not been able to customize it. On Android the file is called sos.mp3 and it plays.
Channel example, but this work only in Android
let dataChannel:any = { description: "", id: "default", name: "Default", importance: 4, lightColor: "#000000", lights: true, visibility:1, vibration: true, sound:sonido }; await FirebaseMessaging.createChannel(dataChannel).then((data:any) =>{}).catch((err) => {});
Beta Was this translation helpful? Give feedback.
All reactions