react-native-examples icon indicating copy to clipboard operation
react-native-examples copied to clipboard

Polygon example does not work on Android

Open hokasan opened this issue 6 years ago • 1 comments

There seems to an issue with using "d=" and Polygon on android. "Points=" seems to work, bit I havent been able to convert the "d" path into points.

screen shot 2018-06-01 at 11 38 39

hokasan avatar Jun 01 '18 09:06 hokasan

And one second after writing the issue I got it to work....typical :)

In AnimatedSvgPolygon.js I change from using d={d} to just points={this.points.values} Not sure if I need to convert the numbers o anything, but at least they are animating now.

hokasan avatar Jun 01 '18 09:06 hokasan