JohanDegraeve / xdripswift

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

Critical alerts, or otherwise a different type of alerts #429

Open norayna opened 1 year ago

norayna commented 1 year ago

Hello, I have an enhancement request - apologies if anything in my request is incorrect, I don't really understand Swift; also I had a look through existing issues and I don't think there was a similar one.

Here's the situation:

paulplant commented 1 year ago

What you are describing is the normal way for WatchOS to handle mirrored iOS notifications.

This isn't actually an issue or bug with xDrip4iOS per se.

The Watch app will be re-written when time allows to incorporate native notifications which will give a much richer experience for alarms etc (sorry, but I don't know if this will be weeks or months).

Are you ok if we close this issue now (as it's just a feature request rather than a bug/issue)?

norayna commented 1 year ago

Ah yes I see what you mean about the default WatchOS mirroring behaviour, however I feel like the issue can be resolved without making changes to the Watch app because pretty much all other apps cause a vibration notification on the watch. This is where my lack of knowledge of iOS and WatchOS fails me, but I believe the type of notification used by Shuggah must be some type of special case that doesn't cause a vibration on WatchOS.

So I think there is a possibility that it's an easy change, but there's also a possibility that it requires a big refactor. And unfortunately I've not been able to figure out exactly what the change would involve.

Yes I'm happy for the issue to be closed if you think it's more of a feature request, would you like me to describe and submit this somewhere else as a feature request? I totally understand if you'd rather use issues just for bugs.

crsohr commented 11 months ago

Notifications vibrate on the watch when the sound is enabled. Have you changed your settings to mute the alert?

OliNix commented 1 month ago

To reinvigorate this, I have worked out the logic:

IF("override mute" = ON) AND Apple Watch connected (and being worn)

IF("override mute" = OFF) AND Apple Watch connected (and being worn)

IF("override mute" = OFF) AND Apple Watch NOT connected

Summary In summary, the alerts are not setup correctly for IF("override mute" = OFF) AND Apple Watch connected (and being worn), they "should" follow the same logic as phone calls or text message alerts, where both the phone alerts as well as the watch, silent settings are managed per device (i.e you can mute the phone or watch independently of one another):