matinzd / react-native-health-connect

React native library for health connect (Android only)
http://matinzd.github.io/react-native-health-connect
MIT License
174 stars 31 forks source link

Health Connect version requirement #107

Open zaihdo opened 2 weeks ago

zaihdo commented 2 weeks ago

More of a question than an issue. Does the wrapper use a specific health Connect version? Asking because I am currently running compiledSdk 33 and AGP 7.4. I get an error telling me to upgrade them to 34 and at leat 8.0 respectively in order to use any health connect version higher than androidx.health.connect:connect-client:1.0.0-alpha11. The wrapper seems to be using androidx.health.connect:connect-client:1.1.0-alpha06. Is there a way for me to change what version is being used?

matinzd commented 1 week ago

Hey 👋

No unfortunately it's not possible to change the healh connect version because the methods used in this wrapper are compatible with the specified version in build gradle. What is the potential blocker for you here?