0xf104a / NextcloudServices

Android app to send notifications from Nextcloud without using GCM(Google cloud messaging)
GNU General Public License v3.0
63 stars 11 forks source link

idea: separate out calendar event notifications #60

Closed meonkeys closed 11 months ago

meonkeys commented 1 year ago

What do you think about separating out calendar event notifications? I get double notifications from all calendar events: one from NextcloudServices and one from the built-in Calendar app (sync events are sync'd to my phone). If they were separated out I would mute these kinds of notifications from NextcloudServices.

0xf104a commented 1 year ago

Hello. Thank you for idea. I think it would be great to have a separate notification processor for calendar events, so it would be possible to receive optimized notifications from Nextcloud Calendar. By the way, why wouldn't you just disable calendar channel(app should create a channel for each app automatically)?

meonkeys commented 1 year ago

By the way, why wouldn't you just disable calendar channel(app should create a channel for each app automatically)?

For perhaps a silly reason: the notifications I get from the phone's Calendar app are more useful. They include the content of the event, and if there's a location specified it includes a link so I can open it in the Maps app with one touch.

0xf104a commented 1 year ago

Oh, sorry, you probably misunderstood my question. NextcloudServices should have a calendar channel already as it creates a channel for each Nextcloud app from it received notification at least once. E.g. when it receives first calendar notification it should create a notification channel for calendar events. So you may disable this channel and get rid of NextcloudServices notifications without waiting me to implement calendar notifications :)

meonkeys commented 1 year ago

Ah, gotcha! Is the channel for event notifications called "Dav"?

ns

I'll try turning off Dav...

0xf104a commented 1 year ago

Not sure about the name as I have never received calendar notifications from Nextcloud. At least during debug of this app ;) The name is generated automatically based on how Nextcloud itself names this app(unless the app requires creation of customized notification)

meonkeys commented 11 months ago

Looks like the calendar event notifications were under "Dav". Toggling that did what I was looking for. Thanks!