metaflowltd / flutter_health_fit

A flutter plugin for using Apple HealthKit and Google Fit.
Other
86 stars 31 forks source link

[google fit] The user must be signed in to make this API call #51

Open mirkancal opened 2 years ago

mirkancal commented 2 years ago

Hi folks, I started to get this error last week for the Google Fit. Any idea why it is happening? I successfully registered my scopes for Oauth consent a while ago and no error on the cloud console.

mirkancal commented 2 years ago

Update: I realized that it works if I use the same account for Google sign-in in my app. But if I use email login, Google Fit not working. Even though I see the google sign-in from this package and its login while syncing.

Maybe sign-in is broken in this package but it can grab it if the user already signed in with the google sign-in.