What is Clear Navigation history task and why it is used?
2 Likes
As the name represents Clear navigation history is a task which clears the history of screens maintained by the application.
For example: If you go to Page1 → Page 2 → Page3
Then from page 3 if you back press then you go back to Page 2 and after that Page 1.
In some use cases developer don’t want user to go back to page 2 then they clear the navigation history through which if user back press from Page 3 he will be navigated to Dashboard/Home page of the application.
3 Likes