No push notifications after build from source

Abazer Mahgoub2 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 Tananaev2 years ago

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

Abazer Mahgoub2 years ago

Sorry Anton, I did not understand the question

Anton Tananaev2 years ago
jesus leguizamon2 years ago

Hi,

I need enable push notification in xml? regards

Anton Tananaev2 years ago

What xml?

jesus leguizamon2 years ago

traccar.xml
Or where I need enable push notification?

Anton Tananaev2 years ago

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

jesus leguizamon2 years ago

ok, thanks

jesus leguizamon2 years ago

which flavor has the play services configuration for push notification?

Anton Tananaev2 years ago

Which flavors do you see?

jesus leguizamon2 years ago

is Regular flavors

Anton Tananaev2 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.

jesus leguizamon2 years ago

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

Anton Tananaev2 years ago

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