agencyenterprise / react-native-health

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

Unable to run the app after configuring the package. #370

Open avinash6982 opened 4 months ago

avinash6982 commented 4 months ago

Unable to run the app Running on react native 0.64.4

To Reproduce

  1. Init app with RN 0.64.4
  2. Install react-native-health
  3. Modify info.plist
  4. Add healthKit capability from xcode
  5. clean and build the app

Expected behavior Run the app on selected target destination

Screenshots Screenshot 2024-02-29 at 1 54 01 PM

Smartphone (please complete the following information):

Note Tried to remove node_modules, pods, installed again, still same

avinash6982 commented 4 months ago

Tried this method too, still not fixed:

Rk5422686 commented 3 months ago

I encountered a similar issue. Initially, my React Native version was 0.62.3. Upon upgrading to 0.67.3, the problem was resolved. This was possible because the RCTCallableJSModules API for NativeModules was introduced in React Native version 0.66.0. Thus, to address this issue, it's necessary to upgrade your app to version 0.67 or later.