fix: skip biometric cancellation error recording in mixpanel#24882
fix: skip biometric cancellation error recording in mixpanel#24882grvgoel81 wants to merge 5 commits into
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
| return; | ||
| } | ||
|
|
||
| if (loginErrorMessage === PASSCODE_NOT_SET_ERROR) { | ||
| Alert.alert( | ||
| strings('login.security_alert_title'), | ||
| strings('login.security_alert_desc'), | ||
| ); |
There was a problem hiding this comment.
PASSCODE_NOT_SET_ERROR shouldn't be recorded as unknown_error in line 438.
ede6c09 to
87a692b
Compare
|
668a6e2
668a6e2 to
e8b36f6
Compare
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThe changes affect the Login screen (app/components/Views/Login/index.tsx) and OAuthRehydration screen (app/components/Views/OAuthRehydration/index.tsx), which are critical authentication components. Key changes include:
These changes affect the core authentication flow that all users must go through. The E2E tests that use LoginView are tagged with RegressionAccounts and RegressionWalletPlatform. Since the changes:
I recommend running SmokeAccounts (covers account security, login-related flows, and authentication) and SmokeWalletPlatform (covers wallet lifecycle and core platform features including delete wallet flow which uses LoginView). The risk is medium because:
|
|
Closing this as changes added in PR: #25087 |



Description
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Avoids recording user-cancelled biometric auth as errors in both login and OAuth rehydration flows.
DENY_PIN_ERROR_ANDROIDand iOSUNLOCK_WALLET_ERROR_MESSAGES.IOS_USER_CANCELLED_BIOMETRICSas cancellations: disable biometry choice, stop loading, return early; noLogger.erroror metrics trackingLoginandOAuthRehydration: early return for password errors; reorder vault corruption handling; addpasscode_not_setcategorization for rehydration failuresREHYDRATION_PASSWORD_FAILEDtracking on biometric cancellationWritten by Cursor Bugbot for commit 87a692b. This will update automatically on new commits. Configure here.