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

HealthKit permissions only requested once #1799

Open
mpgxvii opened this issue May 14, 2024 · 0 comments
Open

HealthKit permissions only requested once #1799

mpgxvii opened this issue May 14, 2024 · 0 comments
Assignees

Comments

@mpgxvii
Copy link
Member

mpgxvii commented May 14, 2024

The Apple Healthkit Permission screen will only be shown once. If the user denies HK permissions, there will be no data in the query results and permissions will not be requested again even if the app calls the HK requestAuthorization method.

There could be two solutions for this:

  1. We can explicitly tell the user to make sure this is enabled in the Health app.
  2. We can check the results of the query, and if there is no data, the user either has permissions disabled or there is no data for the user for that time period. If there is no data, we can just ask the user to check permissions. Possible message:
We did not receive any data from Apple Health. Can you please check that permission in the Apple Health app are enabled for RADAR Questionnaire app. <Add detailed instructions>
@mpgxvii mpgxvii self-assigned this May 14, 2024
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

1 participant