Token Firebase notification

gmlmaino 4 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 Tananaev 4 years ago

Not without some code changes.

gmlmaino 4 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 Tananaev 4 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.

gmlmaino 4 years ago

interesting option, thanks as always