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.
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.