Skip to content

Commit ea963cd

Browse files
jamesmontemagnodavidortinaujonathanpeppers
authored
.NET 10 P6 - .NET MAUI (#9944)
* Add period to last sentence in dotnetmaui preview6 release notes. * Update dotnetmaui.md * adding more details for android * minor updates to iOS note * Update release-notes/10.0/preview/preview6/dotnetmaui.md Co-authored-by: Jonathan Peppers <[email protected]> * Update release-notes/10.0/preview/preview6/dotnetmaui.md Co-authored-by: Jonathan Peppers <[email protected]> * Update release-notes/10.0/preview/preview6/dotnetmaui.md Co-authored-by: Jonathan Peppers <[email protected]> * added contributors from android and iOS repos --------- Co-authored-by: David Ortinau <[email protected]> Co-authored-by: Jonathan Peppers <[email protected]>
1 parent 2025cd2 commit ea963cd

File tree

1 file changed

+63
-5
lines changed

1 file changed

+63
-5
lines changed

release-notes/10.0/preview/preview6/dotnetmaui.md

Lines changed: 63 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,80 @@
33
Here's a summary of what's new in .NET MAUI, .NET for Android, and .NET for iOS, Mac Catalyst, macOS, and tvOS in this preview release:
44

55
- .NET MAUI
6-
- [Feature](#feature)
6+
- [MediaPicker Enhancements](#mediapicker-enhancements)
7+
- [WebView Request Interception](#webview-request-interception)
8+
- [Control and Layout Fixes](#control-and-layout-fixes)
79
- [.NET for Android](#net-for-android)
810
- [.NET for iOS, Mac Catalyst, macOS, tvOS](#net-for-ios-mac-catalyst-macos-tvos)
911

1012
.NET MAUI updates in .NET 10:
1113

1214
- [What's new in .NET MAUI in .NET 10](https://learn.microsoft.com/dotnet/maui/whats-new/dotnet-10) documentation.
1315

14-
## Feature
16+
## MediaPicker Enhancements
1517

16-
Something about the feature
18+
The `MediaPicker` has been extended with support for selecting multiple files and compressing images directly from the API using `MaximumWidth` and `MaximumHeight` parameters.
19+
20+
```csharp
21+
var result = await MediaPicker.PickMultipleAsync(new MediaPickerOptions
22+
{
23+
MaximumWidth = 1024,
24+
MaximumHeight = 768
25+
});
26+
```
27+
28+
## WebView Request Interception
29+
30+
You can now intercept and respond to web requests made from `BlazorWebView` and `HybridWebView`. This allows for scenarios such as modifying headers, redirecting requests, or supplying local responses.
31+
32+
```csharp
33+
webView.WebResourceRequested += (s, e) =>
34+
{
35+
if (e.Uri.ToString().Contains("api/secure"))
36+
{
37+
e.Handled = true;
38+
e.SetResponse(200, "OK", "application/json", GetCustomStream());
39+
}
40+
};
41+
```
42+
43+
## Control and Layout Fixes
44+
45+
This release includes numerous fixes and improvements to controls and layout behavior:
46+
47+
- `CollectionView`, `CarouselView`, and `SearchBar` now behave more reliably across platforms, with improvements to selection updates, placeholder color updates, and memory management.
48+
- A memory leak in `CarouselViewHandler2` on iOS has been resolved.
49+
- Image resizing and layout adjustments are more accurate and efficient.
50+
- The `Switch` control now uses the native default "on" color when `OnColor` is not set.
51+
- Platform-specific bug fixes on Windows, Android, and iOS improve rendering, gestures, and accessibility behavior.
1752

1853
## .NET for Android
1954

20-
This release was focused on quality improvements. A detailed list can be found on [dotnet/android GitHub releases](https://github.com/dotnet/android/releases/).
55+
This release includes support for **Android API levels 35 and 36**, along with enhancements to interop performance, binary size reduction, and diagnostics:
56+
57+
- Updated to Android API 36 revision 2.\
58+
[PR #10168](https://github.com/dotnet/android/pull/10168)
59+
- JNI interop improvements:
60+
- JNI handles are now wrapped in a control block for GC support in new runtimes.\
61+
[PR #10179](https://github.com/dotnet/android/pull/10179)
62+
- Caching of JNI-to-managed type mappings to enhance performance.\
63+
[PR #10170](https://github.com/dotnet/android/pull/10170)
64+
- Improved handling of foreign library p/invokes.\
65+
[PR #10165](https://github.com/dotnet/android/pull/10165)
66+
- Diagnostics and profiling improvements:
67+
- Introduced `$(EnableDiagnostics)` MSBuild property (aka `$(AndroidEnableProfiler)`) to align with iOS and wasm.\
68+
[PR #10166](https://github.com/dotnet/android/pull/10166)
69+
- New tests added using `Plugin.Maui.Audio` to validate plugin behavior.\
70+
[PR #10219](https://github.com/dotnet/android/pull/10219)
71+
72+
A detailed list can be found on the [dotnet/android GitHub releases](https://github.com/dotnet/android/releases/).
2173

2274
## .NET for iOS, Mac Catalyst, macOS, tvOS
2375

24-
This release was focused on quality improvements. A detailed list can be found on [dotnet/macios GitHub releases](https://github.com/dotnet/macios/releases/) including a list of [Known issues](https://github.com/dotnet/macios/wiki/Known-issues-in-.NET10).
76+
This release includes updates to Apple platform SDKs aligned with Xcode 16.4 and introduces improvements to binding generation, build reliability, and runtime behavior. A detailed list can be found on the [dotnet/macios GitHub releases](https://github.com/dotnet/macios/releases/) including a list of [Known issues](https://github.com/dotnet/macios/wiki/Known-issues-in-.NET10).
77+
78+
## Contributors
79+
80+
Thank you contributors! ❤️
81+
82+
[@Ahamed-Ali](https://github.com/Ahamed-Ali), [@albyrock87](https://github.com/albyrock87), [@anandhan-rajagopal](https://github.com/anandhan-rajagopal), [@bhavanesh2001](https://github.com/bhavanesh2001), [@copilot-swe-agent](https://github.com/copilot-swe-agent), [@HarishKumarSF4517](https://github.com/HarishKumarSF4517), [@jfversluis](https://github.com/jfversluis), [@jonathanpeppers](https://github.com/jonathanpeppers), [@jsuarezruiz](https://github.com/jsuarezruiz), [@kubaflo](https://github.com/kubaflo), [@mattleibow](https://github.com/mattleibow), [@noopsRus](https://github.com/noopsRus), [@PureWeen](https://github.com/PureWeen), [@rmarinho](https://github.com/rmarinho), [@simonrozsival](https://github.com/simonrozsival), [@StephaneDelcroix](https://github.com/StephaneDelcroix), [@SubhikshaSf4851](https://github.com/SubhikshaSf4851), [@SyedAbdulAzeemSF4852](https://github.com/SyedAbdulAzeemSF4852), [@Tamilarasan-Paranthaman](https://github.com/Tamilarasan-Paranthaman), [@TamilarasanSF4853](https://github.com/TamilarasanSF4853), [@dalexsoto](https://github.com/dalexsoto), [@rolfbjarne](https://github.com/rolfbjarne), [@mandel-macaque](https://github.com/mandel-macaque), [@mcumming](https://github.com/mcumming), [@jonpryor](https://github.com/jonpryor), [@grendello](https://github.com/grendello),

0 commit comments

Comments
 (0)