IjzerenHein / IjzerenHein/react-native-shared-element
Issue with methodQueue Setter in v0.9.0-rc0 of react-native-shared-elements
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I recently encountered an issue with corner radii and resolved it by switching to the pre-release version (v0.9.0-rc0) of react-native-shared-elements. However, after updating, I'm now facing the following error:
RNSharedElementTransition has no setter or ivar for its methodQueue, which is not permitted. You must either @synthesize the methodQueue property, or provide your own setter method.
-[RCTTurboModuleManager _createAndSetUpObjCModule:moduleName:moduleId:]
RCTTurboModuleManager.mm:746
__71-[RCTTurboModuleManager _provideObjCModule:moduleHolder:shouldPerfLog:]_block_invoke
__RCTUnsafeExecuteOnMainQueueSync_block_invoke
C05E486D-81F2-367E-9CE1-E14573C4C268
C05E486D-81F2-367E-9CE1-E14573C4C268
C05E486D-81F2-367E-9CE1-E14573C4C268
C05E486D-81F2-367E-9CE1-E14573C4C268
_dispatch_main_queue_callback_4CF
0013A8B1-2524-3534-B5BA-681AAF18C798
0013A8B1-2524-3534-B5BA-681AAF18C798
CFRunLoopRunSpecific
GSEventRunModal
8CC54497-F7EC-3903-AE5A-A274047C0CF1
UIApplicationMain
main
A770FF8C-8FB9-3E03-85FE-7F26DB36812B
For context, here are my current dependency versions:
expo: ~52.0.36
react: 18.3.1
react-native: 0.76.7
react-native-shared-element: ^0.9.0-rc0
react-navigation-shared-element: ^3.1.3
I attempted to address the error by adding:
@synthesize methodQueue = _methodQueue;
at the top of the implementation file, but unfortunately, it did not resolve the issue. I am using EAS Build for this project.
Any guidance or recommendations on how to resolve this would be greatly appreciated.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the RNSharedElementTransition implementation and reproducing the reported initialization error with Expo ~52.0.36, React Native 0.76.7, and react-native-shared-element ^0.9.0-rc0. Confirm the module initializes without the methodQueue setter or ivar error; the issue does not name a file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100