Some users not receiving Firebase push notifications

Amado 2 years ago

Using Traccar 5.8
I have problems with two users (out of 400) that does not receive Firebase push notifications
I checked the device and user notifications and they are defined ok
I see events are received by the server and diaplayed in the reports within the webapp
I checked logs and saw several "WARN: Firebase user xyz errors - SenderId mismatch - FirebaseMessagingException...." lines
Is that user "xyz" the same user id of the tc_users table?
What is the senderid mismatch error? I t is coming from Firebase itself or from Traccar server?
How t o fix these individual notifications failures?

Anton Tananaev 2 years ago

The error is coming directly from Firebase.

Amado 2 years ago

Hi Anton, thank you for your answer
I was checking Firebase documentation and it suggest to reinstall the app (in this case Traccar Manager) to fix this issue
Is there a way to force Traccar manager to register again to receive notifications without reinstallations?

Anton Tananaev 2 years ago

You're using your own custom app, right? Not Traccar Manager.

Amado 2 years ago

Yes, custom app

Anton Tananaev 2 years ago

Reinstalling is probably the easiest option.

Amado 2 years ago

Ok, thank you Anton for your time!!!!