@flomentumsolutions/capacitor-health-extended 0.6.2 → 0.6.3
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.
|
@@ -181,7 +181,7 @@ public class HealthPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
healthStore.getRequestStatusForAuthorization(toShare:
|
|
184
|
+
healthStore.getRequestStatusForAuthorization(toShare: Set<HKSampleType>(), read: Set(characteristicTypes)) { status, error in
|
|
185
185
|
DispatchQueue.main.async {
|
|
186
186
|
if let error = error {
|
|
187
187
|
call.reject("Failed to determine HealthKit authorization status: \(error.localizedDescription)")
|
package/package.json
CHANGED