flutter-plugins icon indicating copy to clipboard operation
flutter-plugins copied to clipboard

Health 4.1.0 - Can't fetch other data, only steps

Open Nedimko123 opened this issue 3 years ago • 3 comments

I copied the example code, and I can fetch the steps data, but when I fetch other data I get this:

I/flutter (21117): requested: true
I/flutter (21117): Exception in getHealthDataFromTypes: Null check operator used on a null value

Using the latest Flutter and Dart version, and it is connected to Google Fit and it has some data at Google Fit

Nedimko123 avatar Jul 03 '22 09:07 Nedimko123

I tried the 4+ versions, those 2 didn't work, so I tried this version: health: ^3.4.4 and it worked

Nedimko123 avatar Jul 03 '22 09:07 Nedimko123

Iam having same issue, is there any other solution?

CemTitor avatar Jul 05 '22 13:07 CemTitor

Fixed #575

CemTitor avatar Jul 06 '22 13:07 CemTitor