Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
avinash6982 opened this issue Feb 29, 2024 · 3 comments
Open

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

avinash6982 opened this issue Feb 29, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@avinash6982
Copy link

avinash6982 commented Feb 29, 2024

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):

  • Device: M2 macbook / iPhone 15
  • OS: macOS 14.2.1 / iOS 17.3.1

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

@avinash6982 avinash6982 added the bug Something isn't working label Feb 29, 2024
@avinash6982
Copy link
Author

avinash6982 commented Feb 29, 2024

Tried this method too, still not fixed:

@Rk5422686
Copy link

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.

@nestorLanex2
Copy link

@Rk5422686 What version is your react-native-health running when you made the RN upgrade?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants