瀏覽代碼

Merge branch 'tomun/macos' of github.com:tom-un/react-native-webview into tomun/macos

Tom Underhill 4 年之前
父節點
當前提交
abfd6d434e
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1
    1
      android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java
  2. 2
    2
      package.json

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

+ 2
- 2
package.json 查看文件

@@ -8,7 +8,7 @@
8 8
     "Thibault Malbranche <malbranche.thibault@gmail.com>"
9 9
   ],
10 10
   "license": "MIT",
11
-  "version": "8.0.4",
11
+  "version": "8.0.5",
12 12
   "homepage": "https://github.com/react-native-community/react-native-webview#readme",
13 13
   "scripts": {
14 14
     "start": "node node_modules/react-native/local-cli/cli.js start",
@@ -77,4 +77,4 @@
77 77
     "index.d.ts",
78 78
     "react-native-webview.podspec"
79 79
   ]
80
-}
80
+}