From 594999f6d158438dc4b9589d99d23141f9840a65 Mon Sep 17 00:00:00 2001 From: Jon Galloway Date: Mon, 15 Sep 2025 14:36:55 -0700 Subject: [PATCH 1/4] Update dotnetmaui.md for RC 2 scaffold --- release-notes/10.0/preview/rc2/dotnetmaui.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/release-notes/10.0/preview/rc2/dotnetmaui.md b/release-notes/10.0/preview/rc2/dotnetmaui.md index 4261cbe3f7..19046ff1c1 100644 --- a/release-notes/10.0/preview/rc2/dotnetmaui.md +++ b/release-notes/10.0/preview/rc2/dotnetmaui.md @@ -1,6 +1,12 @@ # .NET MAUI in .NET 10 RC 2 - Release Notes -This RC 2 release does not contain new .NET MAUI feature additions. +Here's a summary of what's new in .NET MAUI in this RC 2 release: + +- [Feature](#feature) + +## Feature + +Feature summary .NET MAUI updates in .NET 10: From aaf134e025d8293111e2176f9e092f213f16bdba Mon Sep 17 00:00:00 2001 From: David Ortinau Date: Fri, 10 Oct 2025 13:25:02 -0500 Subject: [PATCH 2/4] Update .NET MAUI release notes for RC 2 This update includes new features and improvements for .NET MAUI in the .NET 10 RC 2 release, such as microphone permission handling, SafeAreaEdges support, and XAML source generation enhancements. --- release-notes/10.0/preview/rc2/dotnetmaui.md | 66 +++++++++++++++++++- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/release-notes/10.0/preview/rc2/dotnetmaui.md b/release-notes/10.0/preview/rc2/dotnetmaui.md index 19046ff1c1..ddd012dd26 100644 --- a/release-notes/10.0/preview/rc2/dotnetmaui.md +++ b/release-notes/10.0/preview/rc2/dotnetmaui.md @@ -2,7 +2,14 @@ Here's a summary of what's new in .NET MAUI in this RC 2 release: -- [Feature](#feature) +- .NET MAUI + - [Microphone permission](#microphone-permission) + - [SafeAreaEdges](#safeareaedges) + - [XAML Source Generation](#xaml-source-generation) +- [.NET for Android](#net-for-android) + - [Android API 36.1](#android-api-36.1) +- [.NET for iOS, Mac Catalyst, macOS, tvOS](#net-for-ios-mac-catalyst-macos-tvos) + - [Xcode 26](#xcode-26) ## Feature @@ -11,3 +18,60 @@ Feature summary .NET MAUI updates in .NET 10: - [What's new in .NET MAUI in .NET 10](https://learn.microsoft.com/dotnet/maui/whats-new/dotnet-10) documentation. + +## .NET MAUI + +This release has been focused on stabilizing the SDK. + +### Microphone permission + +We have added the Windows implementation for `Permissions.RequestAsync()` to request and check access permission for the device microphone. + +### SafeAreaEdges + +Support for `SafeAreaEdges` has been added to Android for supporting edge-to-edge and managing content relative to keyboard and unsafe areas of the device display. + +### XAML Source Generation + +This release includes improvements to XAML source generation with notable improvements to debug time view inflation. To enable this in your project add the following to your project file. + +```xml + + SourceGen + +``` + +## .NET for Android + +This release includes continued integration with multiple .NET runtimes, and several bug fixes. + +### Android API 36.1 + +Android API 36.1 bindings are now available thanks to the contribution and collaboration of the Uno Platform. + +### (Experimental) CoreCLR + +We continue to work on enabling Android apps to run on the CoreCLR runtime (instead of Mono). To use it, add the following to your project file for Android builds: + +```xml + + + false + +``` + +Please try this in your applications and report any issues; when filing feedback, state that you are using UseMonoRuntime=false. Expect that application size is currently larger than with Mono and that debugging and some runtime diagnostics are not fully functional yet; these areas are actively being improved. This is an experimental feature and not intended for production use. + +A detailed list of Android changes can be found on the [dotnet/android GitHub releases](https://github.com/dotnet/android/releases/). + +## .NET for iOS, Mac Catalyst, macOS, tvOS + +This release includes continued integration with multiple .NET runtimes, and several bug fixes. + +### Xcode 26 + +Xcode 26 bindings have been updated and are available now for both for targeting .NET 9 and .NET 10 RC2. This is compatible with Xcdoe 26.0 and 26.1. + +## Contributors + +Thank you contributors! ❤️ From d692e875aaa30408a27c68596128c8e89b468f05 Mon Sep 17 00:00:00 2001 From: Jon Galloway Date: Mon, 13 Oct 2025 09:54:24 +0100 Subject: [PATCH 3/4] Update release-notes/10.0/preview/rc2/dotnetmaui.md Co-authored-by: Rolf Bjarne Kvinge --- release-notes/10.0/preview/rc2/dotnetmaui.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-notes/10.0/preview/rc2/dotnetmaui.md b/release-notes/10.0/preview/rc2/dotnetmaui.md index ddd012dd26..e5afee8266 100644 --- a/release-notes/10.0/preview/rc2/dotnetmaui.md +++ b/release-notes/10.0/preview/rc2/dotnetmaui.md @@ -70,7 +70,7 @@ This release includes continued integration with multiple .NET runtimes, and sev ### Xcode 26 -Xcode 26 bindings have been updated and are available now for both for targeting .NET 9 and .NET 10 RC2. This is compatible with Xcdoe 26.0 and 26.1. +Xcode 26 bindings have been updated and are available now for both for targeting .NET 9 and .NET 10 RC2. This is compatible with Xcode 26.0 and 26.1. ## Contributors From b63109f73968a58c7b749aaac692985cbb36292d Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Mon, 13 Oct 2025 13:00:56 -0500 Subject: [PATCH 4/4] Update dotnetmaui.md with Android API 36.1 details Added details about Android API 36.1 bindings, usage instructions, and installation steps. --- release-notes/10.0/preview/rc2/dotnetmaui.md | 32 +++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/release-notes/10.0/preview/rc2/dotnetmaui.md b/release-notes/10.0/preview/rc2/dotnetmaui.md index e5afee8266..8f0cf25839 100644 --- a/release-notes/10.0/preview/rc2/dotnetmaui.md +++ b/release-notes/10.0/preview/rc2/dotnetmaui.md @@ -47,7 +47,37 @@ This release includes continued integration with multiple .NET runtimes, and sev ### Android API 36.1 -Android API 36.1 bindings are now available thanks to the contribution and collaboration of the Uno Platform. +Android API 36.1 bindings are now available thanks to the contribution and collaboration of the [Uno Platform](https://platform.uno/) team. + +To try out the new APIs, you can opt your project into the new `net10.0-android36.1` target framework: + +```xml + + + net10.0-android36.1 + true + +``` + +Note that if omitted, `net10.0-android` will default to API 36.0. `$(EnablePreviewFeatures)` will not be required in future .NET 10 releases. + +To *use* an Android 36.1-only API you can use the `OperatingSystem` class to check the Android version at runtime: + +```csharp +if (OperatingSystem.IsAndroidVersionAtLeast(36, 1)) +{ + // Call some Android 36.1 API here +} +else +{ + // Fallback for older OS versions + ShowToast("Android 36.1+ is required for this feature"); +} +``` + +For a full sample using Android 36.1 APIs, see our [Pdf Annotator sample on GitHub](https://github.com/dotnet/android-samples/tree/main/PdfAnnotator). + +To install the Android 36.1 platform, you can go to **Tools** > **Android** > **Android SDK Manager**. Under the gear icon in the bottom right, change **Repository*** to **Full List**. This allows you to install `Android SDK Platform 36.1`. ### (Experimental) CoreCLR