You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run npm run android the build time is very very slow. This is because we are required to build React Native from source to support two patches:
We have two patch files which implement/fix things on Android side, NumberOfLines.patch and VerticalScrollBarPosition.patch. When we have Android patches, it’s necessary to build from source to ensure these patches take effect in the application.
Then will be opening a new PR for Android fixes for numberOfLines. Once both of these PRs are merged we should be able to update to the version that includes these PRs.
@AndrewGable Could you build custom 3rd party native components that have this behavior rather than building the whole RN from source? (I haven't looked in depth at this yet, but that's the first thing that comes to mind for me.)
Problem
If you run
npm run android
the build time is very very slow. This is because we are required to build React Native from source to support two patches:We have two patch files which implement/fix things on Android side, NumberOfLines.patch and VerticalScrollBarPosition.patch. When we have Android patches, it’s necessary to build from source to ensure these patches take effect in the application.
NumberOfLines.patch
Related to these PRs: facebook/react-native#35703 and facebook/react-native#38021
It’s necessary to fix this issue: #19809
VerticalScrollBarPosition.patch
Related to these PRs: facebook/react-native#38071 and facebook/react-native#38073
It’s necessary to fix this issue: #11321
VerticalScrollBarPosition.patch
is merged and are available in RN 0.72.4 🎉 -> https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0724. Once we update to this version or higher we can remove this patch.Here’s more info about all the PRs we have and current state: #18507 (comment)
Solution
NumberOfLines.patch
merged and deployedThe text was updated successfully, but these errors were encountered: