Add patch to enable allowRecursiveCommitsWithSynchronousMountOnAndroid feature flag#52732
Add patch to enable allowRecursiveCommitsWithSynchronousMountOnAndroid feature flag#52732rlinoz merged 2 commits intoExpensify:mainfrom
Conversation
|
@ahmedGaber93 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] |
| + // if (ReactNativeFeatureFlags:: | ||
| + // allowRecursiveCommitsWithSynchronousMountOnAndroid()) { |
There was a problem hiding this comment.
I think return true in allowRecursiveCommitsWithSynchronousMountOnAndroid declaration inside ReactNativeFeatureFlags file is better. WDYT?
There was a problem hiding this comment.
The default value seems to be defined in four places, and this is the only place that reads this flag, so patching it here is easier. I'm also fine with changing the four default values. Do you prefer that?
There was a problem hiding this comment.
Hmm! Ok, keep it as it is.
There was a problem hiding this comment.
I think no need for comments in L11, L12 and L13, We can remove it.
Reviewer Checklist
Screenshots/VideosAndroid: Native20241120050440152.mp4Android: mWeb Chrome20241120051308448.mp4iOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
🚧 @rlinoz has triggered a test build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
rlinoz
left a comment
There was a problem hiding this comment.
Seems to work very well, thanks!
|
✋ 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/rlinoz in version: 9.0.65-0 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.0.65-5 🚀
|
Explanation of Change
Fixed Issues
$ #52496
PROPOSAL: #52496 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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-native.mp4
Android: mWeb Chrome
android-web.mp4
iOS: Native
ios-native.mp4
iOS: mWeb Safari
ios-web.mp4
MacOS: Chrome / Safari
mac-web.mp4
MacOS: Desktop
mac-desktop.mp4