iHealthDeviceLabs / iHealth-React-Native-SDK

3 stars 11 forks source link

OLD Repo. Do not use. #7

Open Oakyden opened 1 year ago

Oakyden commented 1 year ago

iHealth dashboard would have you believe if you download their PDF documentation and follow it, you will be using this repo and have installed their package.

Instead, they have since made a load of updates on this repository - https://github.com/iHealthLab/iHealth-rn-sdk and it is from this that they did the most recent update to their NPM package.

The https://github.com/iHealthLab/iHealth-rn-sdk repository has an example project within it. Download it, npm install, then run android etc, and get acquainted with how they've set it up / ensure you can run that example app on your emulator / device and it works with an iHealth bit of hardware, then go from there. iHealth have confirmed the docs listed in their dashboard are 4 years out of date and completely irrelevant....

At the time of this comment I had to add some of my own code and a patch to get the iHealth example app running, see my forked PR in the https://github.com/iHealthLab/iHealth-rn-sdk repository.

Good luck!

razzfox commented 1 year ago

I don't see a PR by @Oakyden in the iHealth-rn-sdk repository. Can you please point me to the fork with patches you made to get it working?

Oakyden commented 1 year ago

@razzfox sorry for the delay, sorry I didn't put the fork PR in, I'll look to do this for you soon. The patch was just to change one dependency version in the iHealth package.

Oakyden commented 12 months ago

@razzfox finally done a PR here https://github.com/iHealthLab/iHealth-rn-sdk/pull/28