healthkit Questions

4

Solved

I want to build a fitness app that will upload the data to HealthKit. Is there any way to open/navigate to HealthKit from another app?
Kocher asked 12/8, 2014 at 8:26

2

I'm reading user's health data using HealthKit. Trying to get the timezone information from Health data to identify on which exact timezone the health activity has happened. For this, I'm depending...
Kinescope asked 13/3, 2018 at 7:57

0

I currently have a .testTarget used to test a package that relies on HealthKit. In order to test I can write and read data from Apple HealthKit, I require an entitlement, otherwise I get: "Mis...
Schaub asked 12/12, 2022 at 16:6

6

I have been using Ionic Framework for a while but I have recently come across this error plugin_not_installed for the Health Kit plugin which I know I have based on my ionic cordova plugin list out...
Polenta asked 2/1, 2018 at 17:13

2

Solved

I have built a method that imports a sleep sample but I can't get it to return the proper value for hours asleep. The method to query for sleep data looks like this: func updateHealthCategories(...
Finland asked 6/11, 2015 at 0:9

4

Is it possible to get data from Healthkit the same way as you would query regular API (With user's consent) to store in my webapp? Something like: healthkit.com/api/v1/user/GetWeight If yes, whe...
Sophrosyne asked 1/5, 2015 at 10:59

8

I'm adding code for HealthKit in my iOS Swift app, but I'm getting an error: /* Ask for permission to access the health store */ override func viewDidAppear(animated: Bool) { super.viewDidAppear(a...
Vitriform asked 23/9, 2014 at 10:56

1

Solved

I am working on an IOS sleep application where i need to do sleep analysis. I am using Healthkit for sleep data from where i can successfully fetch sleep analysis data using below code : func retri...
Oxfordshire asked 10/6, 2022 at 6:41

4

Solved

I am using HealthKit in my app to read users daily steps data and for that I enable HealthKit in my app. I uploaded app without NSHealthShareUsageDescription and NSHealthUpdateUsageDescription key...
Nature asked 27/9, 2016 at 5:48

4

Solved

Ok, so the property workoutActivityType of the HKWorkout returns a NSInteger. Here is a list with the activities: workoutActivityType list For now, I will create a plist and look for the activity...
Pricking asked 11/5, 2015 at 18:42

1

Solved

Xcode (I'm on v13.1) warns me, that quantityType(forIdentifier:) will be deprecated in a future version of iOS. I thus checked in Apple's developer documentation for a hint what else to use. Surpr...

1

Solved

Currently I have both the HealthKit and access to HealthKit records. How do I add com.apple.developer.healthkit.background-delivery to entitlements in swift/Xcode?image of current entitlement capab...
Flutter asked 7/7, 2021 at 21:1

1

I am using the function below to get heartRateVariabilitySDNN, but its get only once and not calculate realtime like heartbeat does? func HRVstart() { guard let quantityType = HKObjectType.quanti...
Preparative asked 7/4, 2020 at 13:36

3

I have a very simple workout app I'm working on for Apple Watch. It uses Health Kit to start and end workouts, my only problem is that when I try to end the workout it usually doesn't end the sessi...
Davide asked 22/7, 2020 at 19:35

6

Solved

I am now getting this error when trying to upload to the app store, but I haven't made any changes to my healthkit capability and it everything looks fine (see images). Why is it saying the value i...
Embezzle asked 14/1, 2021 at 2:16

1

I'm using HealthKit data in my widget. If the phone is locked, it's not possible to get HealthKit data, only if the phone is unlocked. However, my widget timeline's will try to update even if the p...
Fractious asked 31/12, 2020 at 15:49

0

I am using Health Kit to display steps information for the user. let healthKitTypes: Set = [ HKObjectType.quantityType(forIdentifier: HKQuantityTypeIdentifier.stepCount)!] self.healthStore.request...
Valoniah asked 15/9, 2020 at 8:37

2

In my watch extension I call this function: func requestAuthorization() { let healthStore = HKHealthStore() let workoutType = HKObjectType.workoutType() let heartRateType = HKObjectType.quantit...
Mcdaniel asked 24/11, 2016 at 3:6

4

What are the various data types tracked by HealthKit in iOS? I've not found any good overview and lists of the data types offered by HealthKit in iOS 8 & 9. I've gleaned this list from variou...
Exorbitance asked 16/6, 2015 at 0:14

1

I'm trying to add map data to my saved runs and bike rides for an Apple Watch app. I'm using CLLocationManager and HKWorkoutRouteBuilder. Apple seems to have a pretty decent guide on building work...
Urba asked 4/4, 2020 at 18:20

3

Solved

I'm looking into ways of getting the beat-to-beat intervals of separate heartbeat intervals. I'm wearing an Apple Watch and am currently able to export <Record type=“HKQuantityTypeIdentifierHe...
Drawbridge asked 31/10, 2017 at 16:56

3

Is it possible to open the Health app programmatically, like one can do with the Settings app? If it's not possible to open the app's Apple Health permissions screen directly, can we at least open...
Dido asked 29/7, 2016 at 15:32

1

Our app has captured heart rate data from HealthKit on the Apple Watch for over 2 years. However, since XCode 11, this no longer works. In fact the app crashes with the error: 'NSHealthUpdateUsageD...
Rapier asked 10/11, 2019 at 16:1

1

Solved

I am planning to access the Apple watch tracking data(steps,sleep etc.) of a user through WEB/REST API on my webapp. I can't find any doc on Apple site regarding this, Is it possible ?(plz provide...
Iredale asked 2/11, 2019 at 7:27

2

I'm doing an app that reads daily steps and sleep data from Apple HealthKit. For Steps, it's pretty easy because it is a HKQuantityType, so I can apply HKStatisticsOptionCumulativeSum option on i...
Pelletier asked 8/6, 2015 at 5:56

© 2022 - 2024 — McMap. All rights reserved.