this post was submitted on 04 Jun 2025
46 points (97.9% liked)
Asklemmy
48795 readers
583 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- [email protected]: a community for finding communities
~Icon~ ~by~ ~@Double_[email protected]~
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
At least on Android you have two options: you use Google's notification API which lets your app sleep until the system wakes it back up on receiving a notification. Or you skip all that, then your app has to run in the background or you won't get notifications. You can guess what this does to your battery.
Ntfy exists. I use it for 3-4 apps.
How do you get it to do discord and other random apps?
Can't do it with random apps, but most FOSS apps, like Molly (fork of Signal), Element (matrix protocol), Tusky (for Mastodon), etc. use this.
I think using it for discord can be possible, but you would have to set up your own notification server. Like for Signal chats, there has to be another server between my notification server and Signal's server (MollySocket), which listens to the notifications and sends it to my Ntfy. You will have to set something up that is always online waiting for new messages, and when new message arrives, it pings your Ntfy, and Ntfy pings your phone.