show event on map when receiving push notification from firebase?

Santiago2 years ago

I need to know if this function is implemented. When receiving a push notification by firebase, it only takes me to the default map and not to the specific event map for example. http://IP/?eventId=19 I am using backend see. 5.4 and app manager ver 3.2.

Anton Tananaev2 years ago

I believe it is implemented, at least on iOS. Are you using Android or iOS?

Santiago2 years ago

I'm using Android, reviewing the source code I see some implementation. but it does not work.
https://github.com/traccar/traccar-manager-android/blob/master/app/src/google/java/org/traccar/manager/ManagerMessagingService.kt

Anton Tananaev2 years ago

That's not a full implementation.

Santiago2 years ago

Thanks for your time Anton, is there any plan to complete the implementation in the short term?

Anton Tananaev2 years ago

Don't know when, but there is a plan. If you want to contribute or sponsor the implementation to speed up the process, let me know.

Santiago2 years ago

Unfortunately, recently "thanks to our government" from Argentina payments cannot be made through PayPal. I tried to verify by making a donation and it was rejected.

Anton Tananaev2 years ago

We can figure out some other way if you're interested.

Santiago2 years ago

I sent an email to support to analyze costs
Thank you

AlexG5 months ago

Hello, this is implemented?

Anton Tananaev5 months ago

I believe it is.

AlexG5 months ago

tried at Android but not working, it the firebase notification simply opens me the app, not exactly to the device in tha map. :(

Anton Tananaev5 months ago

Which notification have you tried? And what versions?

AlexG5 months ago

at 6.1
i tried again now the SOS and seems working but in different way of official.

the official app opens the app and shows all devices arround the phone sending the so,all online.

with firebase it opwns the app and shows the spoecific device alarm position,as offline.

AlexG5 months ago

also i just saw this at logs:

2024-06-22 20:38:56  WARN: Push user 4 error - SenderId mismatch
2024-06-22 20:38:57  WARN: Firebase user 4 error - 403 Forbidden
POST https://fcm.googleapis.com/v1/projects/gps/messages:send
{
  "error": {
    "code": 403,
    "message": "SenderId mismatch",
    "status": "PERMISSION_DENIED",
    "details": [
      {
        "@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",
        "errorCode": "SENDER_ID_MISMATCH"
      }
    ]
  }
}
 - HttpResponseException (...)