Releases: software-mansion/react-native-svg
Releases · software-mansion/react-native-svg
4.1.0 - 4.1.4
4.1.0
Add get svg base64 data support
svgRef.toDataURL(function (base64) {
console.log(64);
});
Fix memory leak issue on iOS.
Add textPath support for iOS.
Add touch events support for G elements.
Add all features support for viewBox prop.
Fix lots of bugs.
2.0.0
Add support for both react-native@0.26.0 and below.
Add Image element for Android.
Add gesture responder system for all renderable elements.
Refactor all shape elements like: circle, rect, line, ellipse
1.3.1
Percentage props support
Now we can use percentage props on shape elements:
Rect,Circle,Line, Ellipse
<Rect x="0%" y="5%" width="90" height="95%" />
<Circle cx="50%" cy="50%" r="50%" />
<Line x1="0%" y1="5%" x2="90%" y2="95%" />
<Ellipse cx="50%" cy="50%" rx="30%" ry="40%" />
And moved gradients percentage calculation to native side for a better support.
First release
- Change npm package name from
react-native-art-svg
toreact-native-svg
. - Isolated from ReactNativeART.
- Add some SVG features support (ClipPath, strokeOffset, gradients stroke).
- Fix some issues on ART.