-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Revert "Android-Attachments-App crashes on uploading specific PDF" #34078
Revert "Android-Attachments-App crashes on uploading specific PDF" #34078
Conversation
@hayata-suenaga 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] |
@NikkiWines mind generating adhoc build here? |
This comment has been minimized.
This comment has been minimized.
…ert-33561-fix/29743-android-attachment-crash
Not sure why native builds are failing. |
There's something broken with the adhoc generation - let me see if I can investigate |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
sorry I've been OOO. should I trigger the ad hoc generation again here? |
I believe it will still fail. |
The build seems to be working now from this comment |
just to confirm, so we decided to downgrade the pdf package until the fix is done in the upstream? |
Correct, we upgraded the version to fix a different bug (here) but upgrading introduced a more impactful bug so we're going to downgrade for now. @hayata-suenaga can you complete the checklist & merge please (or add a C+ to complete the checklist and give a secondary review)? As a note, there is a known dev-only crash (on main) that should be patched by the changes here - more context here |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
@situchan please run |
@hayata-suenaga I don't see any change after npm i locally. snyk failure is known issue, happening when PR contains changes in package.json |
Merging - this looks to be the last blocker we have along with fixing the build issues |
This is also just a straight revert |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…d-attachment-crash Revert "Android-Attachments-App crashes on uploading specific PDF" (cherry picked from commit 668e54b)
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.22-6 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.22-6 🚀
|
Details
Straight revert of #33561
Fixed Issues
$ #34047
$ #34017
Tests
Same as QA step
Offline tests
Same as QA step
QA Steps
Case 1:
Case 2:
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop