-
Notifications
You must be signed in to change notification settings - Fork 491
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
WebViewBridge bug?? #154
Comments
Just noticed this too. I only get this on iOS 8 however. 9 and 10 work fine for me. |
@StevenOspina Me too, but how to save it on IOS8 ? |
@camellieeee @StevenOspina try installing from |
@StevenOspina Also having this problem on latest master, Android 23. Rebuilding fixed it. |
@camellieeee did the rebuilding fix the issue? if not reopen this ticket. and give use more details about the problem. |
@annalamws i have same problem |
@alinz I am not sure why this was closed I am having this issue as well: XCode Version 8.1 (8B62) using master react-native-webview-bridge Exact issue outlined above on line
|
So it seems like this functionality has made it into react 0.37 in the web view, this library is no longer needed and seems to have lost the support of the author. This is great as this library remade a lot of stuff that was already in the web view so now its all in one place. Details on the project that added this functionality Basically replace WebViewBridge with WebView (imported from react-native) and in the web view call window.postMessage('some string'); where you want to pass a value around. The onBridgeMessage should also be changed to onMessage as a property of webview. The function onMessage(event) functions gets an event so you must extract the value from it using |
My HTML:
imgs[i].onclick=function(){
alert(1);
WebViewBridge.send('a');
alert(2);
}
only alert 1,cannot alert 2;
I think WebViewBridge is undefind. This �error appears after update XCode8
The text was updated successfully, but these errors were encountered: