Skip to content

Unnecessary permissions needed for reading Workout data on Android #471

@Ali-Toosi

Description

@Ali-Toosi

Reading WORKOUT data type requires these permissions on Android:

  <uses-permission android:name="android.permission.health.READ_DISTANCE" />
  <uses-permission android:name="android.permission.health.READ_ACTIVE_CALORIES_BURNED" />
  <uses-permission android:name="android.permission.health.READ_TOTAL_CALORIES_BURNED" />

But they are not necessary for cases where you only work with the workout data itself (e.g. the workout type, the workout time, etc.)

Adding these permissions (in addition to adding the risk of functionality issues if the user doesn't grant them) is causing Google Play to reject the apps that don't directly show/use these values.

Is it possible to have the option of reading the workout data without the extra information if they aren't asked for?

Here's a screenshot of the issue being raised in Google Play review:

Image

I suppose there is always the "workaround" of actually reading and displaying those values somewhere for the sake of passing the review, but it might be nice to remove them when they are not needed.

Thanks.

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