|
@@ -147,7 +147,6 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
|
147
|
147
|
protected boolean mAllowsFullscreenVideo = false;
|
148
|
148
|
protected @Nullable String mUserAgent = null;
|
149
|
149
|
protected @Nullable String mUserAgentWithApplicationName = null;
|
150
|
|
- // protected @Nullable List<Pattern> mOriginWhitelist;
|
151
|
150
|
|
152
|
151
|
public RNCWebViewManager() {
|
153
|
152
|
mWebViewConfig = new WebViewConfig() {
|
|
@@ -769,10 +768,6 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
|
769
|
768
|
}
|
770
|
769
|
}
|
771
|
770
|
|
772
|
|
- // if (mOriginWhitelist != null && shouldHandleURL(mOriginWhitelist, url)) {
|
773
|
|
- // return false;
|
774
|
|
- // }
|
775
|
|
-
|
776
|
771
|
launchIntent(view.getContext(), url);
|
777
|
772
|
return true;
|
778
|
773
|
}
|
|
@@ -905,9 +900,6 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
|
905
|
900
|
public void setUrlPrefixesForDefaultIntent(ReadableArray specialUrls) {
|
906
|
901
|
mUrlPrefixesForDefaultIntent = specialUrls;
|
907
|
902
|
}
|
908
|
|
- // public void setOriginWhitelist(List<Pattern> originWhitelist) {
|
909
|
|
- // mOriginWhitelist = originWhitelist;
|
910
|
|
- // }
|
911
|
903
|
}
|
912
|
904
|
|
913
|
905
|
protected static class RNCWebChromeClient extends WebChromeClient implements LifecycleEventListener {
|