binwiederhier / ntfy

Send push notifications to your phone or desktop using PUT/POST
https://ntfy.sh
Apache License 2.0
17.82k stars 695 forks source link

iOS: add shortcuts to publish notification #302

Open prabirshrestha opened 2 years ago

prabirshrestha commented 2 years ago

Refer to https://support.apple.com/guide/shortcuts/welcome/ios.

While you can directly call http this will start becoming cumbersome when using auth. It will be good if the shortcut can automatically call on-behalf of the authenticated ios app user.

image

binwiederhier commented 2 years ago

Thank you for your feature request. I am not sure if I am going to add "publish via app" support at all, so that's already low on my list. Adding a shortcut is even lower, so I'm not sure. I flagged it as https://github.com/binwiederhier/ntfy/labels/prio%3Alow for now, but I may eventually just close this.

I am happy to accept contributed code for this feature though. There are so many other things on my list that are more important.

binwiederhier commented 2 years ago

@Nllii The code you linked just schedules a notification to show at a later time. I'm confused what that has to do with the original ticket.

Nllii commented 2 years ago

@Nllii The code you linked just schedules a notification to show at a later time. I'm confused what that has to do with the original ticket.

I miss read the original ticket.

I was going to open a ticket about the test flight test on iOS 14 not automatically getting notifications.

macccorehenni commented 1 year ago

This would be nice for getting subscriptions as well.

macccorehenni commented 1 year ago

In the interim, here's a Shortcut