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

[health: ^11.0.0]

Open urvashi-k-7span opened this issue 5 months ago • 2 comments

I am using this plugin to fetch steps data. It works perfectly fine with google fit.

In 2-3 devices I have Samsung health.

When I try to fetch data of today's date It it not returning STEPS

I/FLUTTER_HEALTH(22150): Getting data for STEPS between 2024-09-09T12:18:29Z and 2024-09-09T12:27:44.805Z, filtering by []
I/FLUTTER_HEALTH::SUCCESS(22150): returning 26 steps
I/flutter (22150): Total number of data points: 0. 

It has Steps 26 but not giving

 final healthData = await health.getHealthDataFromTypes(
          startTime: startTime,
          endTime: endTime,
          types: types,
        );

urvashi-k-7span avatar Sep 09 '24 12:09 urvashi-k-7span