Hi
I tried to configure firebase. I get the following error message when testing.
Expected name at line 5 column 4 path $.private_key - MalformedJsonException (... < NotificatorFirebase:58 < <gener:-1 < *:-1 < ... < NotificatorManager:73 < ...)
My configuration in default.xml
<entry key='notificator.types'>web,mail,firebase,traccar</entry>
<entry key='notificator.traccar.key'>xxx</entry>
<entry key='notificator.firebase.serviceAccount'>
{
"type": "service_account",
"private_key": "xxx",
}
</entry>
That JSON has to have more parameters. You need to use what Google gives you without editing it.
Hi Anton. Could you please indicate the file traccar.xml with the configuration for firebase. (an example) I am working with: entry key='notificator.firebase.serviceAccount' and I don't understand how the parameters go. please greetings
The parameter is correct. It should contain JSON that you get directly from Google.
Hi Diego,
Did you find a solution for this?
Best,
Savas
Hi
I tried to configure firebase. I get the following error message when testing.
My configuration in default.xml
<entry key='notificator.types'>web,mail,firebase,traccar</entry> <entry key='notificator.traccar.key'>xxx</entry> <entry key='notificator.firebase.serviceAccount'> { "type": "service_account", "private_key": "xxx", } </entry>