Skip to content
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

feat: optional confirmation on docv #228

Merged
merged 2 commits into from
Sep 6, 2024
Merged

feat: optional confirmation on docv #228

merged 2 commits into from
Sep 6, 2024

Conversation

JNdhlovu
Copy link
Contributor

@JNdhlovu JNdhlovu commented Sep 6, 2024

Story: https://app.shortcut.com/smileid/story/13199/allow-wrappers-sdks-to-capture-face-images-separately-v10-react-vs-flutter

Summary

  • Make the docv capture much more readable
  • Optionally return the image without confirmation if set to true

Known Issues

N/A

Test Instructions

Capture a docv job in the sample app, the flow should work as per normal

Screenshot

https://portal.usesmileid.com/admin/job/production/170445932

@JNdhlovu JNdhlovu requested a review from a team as a code owner September 6, 2024 10:17
Copy link

github-actions bot commented Sep 6, 2024

Warnings
⚠️ The source files were changed, but the tests remain unmodified. Consider updating or adding to the tests to match the source changes.
⚠️

Sources/SmileID/Classes/SmileID.swift#L113 - Function should have complexity 10 or less: currently complexity equals 11 (cyclomatic_complexity)

⚠️

Sources/SmileID/Classes/SmileID.swift#L139 - TODOs should be resolved (- Fix when Michael changes thi...). (todo)

Generated by 🚫 Danger Swift against 07cdeb9

Copy link
Contributor

@tobitech tobitech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

)
.sheet(isPresented: $viewModel.showPhotoPicker) {
ImagePicker(onImageSelected: viewModel.onPhotoSelectedFromGallery)
ZStack {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. Thanks for refactoring this. It's more readable this way.

@JNdhlovu JNdhlovu merged commit 1296c09 into main Sep 6, 2024
3 checks passed
@JNdhlovu JNdhlovu deleted the feature/smilescreens branch September 6, 2024 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants