LonelyCpp / react-native-youtube-iframe

A wrapper of the Youtube-iframe API built for react native.
https://lonelycpp.github.io/react-native-youtube-iframe/
MIT License
598 stars 153 forks source link

iOS only issue: NSURLErrorDomain: Error Code -1202 #277

Closed fractalscape13 closed 2 months ago

fractalscape13 commented 1 year ago

Describe the bug Package installed, works on android and web but isn't working on iOS simulator. The error is: ”Domain: NSURLErrorDomain Error Code: -1202 The certificate for this server is invalid. You might be connecting to a server that is pretending to be “lonelycpp.github.io” which could put your confidential information at risk.”

To Reproduce Install package with yarn in newly created bare rn app or expo-managed, attempt to run on iOS simulator

Expected behavior Expected to see video

param240 commented 1 year ago

I am also facing same issue. Any workaround please??

param240 commented 1 year ago

useLocalHTML={true}

This worked for me.

LonelyCpp commented 2 months ago

possibly a duplicate of https://github.com/LonelyCpp/react-native-youtube-iframe/issues/323