I wish the Calendar app had a Control Center button that showed the current date. I suppose I could build it myself now.

Prototyped the Control Center button I’d like. It’s dead simple.

Now, will iOS actually refresh my control often enough for this to provide utility? I doubt it, but I will find out through testing. If not, I’ll have to update it through push notifications, and I probably don’t want to go down that route.

My Control Center button didn't update the date it displays during the night. It wasn't updated until I interacted with the button. So, having this ControlValueProvider isn't enough for it to update its value periodically. I guess I'll need to send the device a push notification every hour or so to have the date updated.

Can't seem to get a Cloudflare Worker to make a request to APNS. I keep getting "Network connection lost". I've already wasted an hour trying to figure out why it refuses to connect to APNS. Maybe it's not communicating via HTTP2?

Anyway, this might be the end of this little project. I can't justify pouring hours upon hours into it.

@simonbs deploy a tiny vapor project to a digital ocean app, it’s very easy with the template docker file!
@kylebshr That could work but so far I have all my hobby projects like this on Cloudflare and I don't think this project is important enough for me to get acquainted with new services.
@simonbs @kylebshr
If it's just a small Cron job that calls an endpoint, maybe something simple like trigger.dev or even val.town could work 🤔
I haven't tried https://trigger.dev but I've considered as an alternative to very simple Workers.
Trigger.dev | Open source background jobs with no timeouts.

Build and deploy reliable background jobs with no timeouts and no infrastructure to manage.