You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Q1: I am trying to save blood pressure values (sys/dia) and I am using iOS device, I tried this but it seems the values are not persisted:
Healthkit.saveQuantitySample(
HKQuantityTypeIdentifier.bloodPressureSystolic,
HKUnit.MillimetersOfMercury,
120, {
start: new Date()
}
);
Healthkit.saveQuantitySample(
HKQuantityTypeIdentifier.bloodPressureDiastolic,
HKUnit.MillimetersOfMercury,
70, {
start: new Date()
}
);
Q2: I am trying to save the heart rate measurement and I am using this code, but it seems there is a problem in the "Count" unit, I think the code expects "count/min" but it seems the value is not mapped:
Healthkit.saveQuantitySample(
HKQuantityTypeIdentifier.heartRate,
HKUnit.Count,
68,
{
start: new Date(),
}
);
Appreciate any help on this, thanks!
The text was updated successfully, but these errors were encountered:
Hi,
Couple of questions:
Q1: I am trying to save blood pressure values (sys/dia) and I am using iOS device, I tried this but it seems the values are not persisted:
Q2: I am trying to save the heart rate measurement and I am using this code, but it seems there is a problem in the "Count" unit, I think the code expects "count/min" but it seems the value is not mapped:
Appreciate any help on this, thanks!
The text was updated successfully, but these errors were encountered: