Skip to content
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

[Health 11.1.1] Add Function to check if user allow access Google Fit in Health Connect #1102

Closed
tajjacob opened this issue Dec 24, 2024 · 1 comment
Labels
improvement an improvement

Comments

@tajjacob
Copy link

image

Description

The screenshot above display the Google Fit app is allowed access in Health Connect app.
Can you add the function to check if the user allow access Google fit in Health Connect?

Additional information

getHealthDataFromTypes will return 0 if the user didn't allow Google Fit access in Health Connect

@tajjacob tajjacob added the improvement an improvement label Dec 24, 2024
@iarata
Copy link
Contributor

iarata commented Jan 3, 2025

The health plugin from version 11 stopped supporting Google Fit as this service will be shutdown by Google on June.
https://developer.android.com/health-and-fitness/guides/health-connect/migrate/fit-apis-end-of-service#:~:text=Starting%20on%20June%2030%2C%202025,for%20the%20latest%20developer%20milestones.

As it is recommended by Google's please migrate to Health Connect and/or alternative APIs

@iarata iarata closed this as completed Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement an improvement
Projects
None yet
Development

No branches or pull requests

2 participants