Clearing the stack at the conclusion of each instance of an activity.
License and Copyright Notice
By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).
Summary
(The nav_graph_check_expiration_date and nav_graph_guest_visit all do not have a point where the stack is cleared.)
Steps to reproduce
(Clicking the CHECK EXPIRATION DATE button from the home screen or GUEST FORMS from the home screen then GUEST VISIT CHECKIN then complete all the forms. After they are completed and the navigation continues, clicking back repeatedly.)
What is the current bug behavior?
(The previously entered data shows up again because the backstack was never cleared when it is no longer necessary. The activities do not end, they just start more activities.)
What is the expected correct behavior?
(Clicking back after an activity is completed should return to the home screen of the app. The activity should start a new instance of itself after it is finished, not while there is an active instance an activity that is no longer necessary.)
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code, as it's very hard to read otherwise.)
Possible fixes
(Similar to merge request !420 (merged) the activities need to end in the appropriate place.)
Labels
(We have not finalized our list of labels, for now, include the labels you would like to include as a comment.