浏览代码

Merge branch 'master' into all-contributors/add-dvicory

Thibault Malbranche 6 年前
父节点
当前提交
9d897eafb1
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java
  2. 1
    1
      package.json

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

@@ -449,7 +449,7 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
449 449
     }
450 450
     export.put(TopLoadingProgressEvent.EVENT_NAME, MapBuilder.of("registrationName", "onLoadingProgress"));
451 451
     export.put(TopShouldStartLoadWithRequestEvent.EVENT_NAME, MapBuilder.of("registrationName", "onShouldStartLoadWithRequest"));
452
-    export.put(ScrollEventType.SCROLL.getJSEventName(), MapBuilder.of("registrationName", "onScroll"));
452
+    export.put(ScrollEventType.getJSEventName(ScrollEventType.SCROLL), MapBuilder.of("registrationName", "onScroll"));
453 453
     return export;
454 454
   }
455 455
 

+ 1
- 1
package.json 查看文件

@@ -8,7 +8,7 @@
8 8
     "Thibault Malbranche <malbranche.thibault@gmail.com>"
9 9
   ],
10 10
   "license": "MIT",
11
-  "version": "6.0.0",
11
+  "version": "6.0.1",
12 12
   "homepage": "https://github.com/react-native-community/react-native-webview#readme",
13 13
   "scripts": {
14 14
     "ci": "CI=true && yarn lint && yarn test",