4 ms·
Hmm… we haven’t had notification problems like that in many years, from memory. Any idea if this was trying to deliver push notifs to Android without using Goog
by Arathorn 3y ago
Hmm… we haven’t had notification problems like that in many years, from memory. Any idea if this was trying to deliver push notifs to Android without using Google? (Which historically has been painful thanks to Android OS versions terminating the app in the bg).
Element X has totally rewritten notification code (given it’s moved
from Kotlin to Rust) and should be much more robust for bugs like this.
Sorry you got bitten by it.
- xorcist 3y agoCommunicating via Apple or Google is sadly required these days. How does that work with matrix? Does the protocol specify how to trigger those notifications? Do I need to register for a Google API key when setting up the server? I can't recall seeing anything about that in the configuration file.
- Arathorn 3y agohttps://thomask.sdf.org/blog/2016/12/11/riots-magical-push-notifications-in-ios.html https://thomask.sdf.org/blog/2016/12/11/riots-magical-push-n... is a great blog (back when Element was called Riot) explaining how it works :)
- xorcist 3y agoThe gist of it seems to be that Synapse/Dendrite calls home to the Matrix Company, which in turn pays Google to send a notification. That's awfully nice of them, but does not really leave any room for success. I take it larger clients with security requirements roll their own clients, and this is part of the business case?
- Arathorn 3y agoIt’s more that “whoever built your client has the keys to send push to it, so your synapse calls home to them.” And yes, that means that paranoid types need their own clients, and that is indeed a service that Element offers.
- brokenmachine 3y agoJust to clarify that... I'm pretty sure the notification doesn't actually contain any of the message though, it's just a notification to check the server for new messages.
- btobolaski 3y agoDoesn't the use of ntfy change this (Android only, I think)? Homeserver pushes to an ntfy topic, app on phone is listening to that topic. Of course, this just moves the intermediary to ntfy but you can also host a different ntfy server which I hope element supports.
- derin 3y agoIt does. I use ntfy with a ntfy server on one of my VPSs, and I use the official ntfy account on GMS as an intermediary. It works fine, but I'll probably switch back to Matrix's push server at some point. Edit: With Synapse + Element, obviously.
- xorcist 3y agoThanks for sharing. Are you switching back because of pricing, or reliability issues?
- toastal 3y agoElement supports UnifiedPush. My Prosody server forwards my notifications to me via the Cheogram app.
- ThePowerOfFuet 3y ago>Communicating via Apple or Google is sadly required these days. The copy of Signal installed on my GrapheneOS Pixel (with no Google anything installed) begs to differ; notifications have been both low-latency and rock-solid. So it absolutely _can_ be done, and done well.