Open BigmenPixel0 opened 1 year ago
I already use it for a matrix client. It works !
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.
Supporting unified push would have several benefits:
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.
It seems mattermost is using https://github.com/wix/react-native-notifications/ for push notifications - so unifiedpush should be integrated there
Hi :)
Version 9 of the server supports a plugin hook for push notifications, so i did a bit of botching:
/register_unifiedpush [url]
/register_unifiedpush
-command needed, and displays notifications. if you tap the notification, it opens the mattermost:// link to open the correct chat in the mattermost app.
It would be really awesome if somebody would help me integrating this. I'm available as @thejonny:bruckbu.de
on matrix.essential missing features are:
Excellent work @TheJonny I appreciate that you’re hosting the code on a libre code forge too with a decentralized chat option listed.
@TheJonny Thank you very much for your contribution. Could you provide the packed file, please? This will be a great help.
@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:
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.
@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.
What about this? https://unifiedpush.org