Open algorr opened 1 year ago
In Ios and Android the the Stream is never reset itself according to timestamp in any case.
In any device
Steps to reproduce the behavior.
I expect that the step counter must be reset in every midnight as
It is going on to the count also after midnight.
If applicable, add screenshots to help explain your problem.
[✓] Flutter (Channel stable, 3.3.7, on macOS 13.0 22A380 darwin-arm, locale tr-TR) • Flutter version 3.3.7 on channel stable at /Users/umitkar/FlutterDev/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision e99c9c7cd9 (12 days ago), 2022-11-01 16:59:00 -0700 • Engine revision 857bd6b74c • Dart version 2.18.4 • DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at /Users/umitkar/Library/Android/sdk • Platform android-33, build-tools 33.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14B47b • CocoaPods version 1.11.3
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.73.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.52.0
[✓] Connected device (3 available) • iPhone 11 (mobile) • 6FE5DFB3-5CF6-4367-A046-206903F85BF3 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 13.0 22A380 darwin-arm • Chrome (web) • chrome • web-javascript • Google Chrome 107.0.5304.110
[✓] HTTP Host Availability • All required HTTP hosts are available
• No issues found!
Add any other info about the problem here.
"The step count represents the number of steps taken since the last system boot. " as stated in the documentation.
In Ios and Android the the Stream is never reset itself according to timestamp in any case.
Device / Emulator and OS
In any device
Describe the bug
In Ios and Android the the Stream is never reset itself according to timestamp in any case.
To Reproduce
Steps to reproduce the behavior.
Expected behavior
I expect that the step counter must be reset in every midnight as
Actual behavior
It is going on to the count also after midnight.
Screenshots
If applicable, add screenshots to help explain your problem.
Flutter doctor
[✓] Flutter (Channel stable, 3.3.7, on macOS 13.0 22A380 darwin-arm, locale tr-TR) • Flutter version 3.3.7 on channel stable at /Users/umitkar/FlutterDev/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision e99c9c7cd9 (12 days ago), 2022-11-01 16:59:00 -0700 • Engine revision 857bd6b74c • Dart version 2.18.4 • DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at /Users/umitkar/Library/Android/sdk • Platform android-33, build-tools 33.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14B47b • CocoaPods version 1.11.3
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.73.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.52.0
[✓] Connected device (3 available) • iPhone 11 (mobile) • 6FE5DFB3-5CF6-4367-A046-206903F85BF3 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 13.0 22A380 darwin-arm • Chrome (web) • chrome • web-javascript • Google Chrome 107.0.5304.110
[✓] HTTP Host Availability • All required HTTP hosts are available
• No issues found!
Additional information
Add any other info about the problem here.