[CP Staging] Return early if the hybrid module is not defined#45757
[CP Staging] Return early if the hybrid module is not defined#45757
Conversation
blazejkustra
left a comment
There was a problem hiding this comment.
Looks good to me, but would be good to double check why HybridAppModule is missing 🚀
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
|
I’m starting to check |
|
Test pass on iOS and continue to test on android and another platform |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-07-19.at.19.08.06.movAndroid: mWeb ChromeUploading Screen Recording 2024-07-19 at 19.09.36.mov… iOS: NativeScreen.Recording.2024-07-19.at.18.56.04.moviOS: mWeb SafariScreen.Recording.2024-07-19.at.19.07.13.movMacOS: Chrome / SafariScreen.Recording.2024-07-19.at.19.11.02.movMacOS: DesktopScreen.Recording.2024-07-19.at.19.14.18.mp4 |
suneox
left a comment
There was a problem hiding this comment.
I have verified that it works on all platforms.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…Crash Return early if the hybrid module is not defined (cherry picked from commit ad61dc5)
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.0.9-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.0.9-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.9-5 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.10-7 🚀
|
Details
Seems like, for some reason, the HybridModule is null in this flow leading to a crash. Return early if its not defined to prevent crash
Fixed Issues
$ #45742
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop