Skip to content

HealthKit permissions only requested once #1799

@mpgxvii

Description

@mpgxvii

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>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions