flutter-plugins
flutter-plugins copied to clipboard
[health: ^11.0.0]
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,
);