Closed
Description
Description
It's really hard for me to know what's going on here, but I can sometimes reproduce this error by pressing a button in my app which leads to a crash. I used Claude to interpret the crash logs for me and it's saying that the error has to do with the Shared Element package. I've also attached the full crash logs in crash-logs.txt
.
Exception Type: EXC_CRASH (SIGABRT)
Termination Reason: SIGNAL 6 Abort trap: 6
0 CoreFoundation __exceptionPreprocess + 160
1 libobjc.A.dylib objc_exception_throw + 56
2 CoreFoundation -[__NSArrayM removeAllObjects] + 0
3 alysium-dev -[REASharedTransitionManager handleTabNavigatorChange:] + 128
4 alysium-dev -[REASharedTransitionManager reanimated_viewDidLayoutSubviews] + 128
-[REASharedTransitionManager handleTabNavigatorChange:] + 128 (REASharedTransitionManager.m:579)
-[REASharedTransitionManager reanimated_viewDidLayoutSubviews] + 128 (REASharedTransitionManager.m:524)
0 CoreFoundation __exceptionPreprocess + 160
1 libobjc.A.dylib objc_exception_throw + 56
2 CoreFoundation -[__NSArrayM removeAllObjects] + 0
Steps to reproduce
- Mount a component that has a shared element tag
- I have a button in my app that essentially unmounts the app and mounts a different "app". If i press that, it leads to this crash.
Snack or a link to a repository
unable to
Reanimated version
3.16.1
React Native version
0.74.3
Platforms
iOS
JavaScript runtime
None
Workflow
React Native
Architecture
Fabric (New Architecture)
Build type
Debug app & dev bundle
Device
iOS simulator
Device model
iPhone 15 Plus
Acknowledgements
Yes