Hello,
I have Traccar server on my VPS installed. I try to enable push notifications for my car on Android phone. Steps I produce for now:
- Make new project in Firebase
- Project name: Nawigacja
- pseudonym name: GPS-Przemko
- app name: org.traccar.manager
- Download file google-services.json and copy to folder on my laptop /Programs/traccar-manager/app
- Copy
<entry key='notificator.types'>web,mail,firebase</entry> <entry key='notificator.firebase.key'>FIREBASE_SERVER_KEY</entry>
to traccar.xml file on my server and add my secret firebase key.
- Open traccar-manager (downloaded from github) in Android Studio, Sync and build regular.apk.
- change name from app.regular.release.apk to org.traccar.manager.apk.
- Install org.traccar.manager.apk on my smartphone.
- Enable notifications on traccar dashboard in settings and device settings.
Now I see only web notifications on laptop and smartphone. Do I have to run traccar manager app on smartphone with internet to have push notifications from firebase?
What I do wrong?
Regards,
Przemek
Almost everything is wrong. You are building wrong flavor. Renaming APK makes no sense to me at all. You are using our official app id, which likely won't work either.
@Anton Tananaev Thanks for answer, can You tell me what flavour I have to build? How to configure Firebase platform to make it work?
Regards.
Przemek daj znać jak coś wykombinujesz ;)
Hej Dariusz, niestety sam nic nie wykombinowałem i używam bez powiadomień.
też się poddałem, nie mam cierpliwości do przebudowywania apki, zostają sms i mail.
@Dariusz a jak sms zrobiłeś?
Bulksms, konfiguracja jest w topikach gdzieś....
pracuje nad malinką (RPi3B+ +e173)....
napisz na [REMOVED]
@Dariusz ale ten Bulksms to płatna opcja?
płatna, 22gr sztuka wychodzi
Anthon nie lubi jak się maila podaje, banem straszy
Hello,
I have Traccar server on my VPS installed. I try to enable push notifications for my car on Android phone. Steps I produce for now:
<entry key='notificator.types'>web,mail,firebase</entry> <entry key='notificator.firebase.key'>FIREBASE_SERVER_KEY</entry>
to traccar.xml file on my server and add my secret firebase key.Now I see only web notifications on laptop and smartphone. Do I have to run traccar manager app on smartphone with internet to have push notifications from firebase?
What I do wrong?
Regards,
Przemek