Repository navigation
🐛 flutter, expo: a run the SDK refuses lands on its details instead of a dead tap, and every app's device suite checks it - #265
Merged
Conversation
…details, as on Android and iOS
Harun Wangereka (wangerekaharun)
approved these changes
Oct 26, 2026
Harun Wangereka (wangerekaharun)
left a comment
Member
There was a problem hiding this comment.
Approved: 🐛 flutter, expo: a run the SDK refuses lands on its details instead of a dead tap, and every app's device suite checks it
Changes 16 files: expo/app/src/steps/use-smile-id-sample-sdk-flow-step.tsx, expo/app/test/use-smile-id-sample-flows.test.tsx, expo/maestro/settings.yaml, expo/maestro/token-session.yaml, flutter/app/lib/src/screens/use_smileid_sample_sdk_flow_tab.dart, and 11 more.
Checks at 6bcb704: 2 of 14 passed, 12 still running.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
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.
User description
Story: N/A. On a phone, Flutter and Expo sent a refused run back to the product list with nothing on screen, so Continue looked like a dead tap. Since the SDK's
validate()started returning the verdictbuild()reaches, the apps' preflight catches a flow the SDK would refuse before the SDK mounts. Android and iOS already land that run on the unsubmitted job's details (#259). Flutter and Expo still left for the product list, and so did an SDK failure.Summary
settingsflow covers it already.maestro/settings.yamlthat turns the consent screen off, opensflow/smartSelfieEnrollment/run, asserts the details withfailedand a last error, then turns the switch back on and reaches the SDK's consent screen.testARunTheSdkWouldRefuseLandsOnTheUnsubmittedDetailsAndNeverMountsIt.sample_ui: "a tap anywhere on a switch row flips that setting, which still reads as a switch".sdk-flow,profile-journeyanddocument-options(Deny), and Expo'stoken-session(Exit from a failed submission). Android's flows already asserted this.Known Issues
sample-uipixel goldens differ on this Mac exactly as onmain; this change touches nosample-uifile.Test Instructions
Devices, Oct 26: an Android 12 phone, an iPhone on iOS 27.0.1, the
smileid-local-ciemulator (API 34), and an iOS 27.0 simulator.main, Expo and Flutter both returned to the product list, on the Android phone and on the iPhone.unsubmitted.settingsflows: Flutter 9/9 (settings, token-session, deep-links, launch-args, sdk-flow, profile-journey, verifications, licenses, document-options) and Expo 5/5 (settings, shell-wiring, token-session, sdk-flow, document-options).ios/verify.sh ui UseSmileIDSampleFlowUITestspasses, new test included.swiftformat --lint .is clean.flutter/verify.sh checkspasses (format, analyze, and 479 + 755 tests, goldens included).tsc --noEmit,eslintand the app's 514 Jest tests pass.Screenshot
N/A
🐛
PR Type
Bug fix, Tests
Description
Flutter and Expo land refused or failed runs on details.
unsubmittedjob details.Flutter switch rows now flip on a tap anywhere on the row.
New refused-run device checks on Flutter, Expo and iOS.
maestro/settings.yamlflows for Flutter and Expo, plus an iOS XCUITest.Unit tests reproduce both fixes in Flutter and Expo.
Diagram Walkthrough
File Walkthrough
3 files
Route refused and failed runs to unsubmitted detailsWhole settings row toggles its switchLand misconfigured and failed runs on unsubmitted details12 files
Centre rows before tapping to avoid edge dragsTest refused run lands on unsubmitted detailsTest row tap flips setting, keeps switch semanticsTests for failed and refused run landingAdd UI test for SDK-refused run landingAdd seed helper to override one settingNew Maestro flow for the consent switch refusalExpect details after Exit, then return to productsDeny now lands on verification detailsDeny now lands on verification detailsAssert failed details after Deny, then navigate backNew Maestro flow for the consent switch refusal1 files
Document the new settings flow, nine flows