react-native-health-connect icon indicating copy to clipboard operation
react-native-health-connect copied to clipboard

docs: update docs to reflect implementation for Java based ReactNative projects

Open pridemusvaire opened this issue 1 year ago • 4 comments

The current docs do not reflect how to integrate the module in old react native projects which are Java based, leaving people to aimlessly search on the internet for answers and create unnecessary issues .

pridemusvaire avatar Jul 29 '24 04:07 pridemusvaire

However this is a good addition but I believe that the kotlin template was started with RN 0.72.0 and this module also only supports 72 and above. Is there any reason for you to use Java instead in your templates?

matinzd avatar Jul 29 '24 09:07 matinzd

However this is a good addition but I believe that the kotlin template was started with RN 0.72.0 and this module also only supports 72 and above. Is there any reason for you to use Java instead in your templates?

Hi @matinzd , I think this will help people with old projects, there's still a lot of these projects and this is the only maintained react-native-health module, which is why most people are trying to use it,

also when you upgrade a react-native project, that does not convert the project to Kotlin so either way most people who initialised their projects pre 0.72.0 same case as me

pridemusvaire avatar Aug 03 '24 07:08 pridemusvaire

I agree with @matinzd. Maybe this example for Java projects could be placed in a separate section of the docs.

gabrielgouv avatar Aug 03 '24 14:08 gabrielgouv

hi @gabrielgouv , not sure if you had a look at the PR , the PR adds another section to the docs

pridemusvaire avatar Aug 04 '24 17:08 pridemusvaire