Closed IronTony closed 3 years ago
@IronTony Did you manage to get it working?
@geekmidas nope, I used other 2 packages: rn-apple-healthkit
for iOS and react-native-google-fit
for Android
You can try react-native-permissions
but I preferred to go the other way. Best of luck
@IronTony I tried using react-native-google-fit but it was the same issue on my side, it did not ask for permissions as well
@geekmidas mmmm strange. I did this:
onst googleFitFlow = useCallback(async () => {
await GoogleFit.checkIsAuthorized().then(() => {
GoogleFit.authorize(googleFitOptions)
.then((authResult) => {
and it is working fine.
Just a quick hint, I think that this is not the right place to talk about another package 😉
@IronTony Thanks for the hint. Do you mind if I contact you privately on the email you have on GitHub?
@geekmidas sure no problem
Thanks man @IronTony I sent you an email.
Hi all,
I was trying to using the permission and the method
getDistance
unfortunately the permission is not asked, just the permission for the steps, so neither the value is visible and usable