Sounds correct.
I did as above but I got errors when testing the firebase channel:
},
Error reading credentials from stream, 'type' field not specified. - IOException (... < NotificatorFirebase:79 < <gener:-1 < *:-1 < ... < NotificatorManager:70 < ...)
I checked the xml file downloaded from firebase and it does not contain any "'type' field
Could you show and example configuration for firebase to see what parameters are needed?
Seems like you haven't configured the service account correctly.
I read the documentation but still unsure what to do to properly configure traccar.xml to allow push notifications.
I understand that I should download google.services.json file and copy/paste its content in place of [FIREBASE DATA] below:
<entry key='notificator.types'>mail,firebase,web</entry> <entry key='notificator.firebase.serviceAccount'>[FIREBASE DATA}</entry>
is that correct?
If not, please provide an example
Thanks a lot in advance