That’s right. It actually got rejected twice for using HealthKit. The post @rob linked to is from September 2018. I tried again in August 2019 and got rejected. I’d still love to have HealthKit integrated in Scriptable and I’ve got all the code ready but honestly, I’m loosing hope that Apple will let me release it.
Yeah, I’ve thought about that. Unfortunately it’s a bit clunky for my weird setup.
In short, my script checks for any events in my “Sports” calendar. If there are, it sends a notification every 45 minutes until the event begins.
So, some days I get 0 notifications. Other days I get 10 notifications.
If I incorporate Pushcut then it would work like this:
Receive Scriptable notification
Click Notification
Send URL request to Pushcut.
Pushcut sends Notification
Click Notification
Shortcuts launches.
That’s just a little clunkier than it’s worth IMO.
–––
Doing it with just scheduled Pushcut notifications doesn’t quite work because I only want the notifications on certain days.
–––
Another relatively smooth way to do this would be if Scriptable could launch a Shortcut. I know that’s not currently an API offered by Scriptable but maybe there’s a URL scheme I could use?
Lemme know if anyone has an idea on how to do that.