Category: React Native SVG
Error (and solution) to bug in RNSVGSvgView.java: “method obtain in class TouchEvent cannot be applied to given types”.
react-native-svg/Example/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/RNSVGSvgView.java:183: error: method obtain in class TouchEvent cannot be applied to given types; TouchEvent.obtain( ^ required: int,long,TouchEventType,MotionEvent,float,float found: int,long,TouchEventType,MotionEvent,float,float,TouchEventCoalescingKeyHelper reason: actual and formal argument lists…
Breaks on 0.29
Seems none of the subtags, Path, Rect, Circle are working in the latest build of RN029, had to downgrade to RN028
Android: “No ViewManager defined for class RNSVGGroup”
Hello, I have no problems with iOS but Android gives me redbox with this error. I’m not an Android developer and have no idea where…
SVG translate not working with react-native@0.30.0 react-native-svg@4.0.0-rc
I there.. I am using react-native-svg to render charts but there seems to be problem with the svg translate attribute.. as it doesn’t work. Here…
How can I show SVG file on React Native?
I want to show svg files (i have bunch of svg images) but the thing i couldn’t find the way to show. I tried to…
Animations
Hey guys! I know the svg animations are currently part of the todo list. Are there some workarounds available though? I tried to get animations…
Render SVG Image from URL
It is possible render an SVG image from an URL whit this library?
Touch event is canceled on small move because element height is 0
On galaxy s6 touch is so sensitive that when you tap on the phone sometimes move event is fired. And because height in TouchableMixin._handleQueryLayout is…
parity with web svg and usage with React Native Web
Hey everyone, I’m working on a React Native Web project and am porting various vectors I made in React Native using this package to React…
Android is slow/broken (Skipping frames)
I have svg map with like ~100 elements and when clicking and updating only that one, app freeze and do not update element. Is there…