-
Notifications
You must be signed in to change notification settings - Fork 211
add skipPace switch to android for Ukranian passports (do not merge yet) #1631
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
base: dev
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughAdds a UI "Skip PACE" toggle and threads a new Changes
Sequence Diagram(s)sequenceDiagram
participant User as User (UI)
participant UI as DocumentNFCMethodSelectionScreen
participant PR as PassportReader (JS)
participant NS as NFCScanner (JS)
participant AN as Android Native
User->>UI: toggle "Skip PACE" on
UI->>PR: start scan with { skipPACE: true }
PR->>NS: androidScan(..., { skipPACE: true })
NS->>AN: scanDocument(..., { skipPACE: true })
AN-->>NS: scan result
NS-->>PR: result
PR-->>UI: result / navigate/display
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Add skipPace switch to android
Tested
Tested whether the value is passed to the native modules through logcat
How to QA
(?)icon next to theVerify your Idtext in the NFC Scan screenskip paceswitch and scan the document. It could fail if its a new document.skip paceto false.Summary by CodeRabbit
New Features
Chores
✏️ Tip: You can customize this high-level summary in your review settings.
Note
Introduces a user-facing control and wires it through the scan pipeline; also hardens private module setup and updates versions.
DocumentNFCMethodSelectionScreenand removes the old iOS-onlyskipPACEmethod entry; parameter is now forwarded innfcScanner.tsandpassportReader.tsfor Android and iOS.scripts/setup-private-modules.cjscan now checkout a specific commit when cloning; pinsreact-native-passport-readerto commit99122a8.versionCodeto139, app version to2.9.14, and updatesversion.jsonAndroid build metadata.Written by Cursor Bugbot for commit 17daae6. This will update automatically on new commits. Configure here.