Run an extra grunt:build:shared in the build process to fix Android crash#51746
Run an extra grunt:build:shared in the build process to fix Android crash#51746arosiclair merged 2 commits intomainfrom
grunt:build:shared in the build process to fix Android crash#51746Conversation
|
@ntdiary @arosiclair One of you needs to 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
@jasperhuangg 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] |
Run an extra `grunt:build:shared` in the build process to fix Android crash (cherry picked from commit 06595df) (CP triggered by AndrewGable)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 9.0.55-8 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
Confirmed no crash on the Apk file provided in Slack |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.0.55-10 🚀
|
Explanation of Change
We need to run
npm run grunt:build:sharedin order to get some shared code built into HybridApp. This should be done automatically here: https://github.com/Expensify/Mobile-Expensify/blob/main/Android/build.gradle#L421-L424But for some reason it's not being run. Let's add a temporary build step in order to fix the crash and then investigate why we aren't running this build step with more time later.
Fixed Issues
$ #51682
Tests
Offline tests
N/A
QA Steps
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