[No QA] Enable prebuilt artifacts by default on Android#72469
Conversation
| if(config.version == null || config.packageName == null || config.githubUsername == null || config.githubToken == null) { | ||
| config.buildFromSource = true | ||
| ExpensiLog.lifecycle("No matching artifacts version found for ${config.packageName}. Building react-native from source.") | ||
| ExpensiLog.error("No matching artifacts version found for ${config.packageName}. Building react-native from source.") |
There was a problem hiding this comment.
Won't this require additional setup to work? Like gh cli
If so, we should link to the docs
There was a problem hiding this comment.
Yeah, we even have special function for that 😅 If something goes wrong (in terms of configuration) and build from source is disabled we call warnIfNotConfigured and prints reason
There was a problem hiding this comment.
This points devs to section in our README
|
@hungvu193 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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid.standalone.movArtifact.movAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
LFG 🚀 Android.standalone.mov |
|
✋ 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/roryabraham in version: 9.2.31-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.2.31-2 🚀
|
Explanation of Change
This PR enables Android prebuilt artifacts for react-native by default. I had to add
--verboseflag to android builds inrun-build.shso people could see the output.Fixed Issues
$ #57120
PROPOSAL:
MOBILE-EXPENSIFY: https://github.com/Expensify/Mobile-Expensify/pull/13739
Tests
[PatchedArtifacts] Forcing build from source.log.Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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