You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.
With RN 0.44.0 the TouchEvent.obtain method signature has been changed to add a new argument, which causes compilation of the version of react-native-svg used. This has been fixed in the latest version (5.1.8).
This is easy to reproduce by generating a brand new RN project with react-native init, installing react-native-pathjs-charts and attempting to compile for Android.
A temporary but dirty workaround is to modify node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/RNSVGSvgView.java to add the following (TouchEvent.obtain is on line 125):
I have finally figured out how to work around text rotation behavior changes in react-native-svg that kept me from upgrading to the latest version of that library. This has been problematic for many of the issues logged here for a long time.
So, I will work on upgrading to the latest version of react, react-native and react-native-svg dependencies and incorporating your info here.
With RN 0.44.0 the
TouchEvent.obtain
method signature has been changed to add a new argument, which causes compilation of the version of react-native-svg used. This has been fixed in the latest version (5.1.8).This is easy to reproduce by generating a brand new RN project with
react-native init
, installing react-native-pathjs-charts and attempting to compile for Android.A temporary but dirty workaround is to modify
node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/RNSVGSvgView.java
to add the following (TouchEvent.obtain
is on line 125):Alternatively you could pull the logic for setting
mGestureStartTime
from the 5.1.8 version of the SvgView.java` file.The text was updated successfully, but these errors were encountered: