Enabling custom sound for firebase notification

Himanshu8 months ago

Hi
I am trying to integrate the custom sound for firebase notification on mobile app. For this purpose, traccar server need to send an additional parameter in the notification request to FCM. The parameter name and it's value is as below:
"android_channel_id": "10001"
Can you guide me how to do this.

Anton Tananaev8 months ago

What is the difficulty exactly? We have plenty of documentation on how to set up the dev environment and build the project. It should be enough for you to start.

Himanshu8 months ago

I think I couldn't clarify in my last message. I have already created the dev environment. I wanted to ask which file/function/line of code to edit to include android_channel_id in FCM data. I am hoping that this will be just 1 line of code change to accomplish this.