-
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
Patch for WebView crash v2 #41023
Patch for WebView crash v2 #41023
Conversation
This comment has been minimized.
This comment has been minimized.
@rojiphil do you have an IOS device to test the AdHoc build? 🙏 |
Going to make this ready for review. Tom tested here in IOS and it didn't crash: https://expensify.slack.com/archives/C036QM0SLJK/p1714094451031619?thread_ts=1713799261.297609&cid=C036QM0SLJK Recording from Tom's device: RPReplay_Final1714094494.MP4 |
cc @roryabraham in case you see something wrong here 🙇 |
Oops wrong button |
@aldo-expensify I do not have an IOS device. Since we already tested on an iOS device here, are you still looking for a C+ with an IOS device? If so, we will have to reassign. On the other hand, I can carry out the tests on an iOS simulator + other platforms including on an Android device. Would this work? |
@aldo-expensify And a small request here. Please add [email protected] and [email protected] accounts to the |
Done
I think it is fine if you carry out the other platforms and IOS simulator |
Nice job with the cleanup! I've also opened a PR to |
Great, thanks again for all the help! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewer Checklist
Screenshots/VideosAndroid: Native41023-android-native--01.mp4Android: mWeb Chrome41023-mweb-chrome--01.mp4iOS: NativeTested on simulator 41023-ios-native--01.mp4iOS: mWeb Safari41023-mweb-safari--01.mp4MacOS: Chrome / Safari41023-web-safari--01.mp4MacOS: Desktop41023-desktop--01.mp4 |
Updated. I confirmed that we still need the patch for 0.1.64 |
I launched another adhoc build to confirm that this still build fine after pulling from |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
@aldo-expensify please include links to the upstream PRs / commits for each of these patches in the PR description so that we can know when we can remove it later. |
Because it was requested here:
|
Added description for patches |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
@aldo-expensify |
@aldo-expensify After running |
Do we need to move reviewers/comments over to: #41117? |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
@rojiphil can you re-approve? 🙏 |
Bump @rojiphil on the re-approval, please. |
Reviewing now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The App does not crash on iOS native (built using npm run iOS
and tested on simulator). Note: I have not tested on real device as I do not have one.
For all other platforms, the tests were performed based on the ad hoc build.
Android platform tests were carried out on real device
Works well. LGTM
Running android native build using npm run android
still fails for me as mentioned here. But this also fails on the latest main. So, have raised the issue here
@Julesssss 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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @aldo-expensify. I was trying to verify iOS on a physical device, but after granting the beta flag and re-authenticating I'm still not seeing the accounting option 😕
Any idea what I missed?
- Created public domain account
- Created workspace
- Granted beta
- Authenticated on iOS AdHoc build
- No accounting option
@Julesssss I think it can take an hour or so for the beta to be recognised. Is this build up here good to go or do we need a new one? I'm happy to give it a whirl on an iOS device. Alternatively, I can spin you up an email address on my private domain that has access and ship you the magic code to sign-in when received. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✋ 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/Julesssss in version: 1.4.69-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.69-2 🚀
|
Patches:
patches/react-native+0.73.4+015+fixIOSWebViewCrash.patch
: Created from [RN][iOS] Fix compiler flags passed to libraries facebook/react-native#43088. This patch won't be needed when we upgradereact-native
to >= 0.73.5patches/@rnmapbox+maps+10.1.11.patch
: Patch created by @staszekscp here, there is no PR as far as I know. To check if the patch is still needed you need to check if the renaming of the file extension is still needed or not.Details
Trying adding the patches from this PR again: #40527, but trying to reduce the changes to a minimum
Fixed Issues
$ #40517
PROPOSAL:
Tests
In Web/Desktop:
accountingOnNewExpensify
)Android native / IOS native:
accountingOnNewExpensify
)Offline tests
QA Steps
In Web/Desktop:
accountingOnNewExpensify
)Android native / IOS native:
accountingOnNewExpensify
)PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
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