msupply-foundation / mobile

Open source mobile app for medical inventory control
http://msupply.org.nz/mobile
Other
43 stars 27 forks source link

Mobile Vaccines: Blink icon keeps enabling and disabling on its own after few seconds #3662

Open ArpitaSussol opened 3 years ago

ArpitaSussol commented 3 years ago

Describe the bug

In Sensor, Blink icon keeps enabling and disabling on its own after few seconds

To reproduce

Steps to reproduce the behavior:

  1. Go to Vaccine -> Add Sensor
  2. Scroll down to Blink icon
  3. See error. Blink icon keeps enabling and disabling automatically after few seconds.

https://user-images.githubusercontent.com/58979436/109914908-034c1f80-7cd9-11eb-83c7-1274047d7e5b.mp4

Expected behaviour

Blink icon should be enabled when no action is performed

Proposed Solution

Leave if you don't know how to fix/implement. Edit this issue description and explain here if you know the best path of implementing the fix within the codebase.

Version and device info

Additional context

arises while testing #3628

wlthomson commented 3 years ago

It looks like enabling and disabling here is due to the sensor logs being downloaded (when that occurs, the connectivity icon flashes and the blink icon is greyed out). I don't think this is an urgent issue for this release, but a bit more user feedback would definitely be a good idea in the next release!

kat-ms commented 3 years ago

Related to #3933