瀏覽代碼

fix(Android): Revert "Redirected URLs now redirect correctly. (#991)" (#1177)

This reverts commit acf1ad7560.
Daniel Vicory 4 年之前
父節點
當前提交
344aab591a
No account linked to committer's email address
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java

+ 1
- 1
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java 查看文件

@@ -748,7 +748,7 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
748 748
         new TopShouldStartLoadWithRequestEvent(
749 749
           view.getId(),
750 750
           createWebViewEvent(view, url)));
751
-      return super.shouldOverrideUrlLoading(view,url);
751
+      return true;
752 752
     }
753 753
 
754 754