Baseflow / LottieXamarin

Render After Effects animations natively on Android, iOS, MacOS and TvOS for Xamarin
https://baseflow.com
Apache License 2.0
1.22k stars 262 forks source link

XF.UWP support failing at version 4.1.0 #381

Open sjorsmiltenburg opened 2 years ago

sjorsmiltenburg commented 2 years ago

🔙 Regression

I have a XF.UWP project that shows animations fine in 4.0.11, but does not show anything when I upgrade to 4.1.0.

To investigate I tried to clone both versions and run the provided code examples on my machine. When i build and run the Example.Forms.UWP project and press a button (navigating to a view with an animation), I get the following exception:

System.TypeLoadException: 'Could not find Windows Runtime type 'Microsoft.Toolkit.Uwp.UI.Lottie.LottieVisualSource'.'

I don't know what's wrong, I might be missing something on my machine. I manually built /ran the Example.Forms.UWP project, and did not use any scripts. So because the version that is working for me (4.0.11) is also failing with the same error, I'm not able to find a cause.

Old (and correct) behavior

Current behavior

Reproduction steps

Configuration

Version: 4.1.0

Platform: