-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Revert "Android-Attachments-App crashes on uploading specific PDF" #34078
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
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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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