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

BUG #7

Closed 24Kavisha closed 4 years ago

24Kavisha commented 4 years ago

Describe the bug Amount raised is not displayed in the JLL leaderboard.

To Reproduce Steps to reproduce the behavior:

  1. Start the app
  2. Start thee non- impact workout
  3. End workout
  4. Cant find workout in Leaderboard

Expected behavior

Workout should be displayed on the leaderboard

Screenshots img_1589263076034 img_1589263153220

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

nik6018 commented 4 years ago

Since this league has distance as it main metric the amount raised for a person was null from the backend.

The check on the iOS app expected distance & amount to be != null and then decide on showing the metric as distance or rupees.

As the amount was null from the backend this checked failed and the default value of "--" was shown.

After discussing with the backend team, the amount will sent as 0 instead of null if the user has not raised any money.

This issue will be resolved once the user pull's to refresh the leaderboard.