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 RAAirplayButtonView #230

Open
rcymborski-obe opened this issue Dec 20, 2023 · 1 comment
Open

Error setting property 'onClick' of RAAirplayButtonView #230

rcymborski-obe opened this issue Dec 20, 2023 · 1 comment

Comments

@rcymborski-obe
Copy link

I'm using the react-airplay library in my React Native app and I'm encountering an error when trying to render the Airplay button. The error message is:

Error setting property 'onClick' of RAAirplayButtonView with tag #3669: Exception thrown while executing UI block: -[react_airplay.RAAirplayButtonView setOnClick:]: unrecognized selector sent to instance 0x7f9102f14db0

This error occurs after updating to React Native from 0.72 to 0.73. I'm using the latest react-airplay library.

@tien
Copy link
Owner

tien commented Aug 13, 2024

The Airplay button is an uncontrolled component, so you shouldn't set an on click to it. Maybe react 0.73 just got stricter and throw an error now?

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