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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

128481 Jan 25,2017 06:13 AM Feb 1,2017 07:44 AM Xamarin.Forms 1
loading
Tags: SfChart
Boris
Asked On January 25, 2017 06:13 AM

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?

Magesh Kumar Krishnan [Syncfusion]
Replied On February 1, 2017 07:44 AM

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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;