carp-dk / carp-dk/flutter-plugins

pedometer3.0.0 Returned steps are always 0/1 for some users

Open
#616 0 comments 0 reactions 0 assignees View on GitHub
bugfix
Dominant language
Dart
Stars
608
Forks
735
Avg merge
1m
Merged PRs (30d)
3

Description

### Device / Emulator and OS
- is not relevant, there are same devices where one has bug another not

### Describe the bug

We have app delivered to 100+ Android phones, uses pedometer to measure steps from foreground process. We found near 30% of users complaining steps are not measured, we tried to find correlation between device model, os, vendor, but nothing obvious was found. On our devices which were Galaxy S10 plus, S20 Ultra, Xiomi Redmi, etc it was always ok, but today we found one wierd case:

One of our testers on Samsung A12 found that when wifi is on steps counting, but when he disables wifi and leaves only mobile data steps are not counting, or increasing by 1 every minute or something near it (not always) We did a lot of experiments and accidently installed samsung health to his phone, and after this bug disappeared. Then we uninstalled it and bug appeared again.

Our guess which sounds insane that when wifi is on, android somewhy keeps sensor enabled, or they just share same power circuit. When samsung health somehow keeps pedometer always enabled. Is it possible? Is there some related issue?

Also: I've seen some people on gh ussages installing fresh version from gh instead of pub.dev. Are you awere of some related fixes made after last release?

### To Reproduce
Enable pedometer without any apps that could work with pedometer sensor

### Expected behavior
Pedometer should work without extra programs installed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.