Matin Zadeh Dolatabad

Results 252 comments of Matin Zadeh Dolatabad

Your react native version is invalid. Please provide a correct react native version. Seems like your project setup is having some issues and the first complaint is for react native...

Have you all checked if data is present in Google Health Connect app? Are Google Fit and Health Connect sync enabled?

If you are also getting 0 in health connect toolbox as well, then the issue is not related to react native health connect. I can't help you with that.

It seems like this inconsistency comes from the health connect core. I will try to investigate this.

Duplicate of https://github.com/matinzd/react-native-health-connect/issues/63.

It is both supported on Expo and bare RN. Our example is a bare RN project.

Same answer again 😅 Just clone the repo and go to example folder. I myself, do not even test my lib on Expo for now and I have been using...

If you are getting an error when running `npm start` I can say that is not caused by this lib or any other libs and it can be some misconfigurations...

As you can see `recordingMethod` is implemented [here](https://github.com/matinzd/react-native-health-connect/blob/018e38a57290ea065eed8f20b472e88b883aa763/android/src/main/java/dev/matinzd/healthconnect/utils/HealthConnectUtils.kt#L118) thanks to @sauravexodus in this [PR](https://github.com/matinzd/react-native-health-connect/pull/36). Maybe I need to try updating to the latest native lib but I cannot guarantee that...

From docs: https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0-alpha06 `recordingMethod` definitions are public in alpha06 and we are on alpha04.