Bladeren bron

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

Co-authored-by: Jamon Holmgren <jamon@infinite.red>
Co-authored-by: Jason Safaiyeh <safaiyeh@protonmail.com>
hanlh1 4 jaren geleden
bovenliggende
commit
acf1ad7560
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java

+ 1
- 1
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java Bestand weergeven

@@ -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 true;
751
+      return super.shouldOverrideUrlLoading(view,url);
752 752
     }
753 753
 
754 754