feat: Bump Android and iOS SDKs to v11.1.9 and add forceAgentMode option#162
feat: Bump Android and iOS SDKs to v11.1.9 and add forceAgentMode option#162Harun Wangereka (wangerekaharun) wants to merge 12 commits intomainfrom
Conversation
…ers and views, and bump iOS SDK to v11.1.9
…default on HomeScreen
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
There was a problem hiding this comment.
Pull request overview
Adds a new forceAgentMode option to the React Native wrapper so partners can enforce Agent Mode (back camera only, no UI toggle) across supported SmileID flows, while also bumping native SDK dependencies.
Changes:
- Introduce
forceAgentModeinto the TS request types and wire it through Android/iOS view managers into the native SDK screens. - Bump native SmileID SDK versions (Android + iOS) to
11.1.9and update sample app defaults/changelog accordingly. - Refactor iOS SmartSelfie Capture view initialization to defer
SelfieViewModelcreation.
Reviewed changes
Copilot reviewed 37 out of 38 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/types.ts | Adds forceAgentMode to SmartSelfie-related request typing and adjusts ConsentRequest omission list. |
| sample/src/HomeScreen.tsx | Updates sample defaults to include forceAgentMode and tweaks Agent Mode / strict mode defaults. |
| sample/ios/Podfile.lock | Updates sample’s iOS pod lockfile to SmileID 11.1.9. |
| react-native-smile-id.podspec | Bumps SmileID iOS pod dependency to 11.1.9. |
| package.json | Bumps wrapper package version to 11.1.8. |
| ios/ViewModels/SmileIDProductModel.swift | Adds @Published forceAgentMode to shared product model. |
| ios/ViewManagers/*.swift | Plumbs forceAgentMode from RN params into iOS product model across relevant managers. |
| ios/View/*.swift | Passes forceAgentMode into SmileID SwiftUI screens; refactors SmartSelfie Capture view model handling. |
| CHANGELOG.md | Adds 11.1.8 release notes mentioning native SDK bumps and forceAgentMode. |
| android/src/main/java/com/smileidentity/react/views/*.kt | Adds forceAgentMode to Android view properties and passes through to Compose screens where supported. |
| android/src/main/java/com/smileidentity/react/viewmanagers/*.kt | Reads forceAgentMode (and some skipApiSubmission) from RN props and assigns into views. |
| android/gradle.properties | Bumps SmileID Android SDK version to 11.1.9. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
… logic for initialization
🔍 Semgrep Security Scan Results✅ No security findings detected by |
User description
Story: https://app.shortcut.com/smileid/story/xxx
Summary
Bump Android and iOS SDKs to v11.1.9 and add forceAgentMode option
Known Issues
Any shortcomings in your work. This may include corner cases not correctly handled or issues related
to but not within the scope of your PR. Design compromises should be discussed here if they were not
already discussed above.
Test Instructions
Concise test instructions on how to verify that your feature works as intended. This should include
changes to the development environment (if applicable) and all commands needed to run your work.
Screenshot
If applicable (e.g. UI changes), add screenshots to help explain your work.
PR Type
Enhancement
Description
Bump Android SDK and iOS SDK to v11.1.9
Add
forceAgentModeoption across all productsAdd
skipApiSubmissionto BiometricKYC and DocumentVerificationRemove
allowAgentModefrom Consent and DocumentCapture viewsDiagram Walkthrough
File Walkthrough
31 files
Add forceAgentMode and skipApiSubmission propertiesRemove allowAgentMode from consent view managerRemove allowAgentMode from document capture managerAdd forceAgentMode and skipApiSubmission propertiesAdd forceAgentMode and skipApiSubmission propertiesAdd forceAgentMode property to auth view managerAdd forceAgentMode property to capture view managerAdd forceAgentMode property to enrollment view managerPass forceAgentMode and skipApiSubmission to BiometricKYCPass forceAgentMode and skipApiSubmission to composablePass forceAgentMode and skipApiSubmission to composablePass forceAgentMode to smart selfie authenticationAdd forceAgentMode to selfie capture and view modelPass forceAgentMode to smart selfie enrollmentAdd forceAgentMode field and cleanup layout paramsAdd forceAgentMode and skipApiSubmission to biometric KYCAdd forceAgentMode to document verification viewAdd forceAgentMode to enhanced doc verification viewAdd forceAgentMode to smart selfie auth viewRefactor view model creation with forceAgentMode supportAdd forceAgentMode to smart selfie enrollment viewParse forceAgentMode and skipApiSubmission from paramsRemove allowAgentMode from document capture managerParse forceAgentMode from paramsParse forceAgentMode from paramsParse forceAgentMode from paramsRefactor view model init and add forceAgentModeParse forceAgentMode from paramsAdd forceAgentMode published property to modelAdd forceAgentMode default and update defaultsAdd forceAgentMode type and update ConsentRequest1 files
Pass showAttribution to consent composable1 files
Remove unused imports from document capture view2 files
Bump iOS SmileID dependency to v11.1.9Bump Android SDK version to v11.1.91 files
Add v11.1.8 release notes with SDK bump details1 files
Bump package version to 11.1.8