Closed pzierahn closed 2 years ago
Having the same issue. Any update to this?
@JanBrin & @pzierahn I made a fix here: #544
Hey @pzierahn
Health has been updated to 4.0.0 and has support for adding workouts on Android and iOS using the writeWorkoutData
instead and users should now use this function for workouts. However, due to the nature of the enums HealthDataType
I will add an exception to the writeHealthData
if uses try to add workouts using this function.
Best regards, Mads
Remember to specify the plugin name in the title!
Device / Emulator and OS
Please complete the following information for each phone and/or emulator you're experiencing this bug on:
Describe the bug
App crash when saving Workout health data.
To Reproduce
Expected behavior
Store the workout.
Actual behavior
The iOS app crashes with the following output:
Flutter doctor
Additional information
The problem seems to be similar to https://github.com/cph-cachet/flutter-plugins/issues/463.