Update to react-native 0.77 (#3026)

* Upgrade helper changes JS side

* Upgrade helper Android

* Upgrade helper iOS side

* Update project.pbxproj

* Create react-native-modal+14.0.0-rc.1.patch

* BackHandler.removeEventListener is deprecated

* Update react-native-modal

* Update .flowconfig

* Update package-lock.json

* Update Podfile.lock

* Update Podfile.lock from main

* Replace toBeVisible with toBeOnTheScreen

This is not recommended by react-navigation, because even though toBeOnTheScreen makes sure the components are in the tree it does not mean they are visible to the user. For example, in terms of navigation a previous screen is still i the tree but not visible to the user in the app.
I spent around a day trying to figure out why the isVisible check stopped working, and still have no clear answer.
Testing in the actual app shows that all of those flows are still working as expected, so it is a test-environment-only problem.
My suggestion would be to re-visit this problem after we have updated RN to latest, and testing related libraries to latest versions.
This commit is contained in:
Johannes Klein
2025-08-01 12:11:13 +02:00
committed by GitHub
parent 15d72cc7fb
commit 6e696cb524
27 changed files with 1060 additions and 1318 deletions

View File

@@ -54,6 +54,40 @@ node_modules/react-native/Libraries/polyfills/.*
.*/node_modules/react-native/Libraries/Animated/nodes/AnimatedObject.js
.*/node_modules/react-native/Libraries/vendor/emitter/EventEmitter.js
.*/node_modules/react-native/src/private/animated/NativeAnimatedHelper.js
.*/node_modules/hermes-parser/dist/traverse/getVisitorKeys.js.flow
.*/node_modules/react-native/Libraries/Animated/NativeAnimatedAllowlist.js
.*/node_modules/react-native/Libraries/Components/ActivityIndicator/ActivityIndicator.js
.*/node_modules/react-native/Libraries/Components/Button.js
.*/node_modules/react-native/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js
.*/node_modules/react-native/Libraries/Components/Pressable/Pressable.js
.*/node_modules/react-native/Libraries/Components/SafeAreaView/SafeAreaView.js
.*/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js
.*/node_modules/react-native/Libraries/Components/ScrollView/ScrollViewStickyHeader.js
.*/node_modules/react-native/Libraries/Components/Switch/Switch.js
.*/node_modules/react-native/Libraries/Components/TextInput/TextInput.flow.js
.*/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
.*/node_modules/react-native/Libraries/Components/Touchable/BoundingDimensions.js
.*/node_modules/react-native/Libraries/Components/Touchable/Position.js
.*/node_modules/react-native/Libraries/Components/Touchable/TouchableBounce.js
.*/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js
.*/node_modules/react-native/Libraries/Components/Touchable/TouchableOpacity.js
.*/node_modules/react-native/Libraries/Components/View/View.js
.*/node_modules/react-native/Libraries/Debugging/DebuggingOverlay.js
.*/node_modules/react-native/Libraries/Image/ImageTypes.flow.js
.*/node_modules/react-native/Libraries/Interaction/InteractionManager.js
.*/node_modules/react-native/Libraries/Lists/SectionList.js
.*/node_modules/react-native/Libraries/Lists/SectionListModern.js
.*/node_modules/react-native/Libraries/ReactNative/AppContainer.js
.*/node_modules/react-native/Libraries/ReactNative/getCachedComponentWithDebugName.js
.*/node_modules/react-native/Libraries/ReactNative/renderApplication.js
.*/node_modules/react-native/Libraries/Text/Text.js
.*/node_modules/react-native/node_modules/@react-native/virtualized-lists/Lists/VirtualizedSectionList.js
.*/node_modules/react-native/src/private/animated/useAnimatedPropsMemo.js
.*/node_modules/react-native/src/private/components/SafeAreaView_INTERNAL_DO_NOT_USE.js
.*/node_modules/react-native/src/private/debugging/ReactDevToolsSettingsManager.js.flow
.*/node_modules/react-native/src/private/featureflags/ReactNativeFeatureFlagsBase.js
.*/node_modules/react-native/src/private/webapis/intersectionobserver/IntersectionObserver.js
.*/node_modules/react-native/src/private/webapis/performance/specs/__mocks__/NativePerformanceMock.js
[untyped]
.*/node_modules/@react-native-community/cli/.*/.*