indiespirit / react-native-chart-kit

📊React Native Chart Kit: Line Chart, Bezier Line Chart, Progress Ring, Bar chart, Pie chart, Contribution graph (heatmap)
https://expo.io/@indiespirit/react-native-chart-kit
MIT License
2.86k stars 661 forks source link

Realease mode Bar chart crashing android #178

Open vigneshwarram opened 5 years ago

vigneshwarram commented 5 years ago

Debug mode Barchart working fine,But in release mode it is crashing

nehaj2995 commented 5 years ago

Yes, I'm also facing the same issue. Everything works fine in debug mode build ,but when I run release mode build ,the android app crashes.

nehaj2995 commented 5 years ago

Adding

-keep public class com.horcrux.svg.* {;}

to proguard-rules.pro file worked for me

reference: https://github.com/indiespirit/react-native-chart-kit/issues/115