Upgraded onfido-sdk-ui to v14.42.0#56940
Conversation
|
@eVoloshchak Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@shubham1206agra, tests well!
|
| onSuccess(data); | ||
| }, | ||
| onError: (error: OnfidoError) => { | ||
| onError: (error) => { |
There was a problem hiding this comment.
import type {SdkErrorTypes} from 'onfido-sdk-ui/types/shared/Error';
type OnfidoError = {
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
exception?: Error | unknown;
type: SdkErrorTypes;
message: string;
};There was a problem hiding this comment.
I am not sure why do we need that. Since everything is typed here already.
There was a problem hiding this comment.
It's just vscode having problems. Restart the lint server to fix this.
There was a problem hiding this comment.
You're right, that did the trick!
I still think there might be value in extending the type so it's consistent with actual errors thrown, but that's NAB, let's resolve the issues In #56940 (comment) first
@eVoloshchak Done |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-02-19.at.19.43.03.movAndroid: mWeb ChromeScreen.Recording.2025-02-19.at.19.39.36.moviOS: NativeScreen.Recording.2025-02-19.at.19.38.11.moviOS: mWeb SafariScreen.Recording.2025-02-19.at.19.36.08.movMacOS: Chrome / SafariScreen.Recording.2025-02-19.at.19.34.51.movMacOS: DesktopScreen.Recording.2025-02-19.at.19.32.53.mov |
|
Verify HybridApp build / Comment on all PRs that are forks (pull_request) build is failing, can you try merging main? |
|
Asked internally, going to verify this doesn't break hybridapp with an adhoc. If it builds fine we're good to proceed |
|
🚧 @thienlnam has triggered a test hybrid app build. You can view the workflow run here. |
|
@thienlnam See #56417 for failing test |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
@thienlnam looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/thienlnam in version: 9.1.4-0 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.1.4-4 🚀
|


Explanation of Change
Fixed Issues
$ #41398
PROPOSAL: #41398 (comment)
Tests
Offline tests
NA
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.2025-02-19.at.9.58.19.PM.mov
Android: mWeb Chrome
Screen.Recording.2025-02-19.at.9.35.59.PM.mov
iOS: Native
Screen.Recording.2025-02-19.at.9.54.29.PM.mov
iOS: mWeb Safari
Screen.Recording.2025-02-19.at.9.28.07.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2025-01-08.at.12.29.55.AM.mov
MacOS: Desktop
Screen.Recording.2025-02-19.at.9.43.21.PM.mov