This is a migrated thread and some comments may be shown as answers.

RadBusyIndicator crashed app on ios

1 Answer 27 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Lion
Top achievements
Rank 1
Lion asked on 14 May 2020, 09:57 AM

I added follow code in my project, and it worked on debug mode(both simulator and phsical device), but when I release version to appstore testflight, It crashed app on the start moment.

Version is: 2020.2.513.1, from Nuget

<telerikPrimitives:RadBusyIndicator x:Name="busyIcon"
    WidthRequest="50"
    HeightRequest="50"
    AnimationContentHeightRequest="30"
    AnimationContentWidthRequest="30"
    AnimationType="Animation3"
    InputTransparent="True"
    AnimationContentColor="#0010FF"
    IsBusy="True" />

 

Crash log:

Unhandled Exception:
System.FormatException: Missing property Angle for type Telerik.XamarinForms.Common.RadRotateTransform.
  at Telerik.XamarinForms.Common.RadAnimation.ParsePropertyPath () <0x1046a88d0 + 0x002ac> in <929afeb7a38f475f9d99bceb2d877ef0#66a759f5bd22eddc758fd4fd4947aae4>:0
  at Telerik.XamarinForms.Common.RadAnimation.UpdateTargetPropertyValue (System.Object value) <0x1046a8850 + 0x00037> in <929afeb7a38f475f9d99bceb2d877ef0#66a759f5bd22eddc758fd4fd4947aae4>:0
  at Telerik.XamarinForms.Common.RadDoubleAnimation.OnAnimationValueChanged (System.Double value) <0x1046a91b0 + 0x00053> in <929afeb7a38f475f9d99bceb2d877ef0#66a759f5bd22eddc758fd4fd4947aae4>:0
  at Telerik.XamarinForms.Common.RadDoubleAnimation.OnAnimationTick (System.String animationName, System.Double value) <0x1046a9130 + 0x0003b> in <929afeb7a38f475f9d99bceb2d877ef0#66a759f5bd22eddc758fd4fd4947aae4>:0
  at Telerik.XamarinForms.Common.RadAnimation.Telerik.XamarinForms.Common.Animations.IDoubleAnimationListener.OnAnimati<…>

1 Answer, 1 is accepted

Sort by
0
Accepted
Didi
Telerik team
answered on 14 May 2020, 11:02 AM

Hi Lion,

Thank you for sending the snippet and the exception.

We have been reported similar exception when RadBusyIndicator is used. The issue could be reproduced when the Linker Behavior of the iOS project is set to "Link All".  Currently we do not fully support stripping our assemblies, we have this logged as a feature request in our public portal, you could cast your vote and track its status at the link below:

https://feedback.telerik.com/xamarin/1366433-linker-allow-linker-to-strip-unused-code

In the meantime, in order to resolve this you could use "Link Framework SDKs Only" option of the Linker Behavior.  The other alternative is to stay with "Link All", but exclude the Telerik.XamarinForms.Common.dll assembly from the linker process as described here: https://docs.microsoft.com/en-us/xamarin/ios/deploy-test/linker?tabs=windows#skipping-assemblies 

If you choose the second approach, you would need to add the following in the "Additional mtouch arguments" field:

--linkskip=Telerik.XamarinForms.Common

I hope I was of help.  Let me know if any additional questions on this arise.

Regards,
Didi
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Lion
Top achievements
Rank 1
Answers by
Didi
Telerik team
Share this question
or