@flomentumsolutions/capacitor-health-extended 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -629,17 +629,17 @@ public class HealthPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
629
629
|
|
|
630
630
|
private func mapFitzpatrickSkinType(_ skinType: HKFitzpatrickSkinType) -> String {
|
|
631
631
|
switch skinType {
|
|
632
|
-
case .
|
|
632
|
+
case .I:
|
|
633
633
|
return "type1"
|
|
634
|
-
case .
|
|
634
|
+
case .II:
|
|
635
635
|
return "type2"
|
|
636
|
-
case .
|
|
636
|
+
case .III:
|
|
637
637
|
return "type3"
|
|
638
|
-
case .
|
|
638
|
+
case .IV:
|
|
639
639
|
return "type4"
|
|
640
|
-
case .
|
|
640
|
+
case .V:
|
|
641
641
|
return "type5"
|
|
642
|
-
case .
|
|
642
|
+
case .VI:
|
|
643
643
|
return "type6"
|
|
644
644
|
case .notSet:
|
|
645
645
|
return "not_set"
|
|
@@ -650,9 +650,9 @@ public class HealthPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
650
650
|
|
|
651
651
|
private func mapWheelchairUse(_ wheelchairUse: HKWheelchairUse) -> String {
|
|
652
652
|
switch wheelchairUse {
|
|
653
|
-
case .
|
|
653
|
+
case .yes:
|
|
654
654
|
return "wheelchair_user"
|
|
655
|
-
case .
|
|
655
|
+
case .no:
|
|
656
656
|
return "not_wheelchair_user"
|
|
657
657
|
case .notSet:
|
|
658
658
|
return "not_set"
|
package/package.json
CHANGED