agencyenterprise / react-native-health

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

Unknown type name 'RCTCallableJSModules' #336

Closed Oodebalan closed 9 months ago

Oodebalan commented 9 months ago

Steps to reproduce the behavior:

I have followed the steps in order to install react-native-health (yarn add, pod install, update info.plist, add Healthkit support to my application's Capabilities) I have "react-native-health": "^1.18.0"

When running my application from xcode I get a type error with RCTCallableJSModules

Capture d’écran 2023-09-10 à 11 53 25
GGGava commented 9 months ago

This seems like an issue with your installation, try the following:

Oodebalan commented 9 months ago

Hey Gava, thanks for you reply

I have try this but it's still not working. I couldn't find any reason for this issue to happen..

GGGava commented 9 months ago

Did you find out what happened? @Oodebalan

Rk5422686 commented 3 months ago

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.66 or later.

Initial RN Version 0.62.3 Upgraded Version 0.67.3

It worked !