Closed AlexanderZgersky closed 3 years ago
Hi @AlexanderZgersky
Thank you for your report and using this package.
Indeed, there is an issue with the parsing. I made a fix and published a new version 1.4.1
@VictorKachalov Thank you for your support, after upgrading to version 1.4.1, the problem disappeared.
I have to get BirthDate and BiologicalSex in my app, for this purposes I use
HealthKitReporter.characteristicsQuery()
method. I've faced with the following problem. I get an exception_TypeError (type 'Null' is not a subtype of type 'String')
in case if I request permissions only forCharacteristicType.dateOfBirth
,CharacteristicType.biologicalSex
and then callHealthKitReporter.characteristicsQuery()
. As result I have to request permissions for all characteristics and then callHealthKitReporter.characteristicsQuery()
to get only BirthDate and BiologicalSex. Is it possible to get these characteristics without requesting additional permissions?