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

Error setting property 'onClick' of RiveReactNativeView with tag #15 #214

Open
lorenzoangelini opened this issue Dec 11, 2023 · 2 comments

Comments

@lorenzoangelini
Copy link

Hi! I'm using the last version of rive-react-native@6.2.0 with the react native 0.73 version, and when use

Obtain the following error:
Error setting property 'onClick' of RiveReactNativeView with tag #15: Error setting property 'onClick' of RiveReactNativeView with tag #15: Exception thrown while executing UI block: -[rive_react_native.RiveReactNativeView setOnClick:]: unrecognized selector sent to instance 0x116b894b0

do you support the last react native release?

@lorenzoangelini
Copy link
Author

We are only using this:

 <Rive fit={Fit.Contain} url={animation} />

where animations in an url

@LewisYearsley
Copy link
Contributor

I've seen this too when trying to upgrading to RN 0.73, a static asset in my case rather than a URL. Proposed fix above to at least get the conversation rolling.

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

No branches or pull requests

2 participants