Skip to content

Lottie namespace for net 6 #11717

Closed
Closed

Description

@Soap-141

What would you like to be added:

Uno.WinUI.Lottie require to use xmlns:lottie="using:Microsoft.Toolkit.Uwp.UI.Lottie" which is the old namespace for UWP and Xamarin, while it could use the new namespace for the WinUI Lottie implementation xmlns:lottie="using:CommunityToolkit.WinUI.Lottie" because it would make the Xaml code cleaner.

https://www.nuget.org/packages/CommunityToolkit.WinUI.Lottie

Why is this needed:

Cleaner code

For which Platform:

  • WebAssembly
  • Android
  • iOS
  • macOS (AppKit)
  • Mac Catalyst
  • Skia
    • WPF
    • GTK (Linux)
    • Linux Framebuffer
    • Tizen
  • Windows
  • Build tasks
  • Solution Templates

Anything else we need to know?

Activity

  1. added
    kind/enhancement
    triage/untriaged
    difficulty/tbd
    on Mar 16, 2023
  2. jeanplevesque commented on Mar 22, 2023

    @jeanplevesque
    Member

    @Soap-141 About the reason behind this... is it just cleaner code or is the API not using the correct namespaces?

  3. Soap-141 commented on Mar 22, 2023

    @Soap-141
    Author

    Both. Mobile NET6 should be using the Windows NET6 namespaces. And it's currently not the case because Uno assumed that it was not supported yet on Windows NET6. See the documentation .

  4. jeromelaban commented on Mar 29, 2023

    @jeromelaban
    Member

    This is a breaking change that we'll include in Uno 5.0 (#8339)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty/tbdkind/enhancementtriage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions