Token Firebase notification

gmlmaino2 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 Tananaev2 years ago

Not without some code changes.

gmlmaino2 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 Tananaev2 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.

gmlmaino2 years ago

interesting option, thanks as always