question

maria21 avatar image
0 Votes"
maria21 asked maria21 edited

xamarin google api call refresh token oauth2

I am trying to get users current and historical step count for android part of my pedometer application. There is Google fit api for this. However I don't know how to do following with the xamarin forms app:

  1. Promt user to give permission and authorize google fit api

  2. Get google oauth2 access and refresh token to make following current and historical step data calls.



I could find some github samples but they use deprecated apis and could not make them work. Any help is appreciated, thanks.


dotnet-xamarin
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers