Push Notifications custom app

ezequiel3 years ago

Hi, I want to use traccar's native push notifications. I am using modified Traccar Manager. Integrate the mobile app with firebase, and I still don't get the notifications.
When I test with the Official Traccar Manager app it works.
I followed the steps indicated in the forum.
I correctly placed the google-services file, and compiled with google flavors. Anyone have any idea what could be wrong?

Anton Tananaev3 years ago

What's your server configuration? Have you configured firebase there?

ezequiel3 years ago

In the server I indicated TRACCAR_KEY but not FIREBASE_KEY, because I only want to use the native traccar notifications. Is it necessary to indicate the firebase key anyway?.

<entry key='notificator.types'>web,mail,sms,traccar</entry>
<entry key='notificator.traccar.key'>*****************************</entry>
Anton Tananaev3 years ago

You can't use Traccar notifications with your own firebase account. You have to configure firebase option instead.

ezequiel3 years ago

So, you should remove that setting and place:

<entry key='notificator.types'>web,mail,firebase</entry>
<entry key='notificator.firebase.key'>FIREBASE_KEY</entry>

Correct?

Anton Tananaev3 years ago

Yes, looks correct now.