OvalMoney / react-native-fitness

A React Native module to interact with Apple Healthkit and Google Fit.
MIT License
341 stars 68 forks source link

Get Access Token from Fitness.requestPermissions() #77

Open Karthiksheety opened 3 years ago

Karthiksheety commented 3 years ago

Hi,

I am trying to fetch the access token on the android device after the user authorize by Fitness requestPermissions() and then send access token to my backend server so that we can fetch steps data using Google Fit Rest API.

Francesco-Voto commented 3 years ago

Hi @Karthiksheety

For the moment we do not provide an access token. We will do in the future or be free to open a PR :)