0xf104a / NextcloudServices

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

Use unifiedPush for Notification #11

Open genofire opened 3 years ago

genofire commented 3 years ago

So do not drain so much battery.

I must deinstall this app, it use more the gotify and Conversations together.

0xf104a commented 3 years ago

Hello. As far as I understand Nextcloud does not support UnifidePush yet. See their issue #8684 to stay up to date with their progress on implementing it. As for battery drain: if you are using version 1.0-beta8(i.e. latest available) there is known bug connected with that android for some reason fails to kill the timer(which is used for updating status message) when app is in background. Currently I am testing the fix of this issue and it is going to be fixed in next release

stefan-niedermann commented 1 year ago

There's a separate app for this: Check out https://codeberg.org/NextPush/nextpush-android

Maybe both projects could talk together - they have the same goal but two different technical approaches. Both approaches are valid and complement each other - so from a purely users perspective maybe merging the apps would make sense, providing a single app to receice push notifications via Unified Push and a fallback to polling 🤷 🙂

genofire commented 1 year ago

I switch to neon (an alpha state reimplement nextcloud-app), which supports UnifiedPush already: https://github.com/nextcloud/neon/issues/752

0xf104a commented 1 year ago

@stefan-niedermann As I understand, NextPush is an implementation of the UnifiedPush provider on top of the Nextcloud server. However, apps like Talk and Files currently only support proprietary methods of receiving notifications, so they are not able to receive notifications from NextPush(or any other UnifiedPush provider). I'm not sure if NextPush can deliver notifications from Nextcloud itself, as a quick review of their documentation didn't provide any confirmation

@genofire hopefully after release of neon we would have no need in apps like my :)