JohanDegraeve / xdripswift

xdrip for iOS, written in Swift
GNU General Public License v3.0
327 stars 322 forks source link

Apple Watch complication #153

Open miguelpruivo opened 3 years ago

miguelpruivo commented 3 years ago

Hi, how hard would it be to add an Apple Watch complication for this one?

Motive: I have multiple calendars that I need to check through the day, and having BG always showing up on “next event” isn’t actually that great on watch.

Also, having a complication has its perks, such as being able to trigger notifications on the watch even with DND on despite refreshing being somewhat limited to a few times a hour, but since the app is always on background, it seems to refresh more often (as it happens with other apps).

I might give a help if necessary.

JohanDegraeve commented 3 years ago

I don't know how hard it is, for me personally this is not a priority. But I understand this is important for you and I'm sure others would be happy with it also.

So I think the best is that you try to do the development and make a pull request.

I'm available for questions if needed

LiroyvH commented 3 years ago

@miguelpruivo A problem with complications is that they do not update in real-time whereas the Calendar does, or at least with very little delay. As the only complication in WatchOS. Others can't do that. An immediate solution is to buy another calendar app (eg: Calendars5) which you let show your normal calendars/events but not the xdrip one and add complication for it. You configure the official Apple agenda on your Watch to only show the xdrip one.

This way you can see your events and your readings without them interfering with each other.