3 ms·
I wish Apple itself had a service like this. Make it part of iCloud. Give me a URL and a token so I can just send a push notification to my phone without an a
by jedberg 5y ago
I wish Apple itself had a service like this. Make it part of iCloud. Give me a URL and a token so I can just send a push notification to my phone without an app. Make it part of the OS.
- codetrotter 5y agoIf they did that then scammers would coax people into giving them access to the push token and the victims would be receiving spam notifications that would be very hard for them to get rid of. We already see that kind of stuff with spam calendars. I don’t see Apple enabling such kind of push notifications. What kind of use cases do you have in mind?
- jedberg 5y ago> If they did that then scammers would coax people into giving them access to the push token Since it would still go through apple servers, they could put mitigations in place, such as checking for repeated messages to multiple accounts, one IP pushing to multiple accounts, the actual content of the message, etc. They could also put an interface right on the phone that lets you mark it as spam. They could also give you an easy way to rotate the key. > What kind of use cases do you have in mind? - Set up a cron to trigger an push when I know we need to leave the house. - Set up a cron to trigger a push at 7pm to all the phones in the house to remind the kids to come to dinner (and remind me it is dinner time). - Use a weather API and the Nest API to determine when it is time to open or close the window and push that. - Use my cameras to determine when the postman has arrived and then push that the mail has arrived. - Basically any useful household information that can be gathered via API and pushed without anyone having to ask for it.
- raron 5y agoYou need something like this: https://github.com/fi3te/NotificationCron https://github.com/fi3te/NotificationCron
- jedberg 5y agoLooks like that is only Android, and only solves my first two use cases anyway.
- foodstances 5y agoYou could use Pushover for that, it works on iOS and Android - https://pushover.net https://pushover.net You can also send images captured from your camera in addition to just text notifications.
- jedberg 5y agoSure, there are plenty of services that I can sign up for where I can install their custom app and then send my private messages in the clear to their servers. But the point is I want Apple to do it so I don't have to rely on a 3rd party. I already have to trust Apple with my private data and for the most part rely on their servers to be up. I don't want to add another service to rely on.
- merlinscholz 5y agoWould using the home assistant app and api be a solution to that problem?
- jedberg 5y agoAs far as I can tell that API goes the other way -- it makes it so home assistant can query custom entities. But I think you'd still have to make a request for the information, it can't be automatic?
- srcreigh 5y agoThis is tantamount to providing web push APIs. Which Apple doesn't because the App Store would lose relevance. It's also against the App Store rules to make an app which provides an OS limited service such as push notifications as an API.
- jedberg 5y ago> This is tantamount to providing web push APIs. Which Apple doesn't because the App Store would lose relevance. It would be one abstraction away, but you're right, it would be pretty close. > It's also against the App Store rules to make an app which provides an OS limited service such as push notifications as an API. They don't seem to enforce those rules very consistently, given how many "push notification" services exist today.
- pizza 5y agoWonder if there's a way to use shortcuts to do a kind of pubsub that can produce notifications. A little googling resulted in this, which looks.. perhaps similar..? to what you're looking for, but 3rd party: https://www.pushcut.io https://www.pushcut.io
- helsinkiandrew 5y agoWithout an application what is the difference between a notification and a text message/iMessage? I can see spammers creating schemes to obtain peoples notification URL/address and bombarding them with multimedia popup ads with no ability for the user to block them. Tying notifications to apps at least means that there is some audit trail and ability for users to stop receiving notifications and ultimately for the developer/sender to be removed entirely.
- zikduruqe 5y agoI just use the SMS Gateway of my provider to send mail to. https://www.liquisearch.com/list_of_sms_gateways https://www.liquisearch.com/list_of_sms_gateways For example, when one of my servers reboots, I have this in cron: @reboot sleep 600 && echo "Server has rebooted" | mail -s "Alert - Reboot notification" 2125551212@smstext.com
- binwiederhier 5y agontfy can send e-mail too, no installation, no token, no signup: https://ntfy.sh/docs/publish/#e-mail-notifications https://ntfy.sh/docs/publish/#e-mail-notifications curl -d "Server has rebooted" "ntfy.sh/mytopic?email=phil@example.com"
- deleted 5y ago[deleted]
- jedberg 5y ago> Without an application what is the difference between a notification and a text message/iMessage? SMS isn't secure and I can't send an iMessage from the command line. Push notification is the only way to get a message securely to my phone. > I can see spammers creating schemes to obtain peoples notification URL/address and bombarding them with multimedia popup ads with no ability for the user to block them. I addressed this in a sibling comment -- it would still go through Apple's servers and there is a lot they can do to mitigate that. > Tying notifications to apps at least means that there is some audit trail and ability for users to stop receiving notifications and ultimately for the developer/sender to be removed entirely. If apple ran the service, they would have all the same paper trails and mitigations.
- monocularvision 5y agoWhile not built-in, $5 and this app is pretty close to what you want: https://apps.apple.com/us/app/pushover-notifications/id506088175 https://apps.apple.com/us/app/pushover-notifications/id50608...