Skip to main content

pedometer_pro 0.2.0 copy "pedometer_pro: ^0.2.0" to clipboard
pedometer_pro: ^0.2.0 copied to clipboard

Pedometer & Step Detection. Get step count in a timeRange & stream live steps.

0.2.0 #

  • Fix historical query accuracy: preserve exact intervals and valid zeros; return HISTORY_UNAVAILABLE instead of cumulative sensor fallback.
  • Add getStepCountDetailed with provider metadata while preserving the integer getStepCount interface and native error codes.
  • Fix Android state stream first event, cancellation, shared subscriptions, permission concurrency, main-thread blocking, and engine/activity cleanup.
  • Consolidate iOS streams, pair event cancellation correctly, surface motion errors, complete unknown methods, and validate native arguments.
  • Make the example lifecycle-safe; show explicit sources, avoid duplicate queries and mixed-source totals, and use calendar date boundaries.
  • Update dependencies and build tooling; remove unused icons, legacy configuration, noisy logs and blanket R8 warning suppression.
  • Replace invalid CI with validation-only builds, add Dart/Kotlin/Swift regression tests, and document migration. Example requires iOS 15.

0.1.0 #

  • iOS supports both CocoaPods and Swift Package Manager. The example app uses Swift Package Manager.
  • Renamed the package to pedometer_pro (Dart, Android, and iOS).
  • Android getStepCount now falls back to TYPE_STEP_COUNTER when Google Play Services / Recording API is unavailable (Xiaomi, OPPO, vivo, and other devices without GMS).
  • Android getStepCount reads Health Connect first (Samsung Health and other linked apps). play-services-fitness Local Recording is only a fallback and does not contain OEM health history.
  • Added an example app.
  • Removed donation links from the documentation.
  • Pub.dev listing: https://pub.dev/packages/pedometer_pro
  • Repository: https://github.com/whevether/pedometer_pro

See CHANGELOG_zh.md for Chinese.

0
likes
160
points
126
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pedometer & Step Detection. Get step count in a timeRange & stream live steps.

Homepage
Repository (GitHub)
View/report issues

Topics

#pedometer #step-counter #step-tracker #fit #health

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on pedometer_pro

Packages that implement pedometer_pro