📝 Problem Statement
Users sometimes perform Japs but forget to hit the "Submit" button. Currently, this data stays in local storage and isn't reflected in the database or leaderboard. If the user opens the app the next day, the old count is still there, leading to confusion and potential loss of streaks.
🚀 Proposed Solution
Implement an auto-sync mechanism that pushes pending local counts to the server automatically.
Key Changes:
✅ Acceptance Criteria
📝 Problem Statement
Users sometimes perform Japs but forget to hit the "Submit" button. Currently, this data stays in local storage and isn't reflected in the database or leaderboard. If the user opens the app the next day, the old count is still there, leading to confusion and potential loss of streaks.
🚀 Proposed Solution
Implement an auto-sync mechanism that pushes pending local counts to the server automatically.
Key Changes:
pending_japsexist in local storage.syncevent to push data even if the app is minimized (Optional/Future).✅ Acceptance Criteria