From 4251854948c04826c0174c4e73d7cdbd513ee8de Mon Sep 17 00:00:00 2001 From: Horcrux Date: Fri, 26 Aug 2016 09:25:51 +0800 Subject: [PATCH] fix #118 fix #118 and change peerDependencies bump to 4.2.0 --- Example/package.json | 2 +- android/src/main/java/com/horcrux/svg/RNSVGSvgView.java | 1 - package.json | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Example/package.json b/Example/package.json index 6d9a4f79..08cc052b 100644 --- a/Example/package.json +++ b/Example/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "react": "^15.1.0", - "react-native": "^0.31.0", + "react-native": "^0.32.0", "react-native-root-modal": "^1.0.4", "react-native-svg": "../" } diff --git a/android/src/main/java/com/horcrux/svg/RNSVGSvgView.java b/android/src/main/java/com/horcrux/svg/RNSVGSvgView.java index ba3f2ba0..2053902f 100644 --- a/android/src/main/java/com/horcrux/svg/RNSVGSvgView.java +++ b/android/src/main/java/com/horcrux/svg/RNSVGSvgView.java @@ -123,7 +123,6 @@ public class RNSVGSvgView extends ViewGroup { mEventDispatcher.dispatchEvent( TouchEvent.obtain( mTargetTag, - SystemClock.nanoTime(), type, ev, ev.getX(), diff --git a/package.json b/package.json index 4813bc53..a0c46014 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "4.1.5", + "version": "4.2.0", "name": "react-native-svg", "description": "SVG library for react-native", "repository": { @@ -22,7 +22,7 @@ "lint": "eslint ./" }, "peerDependencies": { - "react-native": ">=0.29.0" + "react-native": ">=0.32.0" }, "dependencies": { "color": "^0.11.1",