Ver código fonte

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

Tom Underhill 4 anos atrás
pai
commit
abfd6d434e

+ 1
- 1
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java Ver arquivo

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
 

+ 2
- 2
package.json Ver arquivo

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