Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
fix WebViewBridge js interface
Browse files Browse the repository at this point in the history
  • Loading branch information
rasom committed Dec 26, 2016
1 parent 710bd78 commit 960167a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public void onGeolocationPermissionsShowPrompt(String origin, GeolocationPermiss
}

webView.setWebChromeClient(new ReactWebChromeClient());
webView.addJavascriptInterface(new JavascriptBridge(webView), "WebViewBridge");

return webView;
}
Expand Down

0 comments on commit 960167a

Please sign in to comment.