Android and Health Connect Permissions Issues; need an assist


I've developed an app that reads data from the health apps on both Apple and Android platforms. Its purpose is to provide folks managing chronic health issues (such as heart transplant patients) with simple access to their biometric data in a report format they can share with their care team.

On Apple...it works fantastic. HR, blood glucose, blood pressure, weight, BMI, steps, sleep data...you name it, the app pulls the data in like a dream. Entitlements were added, it requests permission, keeps everything right there.

On Android...I cannot get past the permissions programmatically. If I disable the permissions check and just manually add permissions in Health Connect, the app works but even there it has issues pulling data (data that I *KNOW* is there because I can see it).

I'm using the correct data types in the queries; it just keeps running into problems pulling the data. I'm new to Android development so I haven't the experience to really hammer this one out yet and it's driving me nuts. I even turned the AIs loose on the issue and they couldn't solve it. I'm running Flutter/Dart and the code works on iOS/iPadOS, just not Android. I even have platform statements to keep things isolated.

Tips, suggestions, resources...? 

-3
May 11 at 4:09 PM
User AvatarNoctaire
#android#healthconnect

No answer found for this question yet.