Repository navigation
Revert "AndroidX compatibility adjustments" - #23265
Conversation
There was a problem hiding this comment.
Pull request overview
This PR reverts the previous AndroidX compatibility adjustments (PR #23097), restoring the prior AndroidX package versions, the lower Android SupportedOSPlatformVersion/minSdkVersion targets, and the original Resource.designer.cs workaround. It also reverts the accessibility node code path that handled tri-state checked values and nullable nodes.
Changes:
- Revert AndroidX package version bumps (AppCompat, Activity, Lifecycle.LiveData, Play.Core) in
packages.json,Directory.Build.targets, andUno.WinUI.nuspec. - Revert
SupportedOSPlatformVersion/minSdkVersionfrom 23.0 back to 21.0 (and SamplesApps to 10.0) and restore the priorAndroidUseIntermediateDesignerFileworkaround inDirectory.Build.targets. - Revert accessibility helper to non-nullable node parameter and boolean
Checked(drops tri-state support).
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Uno.UI.Runtime.Skia.Android/Accessibility/UnoExploreByTouchHelper.cs | Restores boolean Checked and removes nullable node guard / SetLabeledBy pragma. |
| src/Uno.Sdk/targets/Uno.Common.Android.targets | Reverts default SupportedOSPlatformVersion to 21.0. |
| src/Uno.Sdk/packages.json | Reverts AndroidX AppCompat and Activity versions. |
| src/Uno.CrossTargetting.targets | Reverts Android SupportedOSPlatformVersion to 21.0. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/SamplesApp.Skia.netcoremobile.csproj | Reverts SupportedOSPlatformVersion to 10.0. |
| src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/AndroidManifest.xml | Reverts minSdkVersion to 21. |
| src/SamplesApp/SamplesApp.netcoremobile/SamplesApp.netcoremobile.csproj | Reverts SupportedOSPlatformVersion to 10.0. |
| src/SamplesApp/SamplesApp.netcoremobile/Android/AndroidManifest.xml | Reverts minSdkVersion to 21. |
| src/Directory.Build.targets | Restores AndroidUseIntermediateDesignerFile workaround and reverts AndroidX package versions. |
| src/AddIns/Uno.UI.GooglePlay/Uno.UI.GooglePlay.netcoremobile.csproj | Reverts Play.Core version to 1.10.3.18. |
| doc/articles/uno-development/building-uno-ui.md | Reverts doc to reference AndroidUseIntermediateDesignerFile. |
| build/nuget/Uno.WinUI.nuspec | Reverts AndroidX AppCompat/Activity dependency versions in nuspec. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23265/wasm-skia-net9/index.html |
Reverts #23097
Note : Fixes for #22999 will be properly handled with #23262