Skip to content

Revert "AndroidX compatibility adjustments" - #23265

Merged
agneszitte merged 1 commit into
masterfrom
revert-23097-copilot/fix-missing-method-exception
May 13, 2026
Merged

agneszitte merged 1 commit into
masterfrom
revert-23097-copilot/fix-missing-method-exception

Conversation

@agneszitte

@agneszitte agneszitte commented May 13, 2026 •

Copy link
Copy Markdown
Member

Reverts #23097
Note : Fixes for #22999 will be properly handled with #23262

Copilot AI review requested due to automatic review settings May 13, 2026 16:42
@github-actions github-actions Bot added platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform area/skia ✏️ Categorizes an issue or PR as relevant to Skia area/build Categorizes an issue or PR as relevant to build infrastructure area/automation Categorizes an issue or PR as relevant to project automation kind/documentation area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk labels May 13, 2026
@agneszitte
agneszitte requested a review from MartinZikmund May 13, 2026 16:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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, and Uno.WinUI.nuspec.
  • Revert SupportedOSPlatformVersion/minSdkVersion from 23.0 back to 21.0 (and SamplesApps to 10.0) and restore the prior AndroidUseIntermediateDesignerFile workaround in Directory.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.

@agneszitte
agneszitte merged commit 6ae4ade into master May 13, 2026
18 of 30 checks passed
@agneszitte
agneszitte deleted the revert-23097-copilot/fix-missing-method-exception branch May 13, 2026 16:46
@unodevops

Copy link
Copy Markdown
Contributor

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

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk area/skia ✏️ Categorizes an issue or PR as relevant to Skia kind/documentation platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] MissingMethodException: AccessibilityNodeInfoCompat.set_Checked with AndroidX.Core 1.17.0

3 participants