Uno.Gallery icon indicating copy to clipboard operation
Uno.Gallery copied to clipboard

[Gallery] Migrate to WinUI/WinAppSDK

Open sakshi173 opened this issue 2 years ago • 1 comments

Current behavior

progressring ‎- Photos Lottie ‎- Photos

Expected behavior

progressring correct Lottie ‎correct

How to reproduce it (as minimally and precisely as possible)

  1. Open Uno Gallery APP
  2. Click Burger Menu on the left top right.
  3. Click "Progress Ring/Bar" from the "Component" list.
  4. Observe that 'ProgressRing/Bar' is missing.
  5. Click "Lottie" from the "Features" list.
  6. Observe that 'Lottie' is missing.

Workaround

No response

Works on UWP/WinUI

No response

Environment

No response

NuGet package version(s)

No response

Affected platforms

iOS, Android

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

sakshi173 avatar Jul 18 '22 19:07 sakshi173

This issue is specific to the canary, and won't be fixed explicitly. The reason for this is the fact that SkiaSharp.Views.Uno does not have a net6-android/ios target (because of mixed net6/xamarin builds complexities), and it is only available on SkiaSharp.Views.Uno.WinUI.

The way forward for this is to migrate the Gallery app to use WinUI/WinAppSDK, so that the net6 targets use the correct SkiaSharp dependency.

jeromelaban avatar Aug 02 '22 14:08 jeromelaban

Currently blocking the x64 build because of this

kazo0 avatar Aug 02 '23 14:08 kazo0

App fails to build in release for net7.0-ios as a result of https://github.com/dotnet/runtime/issues/90032

Current workaround is to add this to the .Mobile.csproj

<ItemGroup Condition="'$(Configuration)'=='Release'">
	<TrimmableAssembly Include="CommunityToolkit.WinUI.UI" />
</ItemGroup>

kazo0 avatar Aug 04 '23 19:08 kazo0

Verified this issue is fixed, closing it.

sakshi173 avatar Aug 15 '23 19:08 sakshi173