[iOS] [Integrate] As a user, I can submit my survey response
suho opened this issue · comments
Why
At the final step, users must be able to submit their responses. The mobile app must show the Submit button instead of the Next button to inform users that the app will submit their response on the next action.
Acceptance Criteria
Upon tapping the Submit button, perform the Submit Survey Response request with the survey id and the user's answers.
- If the request is successful,
- Navigate the Thanks screen.
- Otherwise, display the error message on a modal alert dialog with an OK button
- Selecting the OK button does nothing. DO NOT dismiss the screen so that the user can retry the submission.