We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SFChart Series not animating with ProGuard on in Release mode on Android

I am building Xamarin Forms app with SfChart. When I turn on ProGuard in Android options in Release mode, sfchart series stop animating despite EnableAnimation is set to true. All other checkboxes in Android Options / Packaging are set to off.
Is there a workaround for this?

1 Reply

MK Magesh Kumar Krishnan Syncfusion Team February 1, 2017 12:44 PM UTC

HI Boris,

Thanks for using Syncfusion products.

In order to overcome this issue, you need to add Progard.cfg file in your Xamarin.Form Android project and make some changes. Please download the sample from location given below.

Sample : http://www.syncfusion.com/downloads/support/forum/128481/ze/SimpleSample-1043464200    

     1. In the sample we have added Proguard.cfg file as in this link - http://stackoverflow.com/questions/34380223/xamarin-visual-studio-2015-custom-proguard-configuration

     2. Added this code snippet in Proguard.cfg file. 
         Code Snippet : 
         -keepclasseswithmembers class * {
          void setAnimationValue*(...);
          }

Please let us know if you require further assistance.

Regards,
Magesh 


Loader.
Up arrow icon