-
-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Describe the bug
When querying for CategoryType
- Acne
- Abdominal cramps
- Bloating
- Breast Pain
- Fatigue
- Headache
- Mood Changes &
Quantity type - Basal body temprature,
CategoryQuery & QuantityQuery does not seem to ever return. Xcode seems to throw some error (See screenshot below).
I am not very conversant with Swift so could not exactly identify the issue. But it could be that we are trying to return HKCategoryValuePresence
while expected is HKCategoryValueSeverity
.
To Reproduce
In the example app, try to query any of these mentioned types. This will fail if permission is granted and a corresponding entry exists in apple health.
Expected behavior
The query should return the correct values.
Screenshots

Desktop (please complete the following information):
- OS: MacOS
- Browser [e.g. chrome, safari]
- Version 15.1.1 (24B91)
Smartphone (please complete the following information):
- Device: iPhone 12 mini
- OS: iOS 18.2
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.