feat: show legacy ios login warning prompt cp-7.71.0#27875
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. |
d5e9589 to
1dc3fe6
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #27875 +/- ##
==========================================
+ Coverage 82.46% 82.53% +0.07%
==========================================
Files 4801 4829 +28
Lines 123807 123911 +104
Branches 27602 27597 -5
==========================================
+ Hits 102101 102275 +174
+ Misses 14634 14576 -58
+ Partials 7072 7060 -12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
17dc3b4 to
5d35f44
Compare
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Tag selection rationale:
No other tags are needed as the changes don't affect confirmations, trading, network management, snaps, or other feature areas. Performance Test Selection: |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
|
✅ E2E Fixture Validation — Schema is up to date |
|




Description
Add warning prompt for ios <17.4 for google login
Supports the fix for: https://github.com/MetaMask/MetaMask-planning/issues/7148
Part 1/ 4 - #27741
Part 2/ 4 - #27848
Part 3/ 4 - #27850 (deferred to 7.72.0)
Part 4/ 4 - #27875
Changelog
CHANGELOG entry: Add warning prompt for ios <17.4 for google login
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
For < iOS 17.4
Screen.Recording.2026-03-25.at.8.59.12.PM.mov
For >= iOS 17.4
Screen.Recording.2026-03-25.at.6.11.41.PM.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Modifies the onboarding social login path by inserting a conditional pre-login warning and new navigation helper, which could affect Google login flow timing/navigation on iOS devices. Changes are localized but touch user authentication entrypoints and analytics tracking.
Overview
Adds an iOS < 17.4 warning gate before starting Google OAuth during onboarding (both create and import flows), showing a non-interactable
SuccessErrorSheetthat must be acknowledged before proceeding.Introduces
Device.comparePlatformVersionTo()(usingcompare-versions) and a reusablenavigateToSuccessErrorSheetPromise()helper to await sheet dismissal, plus a new MetaMetrics event (WALLET_GOOGLE_IOS_WARNING_VIEWED) and localized warning copy.Updates onboarding tests to mock the new device helper/navigation and to assert the warning sheet + tracking fire before continuing with Google login.
Written by Cursor Bugbot for commit 3b43b83. This will update automatically on new commits. Configure here.