upgrade-support
upgrade-support copied to clipboard
Error setting property 'sheetLargestUndimmedDetent' of RNSScreen
Environment
System: OS: macOS 15.3 CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz Memory: 148.32 MB / 8.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 22.13.1 path: /usr/local/bin/node Yarn: version: 1.22.22 path: /usr/local/bin/yarn npm: version: 10.9.2 path: /usr/local/bin/npm Watchman: Not Found Managers: CocoaPods: version: 1.16.2 path: /usr/local/bin/pod SDKs: iOS SDK: Platforms: - DriverKit 24.2 - iOS 18.2 - macOS 15.2 - tvOS 18.2 - visionOS 2.2 - watchOS 11.2 Android SDK: Not Found IDEs: Android Studio: 2024.2 AI-242.23339.11.2421.12700392 Xcode: version: 16.2/16C5032a path: /usr/bin/xcodebuild Languages: Java: version: 17.0.13 path: /usr/bin/javac Ruby: version: 2.6.10 path: /usr/bin/ruby npmPackages: "@react-native-community/cli": installed: 15.1.3 wanted: 15.1.3 react: installed: 18.3.1 wanted: 18.3.1 react-native: installed: 0.77.0 wanted: 0.77.0 react-native-macos: Not Found npmGlobalPackages: "react-native": Not Found Android: hermesEnabled: Not found newArchEnabled: Not found iOS: hermesEnabled: Not found newArchEnabled: false
Things I’ve done to figure out my issue
- [Yes] I used upgrade-helper to do my upgrade.
Upgrading version
0.77.0
Description
Description
I have been migrating from an older version of react native to a new version ie 0.71.14 to 0.77.0. i have followed along the upgrade guide of react native upgrade helper https://react-native-community.github.io/upgrade-helper/?from=0.71.14&to=0.77.0 followed all the steps on it and also upgraded the corresponding npm packages. the app is getting build but i am getting this error on app startup.
Entire error message
Error setting property 'sheetLargestUndimmedDetent' of RNSScreen with tag #115: Exception thrown while executing UI block: -[RCTView setSheetLargestUndimmedDetent:]: unrecognized selector sent to instance 0x109e31440 *** Assertion failure in -RCTNativeAnimatedNodesManager connectAnimatedNodes:childTag:, /Users/sudhirkamat/Desktop/tcp_socket_app_test/node_modules/react-native/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.mm:128 Error setting property 'sheetLargestUndimmedDetent' of RNSScreen with tag #115: Exception thrown while executing UI block: 'parentNode' is a required parameter
package.json file
`"dependencies": { "@react-native-async-storage/async-storage": "^2.1.1", "@react-native-community/checkbox": "^0.5.16", "@react-native-community/cli-platform-android": "^15.1.3", "@react-native-community/masked-view": "^0.1.11", "@react-native-community/netinfo": "^11.3.2", "@react-native/metro-config": "^0.77.0", "@react-navigation/bottom-tabs": "^7.2.0", "@react-navigation/compat": "^5.3.15", "@react-navigation/drawer": "^7.1.1", "@react-navigation/material-top-tabs": "^7.1.0", "@react-navigation/native": "^7.0.14", "@react-navigation/stack": "^7.1.1", "@tradle/react-native-http": "^2.0.1", "@vseslav/react-native-horizontal-picker": "^0.1.1", "lottie-react-native": "^7.2.2",
"react": "18.3.1", "react-dom": "^19.0.0", "react-native": "0.77.0", "react-native-reanimated": "4.0.0-beta.1", "react-native-safe-area-context": "^5.2.0", "react-native-screens": "4.5.0", "react-native-svg": "^15.11.1", "react-native-svg-transformer": "^1.1.0",
"react-redux": "^9.2.0", "react-xml-parser": "^1.1.8", "redux": "^5.0.1", "redux-persist": "^6.0.0", "redux-saga": "^1.2.2",} `
I have tried upgrading/downgrading react native screens nothing helps.
Steps to reproduce
upgrade react native and the project corresponding library to support 0.77.0
Snack or a link to a repository
https://stackoverflow.com/questions/79451301/error-setting-property-sheetlargestundimmeddetent-of-rnsscreen
Screens version
4.5.0
React Native version
0.77.0
Platforms
iOS
JavaScript runtime
JSC
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
iOS simulator
Device model
iPhone 15 Pro
Acknowledgements
Yes
+1 same native version Device model iPhone 11pro and 16pro
I’m facing the same issue, and I’m still using AppDelegate.mm. I’ve also already included:
self.dependencyProvider = [RCTAppDependencyProvider new];
from the https://reactnative.dev/blog/2025/01/21/version-0.77#community-cli-and-template-updates
but the problem persists. Any ideas on what else might be missing?