Re:Ntfy.sh – Send push notifications to your phone via PUT/POST
by syedmsawaid on Tuesday November 08, 2022 @07:24PM
(#33526087)
How can one integrate it into his own android app?
[ Parent
| on HN ]
Re:Ntfy.sh – Send push notifications to your phone via PUT/POST
by binwiederhier on Tuesday November 08, 2022 @08:15PM
(#33526461)
To publish, just PUT/POST via your favorite HTTP library, or publish via intent (https://ntfy.sh/docs/subscribe/phone/#automation-apps).
And to subscribe, either use UnifiedPush (https://unifiedpush.org/), or use intents (see link above). Or, implement your own foreground service with WebSockets (just like the ntfy app does).