Notifications

Amal Kumar3 years ago

Hello guys,
I Want to create notification setting screen on custom traccar app .
But I dont know how to get all notifications list types and how to update the setting as per the user .

Can anyone help me in finding correct APIs?

Anton Tananaev3 years ago

Have you checked the official app source code? The code is open, so you should be able to find it there. We even have 2 apps to look through.

Amal Kumar3 years ago

@Anton
Yes I have checked both client and manager app from github
https://github.com/traccar/traccar-client-android
https://github.com/traccar/traccar-manager-android

Notification feature related code that I'm looking was not found.

Could you please help me again.

Note : My ultimate goal is to

  1. create a feature like notification setting by which user can enable/disable a particular notification (eg. deviceOffline,deviceOnline)
Anton Tananaev3 years ago

You have to check the web app. Why would you check the client app? It sounds like you're not familiar with the system at all. You should probably take your time to understand the big picture before asking for more help.

Amal Kumar3 years ago

Sure , I'll consider your suggestion.
thanks for the help again

Amal Kumar3 years ago

I checked android source code because I am creating this feature on a Custom Android App.

Amal Kumar3 years ago

It seems that is something else and I need to dig more on web app.