Open
Description
User flow:
Home > Enter code > App consent > Framework consent > Loading
Action items based on different possible scenario:
1. Home > Enter code > App consent > Framework consent > Loading > Success
✅ Green path. No action item.
2. Home > Enter code > Drop
✅ No action has been taken. No action item.
3. Home > Enter code > App consent > Drop
- Related issue: Enter code -> submit -> don't agree and close shows wrong screen #145
- The
OneTimeCode
can only be claimed one and it's sent once from the officer. - After entering the code, the app sends to server immediately to validate and generate private / public key for next step. When user is on consent screen, they have option to cancel it which should not navigate user back to OneTimeCode screen again. If user decides to accept the consent later, they won't be asked for the code again.
Action items:
- Change below UI in
Home
screen to something else as theEnter code
is no longer valid.
4. Home > Enter code > App consent > Framework consent > Drop
- Current: go back to enter
Enter code
screen. Existing code doesn't work anymore.
Action items:
- Expect: go back to
App consent
screen.
5. Home > Enter code > App consent > Framework consent > Error
- The error could be something wrong with the framework. It's not likely to happen but possible.
Action items:
- Suggestion: back to
App consent
screen, show a toast message asking user to accept consent again because some unknown error.
6. Home > Enter code > App consent > Framework consent > Loading > Error
- The error could be network / unknown error
Action items:
- Have new UI for retry. At this point, the app already has consent and enough data from the framework. It just needs to retry to upload to server.
Activity