Closed navaidali closed 2 months ago
+1 Also interested in this fix
We are using health: ^10.2.0
When we try to read NUTRITION data from health connect, the app crashes. We have tried on multiple testing devices but the app crashes on all of the devices. The flutter app is unable to get NUTRITION Data.
Code Causing the crash
protein = await health.getHealthDataFromTypes( types: [HealthDataType.NUTRITION],startTime:startTime, endTime: endTime,includeManualEntry:false, );
I hope this helps you: https://github.com/cph-cachet/flutter-plugins/issues/950#issuecomment-2271673230
Hi,
Thanks for raising this issue. Are you experiencing this on Android or iOS?
And could you provide a stack trace of the crash?
This should be resolved in the upcoming 11.0.0 release.
We are using health: ^10.2.0
When we try to read NUTRITION data from health connect, the app crashes. We have tried on multiple testing devices but the app crashes on all of the devices. The flutter app is unable to get NUTRITION Data.
Code Causing the crash
protein = await health.getHealthDataFromTypes( types: [HealthDataType.NUTRITION],startTime:startTime, endTime: endTime,includeManualEntry:false, );