Code Monkey home page Code Monkey logo

Comments (2)

stefan-niedermann avatar stefan-niedermann commented on September 27, 2024

Your issue consists of two parts, so let me split the response:

Push notifications in general

As you already learned from our FAQ, Deck Android does not support any Push Notifications and there are currently no plans to implement it ourself. There are various reasons, TL;DR: We currently have no plans to implement Push Notifications in Deck Android. First of all, there is currently no reliable solution (you will have to thank Google for this decision). Unified Push and some other community workarounds are nice ideas, but they are edgy. Other solutions cause battery drain, permanently visible notifications and other drawbacks.

This does not mean, Push Notifications aren't available for Deck Android: It is capable of handling Push Notifications received by Nextcloud Android, and I honestly see no reason why each and every third party app should implement this custom? One of the reasons to use the Single Sign On mechanism is to centralize infrastructure like the network layer, to support self signed certificates, self hosted and local instances, edgy server configurations and other stuff identically, no matter which 3rd party Nextcloud app one is using and implementing Push Notifications directly in the 3rd party apps contradicts this target.

This would mean you don't have to work with other app devs

But this is what we want 😄 We want collaboration between 3rd party app authors, We want to find common solutions for common problems. We do not want different solutions which might work better or worse across the ecosystem. We do not want to show 5 permanent notifications on Android for "News Push Notifications", "Deck Push Notifications", "Talk push Notifications", and so on.

Another option is to work with apps like https://github.com/0x50f13/NextcloudServices to add support for using their notification system

Yes, and the integration most likely can be directly copied from the Nextcloud Android app which has - you guessed it - the exact same mechanism. One app receives (or polls in this case) the notification and displays it, while the corresponding 3rd party app will show it. Wouldn't you agree that one NextcloudServices app that polls each 15 minutes is more efficient than five 3rd party apps, each of them polling every 15 minutes? Again you may see how and why we got the solution we currently have.

Local notifications for due date

Popping up a local notification when a card reaches due date is technically possible of course. What is your proposal to resolve duplicate notifications for the due date when a Push Notification appears? And yes, Push Notifications are only under control when it is opened because the Push Notification itself is displayed by the Nextcloud Android app (by design as explained above).

from nextcloud-deck.

ahcheing avatar ahcheing commented on September 27, 2024

I just want notifications to work. I just want to get a notification that a cards due date has been reached, so I can click on the notification, and see what it is I am supposed to do. I would call it a bug report since its a feature that works for some people and not others, but your faq says you explicitly dont support notifications for my use case, hence this feature request asking you to please support notifications for people like me.

It is capable of handling Push Notifications received by Nextcloud Android

But it does not actually do that in practice. If I fetch a notification from the server using nextcloud services (or even tasker) I have no way of actually interacting with that notification. That is to say, clicking on nextcloud.local/card123 does not take me to card123, which when you have as many cards as I do is a big problem. It can take me longer to find the card in question that it would take to actually complete the task.

I know you tried to add that feature in a while back but it never took. And the android services app has been working on this
feature forever but there has been no progress on it.

Again you may see how and why we got the solution we currently have.

Sure I can see the chain of logic. But surely you can also see how understanding how we got to this place does not actually resolve my issue. Its good to understand the problem better but the problem has not gone away.

What is your proposal to resolve duplicate notifications for the due date when a Push Notification appears?

I presume users who enable this feature would disable push notifications from the server. I don't think its that complicated, users like me who who prefer to use their devices built in notification system and calendar app or the tasks app disable push notifications for tasks / calendar events from the server as well.

from nextcloud-deck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.