@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: nil, read: Set(characteristicTypes)) { status, error in
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flomentumsolutions/capacitor-health-extended",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Capacitor plugin for Apple HealthKit and Google Health Connect Platform",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",