support with app traccar manager pus push notifications

Manuel Suárez6 years ago

Someone who has already been able to modify the traccar manager app and integrate firebase that can show me the configuration in the code?

Rodrigo6 years ago

x2 !!!!
Please!!!!
i dont know how to do a firebase project to enable it... :(

Thanks in advance!

Turbovix6 years ago

Dear Manuel, you do not modify the application to use the notifications in question, you simply download the source code of the mobile applications and include in the project root the file "google-services.json" for each project. This file is generated here: "https://console.firebase.google.com". There is enough explanation on the page itself.
Once the "google-services.json" file is at the root of the project, simply compile the project using Netbeans or Intellij-IDEA!

Turbovix6 years ago

****** Fix it, just compile the project using Android Studio!

Rodrigo6 years ago

sound like chinesse for me jajaja .....

Rodrigo6 years ago

Hi, researching a little bit, i found a server key (from firebase) and putted in config file like this:

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

(xxxxx means the key obviously)....

but nothing happens in my iphone with traccar manager.....

i was missing something?

Greetings!!!! and thanks in advance!

Anton Tananaev6 years ago

Have you compiled the app with the same firebase project credentials?

Rodrigo6 years ago

OMG! .... i have to re research ... i dont know how to do .....
to compile it, i'll need an apple account?
greetings and thanks again!

Anton Tananaev6 years ago

Yes, you need a Mac and Apple Developer account.

Rodrigo6 years ago

one more time, thanks Anton

i think, same thing for android, right?

Anton Tananaev6 years ago

You need Google developer account for Android.

Piotr6 years ago

It's not so easy. When i try to build manager from a source I get such an error:

"All com.android.support libraries must use the exact same version specification (mixing version can lead to runtime crashes). Found versions 28.0.0-rc02, 26.1.0. Examples include com.android.support:animated-vector-drawable:28.0.0-rc02 and com.android.support:support-media-compat:26.1.0"

Turbovix6 years ago

Have you tried this?

  File -> Invalidate Cahes / Restart -> Invalidate and restart

Anton Tananaev6 years ago

Piotr, those are just warnings and you should be able to compile project anyway.

Piotr6 years ago

Thank you for your replying Anton.
I will try to compile with this warning.