Skip to content
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

Issue with methodQueue Setter in v0.9.0-rc0 of react-native-shared-elements #129

Open
Ceck-15 opened this issue Mar 12, 2025 · 3 comments
Open

Comments

@Ceck-15
Copy link

Ceck-15 commented Mar 12, 2025

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.

Copy link

Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link or link to a GitHub repo under your username).

Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup.

@du5rte
Copy link

du5rte commented Mar 13, 2025

Having this issue as well

1 similar comment
@lvothnrv
Copy link

Having this issue as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants