Share-Impact / iOS-Impact-Issues

This dummy repo will be used as an issue tracker for the iOS platform
2 stars 0 forks source link

Streak Shouldn’t have broken. Pl check Streak logic #36

Open ishannadkarni opened 4 years ago

ishannadkarni commented 4 years ago

Its a 20 days streak My goal is 1km and I have crossed it every day through either passive steps or active workouts.

Steps to reproduce the behavior:

  1. Set Goal 1km
  2. Achieve it on passive
  3. See if streak breaks
  4. See error

Expected behavior If active plus passive distance is total long more than Goal, streak shouldn't break.

Screenshots

image

image

image

Smartphone (please complete the following information):

Additional context

Something happened on 31Aug to break the streak there, and that it started again from Sep 1. It shows i'm on 3 day streak, whereas I should be on 20d.

I have more than 1km passive steps on 1Sep and 2Sep, but I forgot to donate them - so the Impact graph in profile shows zero ... those days are counted in the streak to make today a 3 day streak.

I intuit some month end streak break logic here.