mattermost / mattermost-mobile

Next generation iOS and Android apps for Mattermost in React Native
https://about.mattermost.com/
Apache License 2.0
2.19k stars 1.33k forks source link

Unified Push support #6673

Open BigmenPixel0 opened 1 year ago

BigmenPixel0 commented 1 year ago

What about this? https://unifiedpush.org

Mannshoch commented 1 year ago

I already use it for a matrix client. It works !

erinarbleizez commented 1 year ago

As a LineageOS user in order to de-google my phone because that's the best thing to do in this dark time (and without Micro-G possibility because my phone is not supported yet) I would really like having my notification pushed through unifiedpush (which is the best simple alternative to firebase cloud messaging).

It would also be more in accordance with F-Droid philosophy of not depends on Google.

I know nothing in android dev and wouldn't be any help but if there is anything server side code related that can be made to make it happen, just tell me I'm more than willing to help.

rudism commented 1 year ago

Supporting unified push would have several benefits:

toastal commented 1 year ago

I self-host my own UnifiedPush server via XMPP to disconnect as much data as possible from Google and other untrustworthy parties—both Prosody and ejabberd make it trivial to enable for the server side, & all Conversations-derived (such as Cheogram) Android clients support the client side. I’ve been using it with other apps from F-Droid just fine (Element, Tusky) & Mattermost would help with work-related chat.

TheJonny commented 11 months ago

It seems mattermost is using https://github.com/wix/react-native-notifications/ for push notifications - so unifiedpush should be integrated there

TheJonny commented 11 months ago

Hi :)

Version 9 of the server supports a plugin hook for push notifications, so i did a bit of botching:

essential missing features are:

toastal commented 11 months ago

Excellent work @TheJonny I appreciate that you’re hosting the code on a libre code forge too with a decentralized chat option listed.

tgly307 commented 11 months ago

@TheJonny Thank you very much for your contribution. Could you provide the packed file, please? This will be a great help.

TheJonny commented 11 months ago

@tgly307 please do not expect stability yet :) For Android, it's in this F-Droid repo: https://platon.bruckbu.de/~jonny/x/fdroid/repo/ the server part should be go get; make. I don't want to provide a package right now, it should only be used in controlled environments or for testing, as the security can still be substantially improved:

toastal commented 9 months ago

In the light of the headline “Apple and Google confirm governments spy on users through push notifications” (https://www.androidauthority.com/apple-google-push-notification-surveillance-3392252/) can we consider this of higher priority finally?

@TheJonny Do you not have a mailing list set up for your repository or an issue tracker? I’m trying to get it working with Nix & spotting some things that could help out.

TheJonny commented 9 months ago

@toastal now I have - I am looking forward for your issues :)

why wouldn't they spy - as it would be a no-brainer for apple or google to end-to-end-encrypt the push messages in the librariy (just provide a key along the device identification token), I consider it intentional.