We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58038c7 commit 4737504Copy full SHA for 4737504
android/src/main/java/com/github/alinz/reactnativewebviewbridge/WebViewBridgeManager.java
@@ -72,6 +72,7 @@ private void injectBridgeScript(WebView root) {
72
if (!initializedBridge) {
73
root.addJavascriptInterface(new JavascriptBridge((ReactContext)root.getContext()), "WebViewBridgeAndroid");
74
initializedBridge = true;
75
+ root.reload();
76
}
77
78
//this code needs to be executed everytime a url changes.
0 commit comments