[Bug]: Error evaluating injectedJavaScript: This is possibly due to an unsupported return type. Try adding true to the end of your injectedJavaScript string #27
Labels
bug
Something isn't working
Version
"@api.video/react-native-player": "^1.0.2",
Environment that reproduces the issue
Is it reproducible in the example application?
Not tested
Reproduction steps
Expected result
No error related to injected java script [yellow error in react native]
Actual result
Yellow error in react native:
Error evaluating injectedJavaScript: This is possibly due to an unsupported return type. Try adding true to the end of your injectedJavaScript string. Error Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" UserInfo={WKJavaScriptExceptionLineNumber=1, WKJavaScriptExceptionMessage=ReferenceError: Can't find variable: player, WKJavaScriptExceptionColumnNumber=7, WKJavaScriptExceptionSourceURL=undefined, NSLocalizedDescription=A JavaScript exception occurred}
Additional context
When i check url to video that must be displayed in browser I am getting 404 error,
but this error occur with correct video too.
Relevant logs output
The text was updated successfully, but these errors were encountered: