From what I can tell, you have some UI issue. Also, have you included plist file?
Yes I did.
The app runs but It doesn't connect to the firebase server.
Finally I managed to get push notifications on my IOS app and i can send notifications from my firebase console but not from my traccar server. Any idea why I may be experiencing this also I have check my Traccar server log file and i see no errors.
I'm using my firebase project Server key API on my traccar config file.
I have to say it was not easy wow.
This is my config i have changed the values for security reasons.
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
<entry key='config.default'>./conf/default.xml</entry>
<!--
This is the main configuration file. All your configuration parameters should be placed in this file.
Default configuration parameters are located in the "default.xml" file. You should not modify it to avoid issues
with upgrading to a new version. Parameters in the main config file override values in the default file. Do not
remove "config.default" parameter from this file unless you know what you are doing.
For list of available parameters see following page: https://www.traccar.org/configuration-file/
-->
<entry key='database.driver'>com.mysql.jdbc.Driver</entry>
<entry key='database.url'>jdbc:mysql://localhost/traccar?allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry>
<entry key='database.user'>traccar</entry>
<entry key='database.password'>burner</entry>
<entry key='database.positionsHistoryDays'>7</entry>
<entry key='server.timeout'>120</entry>
<entry key='mail.smtp.host'>smtp.gmail.com</entry>
<entry key='mail.smtp.port'>465</entry>
<entry key='mail.smtp.ssl.enable'>true</entry>
<entry key='mail.smtp.from'>rtech@gmail.com</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>rtech@gmail.com</entry>
<entry key='mail.smtp.password'>rnero</entry>
<entry key='notificator.types'>web,mail,sms</entry>
<entry key='sms.enable'>true</entry>
<entry key='sms.smpp.enable'>true</entry>
<entry key='notificator.types'>web,mail,firebase</entry>
<entry key='notificator.firebase.key'>AAAA3ERyKUk:APA91bGbmF_tWm5O0MZ1QeUP_YxVoHTkpL2tLSZsnXLQqJya1YV1XQzNEWqw16Vp_KsA8tl2Q76hb2zB94kJyxtOS9VMYmsxzD8u4NEM_d2ymu3IlsySimjjF7nl_ouog2vzJy</entry>
<entry key='sms.smpp.host'>smpp.smsglobal.com</entry>
<entry key='sms.smpp.port'>1775</entry>
<entry key='sms.smpp.username'>s0gz8o</entry>
<entry key='sms.smpp.password'>Z2Ftz3</entry>
<entry key='sms.smpp.notificationsCharset'>GSM</entry>
<entry key='sms.smpp.notificationsDataCoding'>0</entry>
<entry key='sms.smpp.sourceAddress'>+1347421305</entry>
<entry key = 'geocoder.enable'>true</entry>
<entry key = 'geocoder.type'>google</entry>
<entry key = 'geocoder.key'>AIzaSyBh3x2NicvfxDD8igwusYlvO4gPwXw</entry>
</properties>
Check device token in user attributes.
I have a token under user attribute.
https://imgur.com/a/KOcPfTm
Then it should be working, assuming that everything else is configured correctly.
I did the normal on a ubuntu server setup apache with ssl, configured the system to work with mysql on traccar.xml, I don't really know what else i should do to get it to work.
I realized I'm not supposed to have SMS enable if I have firebase enable on my config, I fixed that but still cannot receive notification via Traccar Server. I can only receive push notifications via Firebase console on my Android and IOS apps.
Everything is setup correctly I assumed, I have user notification token under Attributes, I have my Firebase Cloud Server API Key, I have try so many stuff I can't think of what could be wrong.
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
<entry key='config.default'>./conf/default.xml</entry>
<!--
This is the main configuration file. All your configuration parameters should be placed in this file.
Default configuration parameters are located in the "default.xml" file. You should not modify it to avoid issues
with upgrading to a new version. Parameters in the main config file override values in the default file. Do not
remove "config.default" parameter from this file unless you know what you are doing.
For list of available parameters see following page: https://www.traccar.org/configuration-file/
-->
<entry key='database.driver'>com.mysql.jdbc.Driver</entry>
<entry key='database.url'>jdbc:mysql://localhost/traccar?allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry>
<entry key='database.user'>traccar2</entry>
<entry key='database.password'>1burner</entry>
<entry key='database.positionsHistoryDays'>7</entry>
<entry key='mail.smtp.host'>smtp.gmail.com</entry>
<entry key='mail.smtp.port'>465</entry>
<entry key='mail.smtp.ssl.enable'>true</entry>
<entry key='mail.smtp.from'>ritech@gmail.com</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>rtech@gmail.com</entry>
<entry key='mail.smtp.password'>1nero</entry>
<entry key='notificator.types'>web,mail,firebase</entry>
<entry key='notificator.firebase.key'>AAAAu4piSK4:APA91bEvR8AV00XhS62W-3YdEDBAUVJQkM8TqbdERrgKq_WkPtvWuZXEH0QFuG6d0dX9fZx1T8tpi4h7AX1b3t_0nc_2kYksmscsdl8L7L-Cpyp6oqk699q--is87qBo-9sBW5W9I3AI</entry>
</properties>
You can have SMS enabled, if it's configured correctly. It should not conflict with Firebase.
Hi, I'm trying to get the iOS version of Traccar manager to received push notifications from firebase but for some unknown reason to my knowledge I can't get it to work I'm getting this error message.