-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scope for HealthDataTypes of Google Fit #6
Comments
Comment by mcpotter I'm curious too. Can anyone shed some light on this? I'm unable to read the data (it just gives me a result along the lines of "Application needs OAuth consent from the user" because we don't have the required Scope specified, if such a Scope exists). |
Comment by mohananr-tpvision addScope(new Scope("https://www.googleapis.com/auth/fitness.blood_pressure.read")) works. This atleast helps you resolve the "Application needs OAuth consent from the user". I really dont have an app or a device that would sync HealthData (BP or glucose) into google fit. So, im not able to test anything. |
Comment by mohananr-tpvision You can also refer to my stackoverfloww link on the same topic. |
Comment by FalmaJeus Hello, Have you found any apps that write blood pressure data. |
Comment by ViTVetal @FalmaJeus Hello! Unfortunately, I didn't find the solution. You may write do developers of this app on play store |
Issue by ViTVetal
Tuesday Jun 13, 2017 at 15:33 GMT
Originally opened as googlearchive/android-fit#22
I want read HealthDataTypes (temperature, blood pressure and glucose). Which Scope I must set when create GoogleApiClient?
.addScope(new Scope(????))
The text was updated successfully, but these errors were encountered: