agencyenterprise / react-native-health

A React Native package to interact with Apple HealthKit
MIT License
799 stars 226 forks source link

Ipad Support Availability? #367

Closed hammadresourcifi closed 4 months ago

hammadresourcifi commented 4 months ago

Describe the bug I have successfully added the react-native-health in my iphone app, Works perfectly fine. But when I try to run the app in Ipad (17.3.1) it is giving me error while calling inithealthKit saying: "HealthKit data is not available"

My Question

  1. Is ipad supported by this library
  2. If yes what are the changes needed to be done.

To Reproduce

  1. Call : AppleHealthKit.initHealthKit Thats it.

Additional Context

  1. Created the build on Xcode 14.2

Screenshots Screenshot 2024-02-22 at 2 17 21 PM

Smartphone (please complete the following information):

hammadresourcifi commented 4 months ago

Moved to Discussion. https://github.com/agencyenterprise/react-native-health/discussions/368