I'm trying to import biometrics from a user when they give us Health permissions in Watch OS6. Specifically, we are after birthdate, height, weight, ***, resting HR. All read fine so long as Healthkit has data for them, but the weight (bodymass) and height only read is there has been a datapoint added in the past two weeks. Any longer than that, and I get a null value. If I open Health on the iPhone and manually add a new datapoint for height or weight, I can then access these properties again for the next 14 days.
let height = HKObjectType.quantityType(forIdentifier: .height)!
let weight = HKObjectType.quantityType(forIdentifier: .bodyMass)!
Has anyone else come across this issue, or found a better way to handle it? Birthdate and *** work without issue. Haven't checked Resting HR as it's getting new datapoint written frequently anyway.
Thanks in advance,