this post was submitted on 27 Jul 2023
3 points (100.0% liked)
ntfy
8 readers
1 users here now
ntfy (pronounced notify) is a simple HTTP-based pub-sub notification service. You can use it to send push notifications to your phone via HTTP PUT/POST.
ntfy website • Documentation • GitHub • Google Play • F-Droid • Discord • App Store • Matrix
If you'd like to become a sponsor, I would be humbled to accept your donation via GitHub Sponsors or Liberapay 💸💰.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
My backend POSTs notification JSON to self-hosted ntfy server:
The ntfy server should broadcast all fields, including
customField
to the websockets/subscribers of this topic.Am I missing something?
Got it. Yeah no that's not supported. I have thought about adding that many times, but nobody's asked for it so far.
I'd probably call them
extras
though or something, so it'd be:That would work great! So anything sent under
"extras"
would be forwarded verbatim to the mobile app.Is it too much trouble to implement?
It's probably easy as pie to implement. Feel free to open a ticket on GitHub.