No push notifications after build from source

Abazer Mahgoub 3 years ago

hello everyone
When I download the latest version of Traccar Manager from Google Play, push notifications work fine, but when I download the latest version of GitHub (3.1) the push notifications does not work, and also when I rebuild the same version of the source code

Anton Tananaev 3 years ago

Because GitHub version doesn't include any Google services. Which flavor are you building?

Abazer Mahgoub 3 years ago

Sorry Anton, I did not understand the question

Anton Tananaev 3 years ago
jesusle 3 years ago

Hi,

I need enable push notification in xml? regards

Anton Tananaev 3 years ago

What xml?

jesusle 3 years ago

traccar.xml
Or where I need enable push notification?

Anton Tananaev 3 years ago

Obviously you have to enable it on the server side, but how is your question is related to the topic?

jesusle 3 years ago

ok, thanks

jesusle 3 years ago

which flavor has the play services configuration for push notification?

Anton Tananaev 3 years ago

Which flavors do you see?

jesusle 3 years ago

is Regular flavors

Anton Tananaev 3 years ago

Yes, it's one of them. But if you want to use Google Play services, including push notifications, you have to use Google flavor.

jesusle 3 years ago

What property should I modify to choose google flavor? best regards

Anton Tananaev 3 years ago

There's no property. You just need to build the right flavor.