Traccar manager android is not generating notification token

Auto Rastreio13 days 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 Tananaev13 days ago

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

Auto Rastreio13 days 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 Tananaev13 days ago

I'm talking about the mobile app.

Auto Rastreio13 days ago

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

Anton Tananaev13 days ago

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

Auto Rastreio13 days 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 Tananaev13 days ago

What link?

Auto Rastreio13 days ago

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

Anton Tananaev13 days ago

You replace the URL in the code.