Browse Source

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 years ago
parent
commit
acf1ad7560

+ 1
- 1
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java View File

748
         new TopShouldStartLoadWithRequestEvent(
748
         new TopShouldStartLoadWithRequestEvent(
749
           view.getId(),
749
           view.getId(),
750
           createWebViewEvent(view, url)));
750
           createWebViewEvent(view, url)));
751
-      return true;
751
+      return super.shouldOverrideUrlLoading(view,url);
752
     }
752
     }
753
 
753
 
754
 
754