-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
NativeViewHierarchyManager: Unable to update properties for view tag 12187 #3860
Comments
I'm also seeing this issue running Reanimated Version2.13.0 React Native Version0.70.5 PlatformsAndroid (version 12) DeviceSamsung Galaxy S20 I was trying to debug another issue that was causing app ANR's on my android release build and ran into this one. I turned Strict Mode on and ran logcat. Was seeing the same error over and over again when transitioning to a new screen using react-navigation .replace() method.
Not positive if my ANR's are related but when the navigation took place I could visibly see the screen hang and not animate as expected. Also noting that my app is utilizing react-native-shared-element as well. I need to double check and mess around with this to see if it could have some impact in the navigation transitions. |
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem? |
Also getting this issue on Android after upgrading dependencies:
|
Hello! I am also experiencing this issue in our app.
I am able to consistently reproduce it, but it is quite difficult to share the repro here due to the specific scenario it is triggered in. I can share some details, and maybe someone can help me with some ideas to produce a repro I can share here. We have a health app which continually streams sensor data from external BLE sensors for 10 minutes. After the 10 minutes of streaming we do the following quite intensive operations:
During the transition from the streaming screen to the statistics screen the exact error reported by @sweatherall occurs. The weird thing is that I am not able to reproduce it without computing the full sequence of steps outlined above. We have implemented the |
Closing since we are unable to solve this issue due to lack of reproduction. However I believe that the problem described is already fixed (I remember similar bugs with FlatList hat got already resolved) |
<!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please follow the template so that the reviewers can easily understand what the code changes affect. --> ## Summary I'm opening this PR to address a critical issue previously tackled by PR #5216, which has stalled due to the original author's inactivity. This fix is crucial for resolving significant bugs affecting Android view property updates (referenced in issues #4505, #4231, #3860) that impact application stability and performance. Typical error : ```unknown:NativeViewHierarchyManager: Unable to update properties for view tag 943 03-07 19:54:33.543 19722 19722 E unknown:NativeViewHierarchyManager: com.facebook.react.uimanager.IllegalViewOperationException: ViewManager for tag 943 could not be found. ``` ## Test plan <!-- Provide a minimal but complete code snippet that can be used to test out this change along with instructions how to run it and a description of the expected behavior. --> ### Before patching https://github.com/software-mansion/react-native-reanimated/assets/40337934/a7cd7f8c-c0a3-4a84-98f7-4853886799f0 ### After patching https://github.com/software-mansion/react-native-reanimated/assets/40337934/c4dfe495-fed9-48cf-a227-e7768cec26cc --------- Co-authored-by: Krzysztof Piaskowy <krzysztof.piaskowy@swmansion.com>
Fixed with #5767, changes will be available in the next release - 3.12.0 |
Description
App crashes and I see this appearing in our Sentry hitting many end users.
Steps to reproduce
Issue is happening mainly on luncher apps when clicking on MENU button, hard to give proper steps to reproduce as this is mainly coming from Sentry alerts
This could be related to fact that app goes to background when this happens
Snack or a link to a repository
Private repo
Reanimated version
2.6.0
React Native version
react-native-tvos@0.66.3-1
Platforms
Android
JavaScript runtime
None
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
Release mode
Device
Real device
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: