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

Bugfix/retrycrash #195

Merged
merged 4 commits into from
Jul 11, 2024
Merged

Bugfix/retrycrash #195

merged 4 commits into from
Jul 11, 2024

Conversation

JNdhlovu
Copy link
Contributor

@JNdhlovu JNdhlovu commented Jul 10, 2024

Summary

Fix force unwrapping files this crashes if you don't have offline enabled and the job fails and you click retry

Bonus

Example scheme wasn't debuggable so breakpoints wouldn't work

Known Issues

This leads to a loop if the user keeps clicking retry then it'll just keep failing

Test Instructions

Run a biometric kyc job with offline set to false and use an existing user id and job id, once it fails and you click retry it should't crash, currently it does and this PR fixes that

Screenshot

N/A

@JNdhlovu JNdhlovu requested a review from a team as a code owner July 10, 2024 14:08
Copy link

github-actions bot commented Jul 10, 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#L145 - TODOs should be resolved (- Fix when Michael changes thi...). (todo)

Generated by 🚫 Danger Swift against 577c89e

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!

@JNdhlovu JNdhlovu merged commit 6c4fcf3 into main Jul 11, 2024
3 checks passed
@JNdhlovu JNdhlovu deleted the bugfix/retrycrash branch July 11, 2024 11:33
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.

None yet

3 participants