driving license expiration

Santiago4 years ago

I wish I could add the following function:
that within the attributes of the user or device, expiration dates can be established, for example, driver's license, patents, etc.
and periodically corroborate and send notifications if their expiration approaches.
What would be the best way to deal with the modification?

Greetings.

tambiu4 years ago

Hi Santiago, I now it is not about your topic, but could you please share your changes in the NotificatorFirebase.java ? I would like to have sound in the push notifications on ios app. And where do I need to store de sound file ? thanks

Santiago4 years ago

You should only modify the class Notification with the following

        @JsonProperty("sound")
        private String sound;

the sound is the one that the cell phone has by default,

excuse my improvised english.
Greetings Santiago.

tambiu4 years ago

thank you so much, it worked.

Ahmad Bassel3 years ago

Any help related to ios sound?

I tried to put the code inside [class Notification] on traccar server and reassemble it and created jar file but still the sound not working:

    @JsonProperty("sound")
    private String sound;

I tried to put "default" value like Notification.sound = "default" but still not working.

Any help will be really appreciated.

Ahmad Bassel3 years ago

tambiu and Santiago help me how you get it to work on ios? i mean the sound of notifications.