-
Type:
Task
-
Resolution: Done
-
Priority:
High
-
Affects Version/s: None
-
None
-
FLW Mobile App
-
All
BRD reference: BR-02, BR-03, BR-11, §5.1, §13
- Disable New Household Registration and New Beneficiary Registration buttons (greyed out, non-clickable) when device has no internet connectivity. Re-enable on connectivity restored. No error message shown. (BR-02)
- On ID submission, call the Piramal Backend proxy API (POST, cardNo field). Show loading/progress indicator. App must never call the state API directly. (BR-03, §3.1)
- On first API failure or timeout, auto-retry once silently — ASHA does not need to re-enter the ID. (BR-11)
- On second failure, return ASHA to ID entry screen with message: 'Search failed again. Please re-enter the ID and try.' No further auto-retry.
Acceptance Criteria
- Buttons are non-interactive when offline; become active on reconnect.
- Loading indicator shown during API call.
- Silent auto-retry fires on first failure with no user action.
- Second failure lands ASHA on ID entry with correct error message.