Push notification doesn't work

smsoousaa year ago

Hello everybody! I'm trying to use push notification to track manager android but it doesn't work. The server side is ok, I tested the manager through the play store and it works well. I compiled it using the Google flavor, but even so, the push doesn't arrive.

Anton Tananaeva year ago

Do you get the notification token in the user account?

smsoousaa year ago

Yes! I even deleted it and generated a new token, but it didn't work.

Anton Tananaeva year ago

And no errors in the logs? And no error if you test the channel in notification settings?

smsoousaa year ago

I emulated the app as GoogleDebug, generated annotation through the test channel, without any errors in the test channel and without any errors in the emulation logs.

smsoousaa year ago

On the web server, I receive this error in the logs when I generate a notification from the test channel:

WARN: Push user 1 error - SenderId mismatch
Anton Tananaeva year ago

So there is error or no errors? I hear conflicting information.

smsoousaa year ago

Yes, only this one in the web server logs:

WARN: Push user 1 error - SenderId mismatch.

In the app, there are no errors in the android studio logs during emulation.

Anton Tananaeva year ago

Are you the server is configured correctly?

smsoousaa year ago

Yes, that's correct. When I download Traccar Manager from the play store, I can receive the push normally.

Anton Tananaeva year ago

Wait what? The Firebase project should be different if you use your own app vs our official app.