The state persists in the header as the user moves along the tab bar if the database is updated the user does not receive the update until the app is restarted.
Fix Recommendation:
When the user pulls the page down, refresh the page (all API points)
Every time user switches between header make API call for total cashback and level
The state persists in the header as the user moves along the tab bar if the database is updated the user does not receive the update until the app is restarted.
Fix Recommendation:
When the user pulls the page down, refresh the page (all API points) Every time user switches between header make API call for total cashback and level