Closed Rimjhim28 closed 6 years ago
So I set up the project in Android Studio and build an apk but found that apparently no dialogue box appears when home button is pressed in the middle of scenario @Rimjhim28 !
@raghavpuri31 Please be sure that you are on the GSoC17 branch. The latest code updates have been done there. As implemented by one of our GCI participant, the dialog box would only appear if you have answered atleast one time and scored some points, since it would be completely illogical to make a warning of loosing total points until the user has actually scored some points.
@m-murad please approve the issue.
This is a valid issue. Please fix this.
@m-murad Thanks for the approval. Will be sending the PR soon!!
Description
If the home button is pressed in the middle of the scenario, the user is first presented with a warning dialog. The user can either choose to go to map or dismiss the dialog. If the back button is pressed, the user is directed to map at once without any warning. It would be better option to implement similar dialog for back button as well.
Mocks
The warning dialog presented if home button clicked:
Acceptance Criteria
Update
Definition of Done
Estimation
30 minutes.
I would like to work on the issue