-
Notifications
You must be signed in to change notification settings - Fork 17
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 evaluating injectedJavaScript #4
Comments
@sonytooo The injected script is here: Can you provide a minimal reproduction? Are you using WKWebView or UIWebView? |
@sonytooo I see two related issues from react-native-webview:
They suggest executing code in a closure. I'll add a patch, and you'll be able to test and tell me if the error remains. |
@sonytooo please try |
@sonytooo any news? |
After upgrading to 0.4.0-rc.1 the issue seems to persist.
I tried clearing my packager cache and I am using the Minimal working example |
Could you tell me your other dependencies versions? expo: "^33.0.0" |
Same for everything, except we don'h have One more thing is that we're using fixed versions of these libs. Maybe this helps:
I assume you know, but make sure you start your project with |
Unfortunately I am still getting the same error, even after using the exact same dependencies. This ist my components displaying the html:
And this is the html I am trying to render:
Is there any more Information I can provide for debugging? |
@janrop @superKalo Perhaps the bug is orthogonal to the dependency tree, and instead related to the iOS version of the |
How do describe a terminal? After your comment I tried running it on devices and it seems to work there. Only the Simulator still shows the error message. |
@janrop That's a confusion of words of my own! In french « terminal » stands for « device »; I just mixed the two languages ^^ |
Hi,
It seems that I have this error only on a ios simulator. It works on real devices (both Android and ios). Tested with Expo version: "33.0.0" and WebView (react-native-webview) version > 5.0.0.
The only thing I've noticed is that the error message appears with a little delay after the building of the bundle is finished. It works fine when I import the WebView from react-native but crashes with the react-native-webview library. Do you have any ideas?
The text was updated successfully, but these errors were encountered: