Token Firebase notification

gmlmaino3 years ago

hello, I wanted to know if someone can tell me if I can have more than one firebase notification token, for two different android apps but on the same traccar server. thanks

Anton Tananaev3 years ago

Not without some code changes.

gmlmaino3 years ago

Thanks for your answer, without going into the technical details of the code change, conceptually what should this code change do, generate 2 different firebase channels?

Anton Tananaev3 years ago

Probably in addition to token you need to store which app it belongs to and then send notifications using the right API key.

gmlmaino3 years ago

interesting option, thanks as always