Repository navigation
Sign-in failures in a dialog, with exception class and app version - #36
Merged
Merged
Conversation
…ass and app version The snackbar still read "Could not sign in to Bansify", which means the exception carried no message and the fallback swallowed it. A snackbar was also easy to miss and easy to overwrite. Sign-in failures now set a state that renders an AlertDialog showing: <ExceptionClass>: <message> App <versionName> so one screenshot is enough to identify the failing step, and the version tells us whether the build under test actually contains the fix.
GothwadTech
added a commit
that referenced
this pull request
Dec 4, 2026
…ng block (#37) PR #36 merged its first commit (a3e0928), which nested the AlertDialog inside safeBrowsingWarning?.let and never collected viewModel.signInError. main has failed the Quality Gate since. This applies the correction that was pushed after the merge: the dialog sits after the safe-browsing block, the state is collected next to the other lifecycle values, and SafeBrowsingDialog is untouched.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The snackbar kept showing the generic string, which means the exception had no message and the fallback hid it — and a snackbar is easy to miss anyway.
Change
Sign-in failures now surface as an AlertDialog:
Why this is the right next step
Every attempt so far has been a guess about which step fails — redirect, PKCE, token exchange, userinfo. This turns that into one readable line.