8

Uno Platform 4.2 - .NET 6 Mobile RC1, Perf Boost, 190+ Improvements

 2 years ago
source link: https://platform.uno/blog/4-2-release/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

.NET 6 Mobile RC1 Support

As of last week’s release of .NET 6 Mobile RC1, Uno Platform is now following the updates to ensure that you have access to the latest features provided by the .NET runtime.

As per Microsoft’s announcement, the .NET 6 Mobile APIs are now considered stable for iOS, Android, and Mac Catalyst. This enables applications and libraries to be developed without having to deal with any breaking changes in future .NET Mobile releases. As Uno Platform takes a dependency on dotnet runtime, this is important as we can stabilize our own support for iOS, Android and mac Catalyst targets.

Since our previous release about six weeks ago, we also made a batch of changes to fix the support for localization of iOS, macOS and Catalyst apps, based on the new behaviors of .NET 6. In total there were over 190 new features and fixes completed, around Geolocation, focus and keyboard management, Android/Skia/WebAssembly performance, and more. For those who like stats – that’s about 6 closed PRs per business day; we are definitely picking up velocity even more.

As always, to upgrade to the latest bits and use .NET 6 Uno Platform app templates, you’ll need to use uno-check. You can find up-to-date information about uno-check in our docs.

To install Uno-check:

dotnet tool install -g uno.check

To update Uno-check if you had it installed already

dotnet tool update -g uno.check

You can then run it with:

uno-check --pre

If you were already using Uno 4.1, had run uno-check and were using VS 17.2 preview 3 or earlier , upgrading to 17.2 Preview 4 will cause mobile workloads to become desynchronized. To fix your environment, you’ll need to run the following command:

dotnet workload install ios android maccatalyst macos --from-rollback-
file https://aka.ms/dotnet/maui/rc.1.json --source
https://aka.ms/dotnet6/nuget/index.json --source
https://api.nuget.org/v3/index.json

Finally, you’ll probably notice that uno-check is code-signed, making the windows elevation popup less scary for new users, and help with more recent Windows Smart Screen filtering.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK