Some users not receiving Firebase push notifications

Amado7 months 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 Tananaev7 months ago

The error is coming directly from Firebase.

Amado7 months 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 Tananaev7 months ago

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

Amado7 months ago

Yes, custom app

Anton Tananaev7 months ago

Reinstalling is probably the easiest option.

Amado7 months ago

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