LangaraBeetles / weaup-react-native-app

1 stars 0 forks source link

[Bug]: Streak counter is not in sync when I log in #110

Open whamester opened 1 month ago

whamester commented 1 month ago

Current Behaviour

The database has a user with a streak counter of 3 I impersonate the user botha.wr@gmail.com but the 3day streak is not displayed on the profile or the homescreen

Expected Behaviour

if: A user has a streak counter of 3 in the database The app should sync this value and display a 3day streak on the profile and home screens

Reproduction steps

1. Update daily_streak_counter value of an user in the database
2. Go to Login on the Weasel App and put the user's email in the Email Address input
3. Click on Log in
4. Check the home and profile screens' indicators for the streak

Screenshots / Screen Recordings

The user has a 3-days streak

Screenshot 2024-07-25 at 1 23 31 PM

But when I login impersonating the user

https://github.com/user-attachments/assets/4fd4b1c9-8d8b-40b2-9c48-242224c5b6fe

Device

iPhone 15

Operating System

iOS 17.5.1

whamester commented 1 month ago

https://app.clickup.com/t/86b1a67a0