You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm calling requestAuthorization with WORKOUT & WRITE . It only returns true if I also include READ_EXERCISE, READ_DISTANCE, READ_TOTAL_CALORIES_BURNED & READ_ACTIVE_CALORIES_BURNED in my Android Manifest. But am not asking to read anything.
call requestAuthorization with the type & permission WORKOUT & WRITE. If You do not include READ_EXERCISE, READ_DISTANCE, READ_TOTAL_CALORIES_BURNED, READ_ACTIVE_CALORIES_BURNED, WRITE_EXERCISE, WRITE_DISTANCE, WRITE_TOTAL_CALORIES_BURNED & WRITE_TOTAL_CALORIES_BURNED it will return false.
Expected behavior
I expect to only include WRITE_EXERCISE, WRITE_DISTANCE, WRITE_TOTAL_CALORIES_BURNED & WRITE_TOTAL_CALORIES_BURNED in my android manifest.
The text was updated successfully, but these errors were encountered:
health 11.0.0
Device / Emulator and OS
Google Pixel 6 - Android
Describe the bug
I'm calling requestAuthorization with WORKOUT & WRITE . It only returns true if I also include READ_EXERCISE, READ_DISTANCE, READ_TOTAL_CALORIES_BURNED & READ_ACTIVE_CALORIES_BURNED in my Android Manifest. But am not asking to read anything.
ANDROID Manifest - have to include all these to get it to return true.
To Reproduce
call requestAuthorization with the type & permission WORKOUT & WRITE. If You do not include READ_EXERCISE, READ_DISTANCE, READ_TOTAL_CALORIES_BURNED, READ_ACTIVE_CALORIES_BURNED, WRITE_EXERCISE, WRITE_DISTANCE, WRITE_TOTAL_CALORIES_BURNED & WRITE_TOTAL_CALORIES_BURNED it will return false.
Expected behavior
I expect to only include WRITE_EXERCISE, WRITE_DISTANCE, WRITE_TOTAL_CALORIES_BURNED & WRITE_TOTAL_CALORIES_BURNED in my android manifest.
The text was updated successfully, but these errors were encountered: