Something is missing in my project

inkernel9 months ago

So I'm creating my first app in android studio for Traccar push notifications. I was already able to send messages from firebase to the apk. I inserted the .jason in the platform's xml, but something is missing for Firebase to receive the notification from the platform and send it to the application. Suggestions?

Thanks

Anton Tananaev9 months ago

Check the notification token in user attributes.

inkernel9 months ago

I think I do not understand. Are you referring to the attribute settings on the traccar platform?

Anton Tananaev9 months ago

Yes.

inkernel9 months ago

There is no Notification Token option in version 4.11 for user tribute as in the last version

Anton Tananaev9 months ago

Why are you using 4.11? You should upgrade first.

inkernel9 months ago

I have two platforms, one 4.11, my dear. all configured, running smoothly, which I use exclusively for family cars and cell phones.

And a new, latest version that I intend to use for business.

There are some differences between them besides the layout, in some cases the older platform seems to be more complete and stable than the latest version.

It may be that I haven't yet learned how to configure the new one correctly, but I insist, in some points the older one seems better to me.

Is there no way to insert notifications in version 4.11 using the code?

Anton Tananaev9 months ago

Probably there is, but that's not something I can help with.

inkernel9 months ago

Thanks Anton

Your "probably" was encouraging, I will continue studying and, if you allow me, I will come back here in the thread if I find the answer.

About updating: will I lose all settings and customizations if one day I decide to update this version 4.11, or will it only update some back end files?

I've never upgraded a Traccar rig, so forgive my ignorance.