Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix app crashing when trying to replacing the last screen during navigation #4823

Merged
merged 4 commits into from
Nov 22, 2023

Conversation

Copy link

@simple-services simple-services requested review from a team and siddh1004 and removed request for a team November 22, 2023 03:38
@github-actions github-actions bot enabled auto-merge (squash) November 22, 2023 03:38
@msasikanth msasikanth marked this pull request as draft November 22, 2023 03:40
auto-merge was automatically disabled November 22, 2023 03:40

Pull request was converted to draft

@msasikanth msasikanth force-pushed the sm/22nov/fix-router-crash branch 2 times, most recently from 1085722 to bf5d7d1 Compare November 22, 2023 03:44
We are no longer using this continuation
…ng top in `Router`

We don't have any flows that replace the current screen with same screen, so added a check that prevents replacing current key with same key. This is to prevent removing the last key when there is only one key left.
Since certain screen keys can contain potential PII, we are just including the analytics name in the error.
@msasikanth msasikanth force-pushed the sm/22nov/fix-router-crash branch from bf5d7d1 to 4ba7271 Compare November 22, 2023 07:14
@msasikanth msasikanth marked this pull request as ready for review November 22, 2023 07:14
@msasikanth msasikanth merged commit 78e8538 into master Nov 22, 2023
11 checks passed
@msasikanth msasikanth deleted the sm/22nov/fix-router-crash branch November 22, 2023 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants