Push notification not working

Anton Tananaev 7 years ago

Have you compiled your own apps? What do you see in the user account attributes?

Jorge Jim 7 years ago

Hello Anton. Yes, I compiled my own apps.

The user account attributes in firebase say I am the "Owner", thus, I have complete access to all firebase resources and Google Cloud Platform.

The User account attributes section in traccar have just one attribute added. That is "notificationTokens", this attribute has a value there.

What is the "user account attributes" that I am looking for? What attributes and values should be there?

Thanks in advance...

Anton Tananaev 7 years ago

It's user account in Traccar. If you see notificationTokens there, it means that it should be working.

Jorge Jim 7 years ago

Sorry Anton. It was my error.

After seeing the log I saw a firebase 401 UnAuthorized Error. I was using the "api key" and the "web api key". I changed for the "Server Key" and now is working as expected.!!

Thanks a Lot..!!