|
@@ -652,7 +652,7 @@ public class RCTWebViewManager extends SimpleViewManager<WebView> {
|
652
|
652
|
break;
|
653
|
653
|
case COMMAND_POST_MESSAGE:
|
654
|
654
|
try {
|
655
|
|
- ReactWebView reactWebView = (ReactWebView) root;
|
|
655
|
+ RCTWebView reactWebView = (RCTWebView) root;
|
656
|
656
|
JSONObject eventInitDict = new JSONObject();
|
657
|
657
|
eventInitDict.put("data", args.getString(0));
|
658
|
658
|
reactWebView.evaluateJavascriptWithFallback("(function () {" +
|
|
@@ -671,7 +671,7 @@ public class RCTWebViewManager extends SimpleViewManager<WebView> {
|
671
|
671
|
}
|
672
|
672
|
break;
|
673
|
673
|
case COMMAND_INJECT_JAVASCRIPT:
|
674
|
|
- ReactWebView reactWebView = (ReactWebView) root;
|
|
674
|
+ RCTWebView reactWebView = (RCTWebView) root;
|
675
|
675
|
reactWebView.evaluateJavascriptWithFallback(args.getString(0));
|
676
|
676
|
break;
|
677
|
677
|
}
|