agencyenterprise / react-native-health

A React Native package to interact with Apple HealthKit
MIT License
880 stars 235 forks source link

3rd Party Data in Health Kit not pulling through API. #248

Open agwelford opened 2 years ago

agwelford commented 2 years ago

3rd Party Data in Health Kit not pulling through API. Even if Whoop data and/or Garmin data sits in Apple Health App, it cannot be pulled by the API

Reproduce: Connect Whoop or Garmin data into Apple Health Kit and try and view the data pulled in the API.

Does anyone else experience this issue?

mattshax commented 1 year ago

Yes I am experiencing the same issue.. trying to get Garmin, Strava and/or Oura data to appear pull.

The data does exist in Healthkit, but cannot seem to appear when pull workout records with getSamples.

Any suggestions?

Wrsanches commented 1 year ago

@agwelford @mattshax I'm facing the same issue, do you have any progress on it?

mattshax commented 1 year ago

Unfortunately, it seems like Apple prevents access to data pushed from third party apps. So I am ending up making separate Oauth connections to various activities platforms that have the data. Wish their was a better way - this similar behavior exists on Google Fit as well. If there is an alternative way would be interested in hearing it.