Traccar manager android is not generating notification token

Auto Rastreio2 months ago

I'm editing the Android app for push notifications. I created google_services.json and inserted it into the project's app folder.

I generated the Admin SDK in Firebase and inserted it into traccar.xml.

However, when I log in with an account, it's not creating the user's notification token.
1.png
2.png
3.png

Anton Tananaev2 months ago

Are you using the old app codebase? If yes, make sure you're building the Google flavor of the app.

Auto Rastreio2 months ago

The entire system was installed using the latest version, I just downloaded and installed traccar from the main branch.
The app is also from the main branch.

Anton Tananaev2 months ago

I'm talking about the mobile app.

Auto Rastreio2 months ago

I'm using this repo https://github.com/traccar/traccar-manager-android with master branch

Anton Tananaev2 months ago

Is there a reason you're not using the new codebase?

Auto Rastreio2 months ago

I didn't know there was a new version, but I found the one in Flutter.

Do you have an example of how I can make my link open directly in the app?

Do I need to adjust it in the app or on the web?

Anton Tananaev2 months ago

What link?

Auto Rastreio2 months ago

How can I set it to open my URL directly when I open the app?

Anton Tananaev2 months ago

You replace the URL in the code.