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

Requesting permission error #275

Open
huda220 opened this issue Jul 4, 2024 · 4 comments
Open

Requesting permission error #275

huda220 opened this issue Jul 4, 2024 · 4 comments

Comments

@huda220
Copy link

huda220 commented Jul 4, 2024

I can open the apps but when i go to exercise session and others, i can only pressed request permission and nothing happen. Why ? pleaseee

@yschimke
Copy link
Contributor

yschimke commented Jul 4, 2024

Which apps specifically, which device or emulator?

@huda220
Copy link
Author

huda220 commented Jul 4, 2024

the Health Connect Codelab app. I used Android physical device, OPPO to run it. When I click request permission, nothing happen. Im trying to migrate my project from using google fit api to health connect but i dont know how. I only have 1 weeks to do it because i accidently deleted my oauth client id.

This is my java file that i try to migrate to using health connect api. Please help me.
MainPatientActivity.pdf

@breanatate
Copy link
Contributor

It looks like the Health Connect codelab hasn't been updated yet for Android 14 (if your OPPO device is running Android 14, this would explain the error).

While we fix that, you can use the Health Connect Sample as a reference. The layout/format and code are very similar to the codelab, the only difference is it doesn't walk you through the changes.

@huda220
Copy link
Author

huda220 commented Jul 9, 2024

Thank youu !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants