|
...
|
...
|
@@ -62,7 +62,6 @@ final class HealthKitHostApiImpl: HealthKitHostApi { |
|
|
|
DebugLogger.debugLog("requestHealthClientAuthorization granted: \(granted)")
|
|
|
|
if granted {
|
|
|
|
service.restartBackgroundObserversAfterAuthorization()
|
|
|
|
_ = await AnchoredHealthDataUploader.shared.uploadAll()
|
|
|
|
}
|
|
|
|
completion(.success(granted))
|
|
|
|
}
|
...
|
...
|
|