davidohayon669 / react-native-youtube

A <YouTube/> component for React Native.
MIT License
1.15k stars 474 forks source link

Getting CLIENT_LIBRARY_UPDATE_REQUIRED error #551

Open pratikn2bsl opened 1 year ago

pratikn2bsl commented 1 year ago

I am using this library around 5 years now. But, from last 1 week users reporting below issue

'An error occurred while initializing YouTube player'

However, when I debug the application I am getting below error where target id keeps changing. Kindly help.

{"error": "CLIENT_LIBRARY_UPDATE_REQUIRED", "target": 4377}

GaboMendez commented 1 year ago

Same issue

nativapps-rchancay commented 1 year ago

I have the same problem, I presume it's some youtube update.

pratikn2bsl commented 1 year ago

Please update here if you get any solution for this issue.

GaboMendez commented 1 year ago

This library have more than one year that not receive an update so i resolved this issue using another dependency https://lonelycpp.github.io/react-native-youtube-iframe/ version 2.2.1 works perfectly. hope this help someone...

psdewar2 commented 1 year ago

@GaboMendez how is it working for you? That project seems relatively old as well.

devrchancay commented 1 year ago

For me it works correctly, I just migrated my project to react-native-youtube-iframe, it's quite intuitive.

akimabs commented 1 year ago

same issue with my app

LonelyCpp commented 1 year ago

The native android player API has been fully deprecated by google. source

Screenshot 2023-07-04 at 6 54 19 PM