Skip to content

feat(sdk): add version override support for AndroidX Leanback, CarApp, Wear, WearTiles - #23181

Merged
agneszitte merged 1 commit into
masterfrom
dev/agzi/add-androidx-tv-auto-wear-version-overrides
May 2, 2026
Merged

agneszitte merged 1 commit into
masterfrom
dev/agzi/add-androidx-tv-auto-wear-version-overrides

Conversation

@agneszitte

@agneszitte agneszitte commented May 2, 2026 •

Copy link
Copy Markdown
Member

Related to https://github.com/unoplatform/uno-private/issues/1126.
Related to https://github.com/unoplatform/uno-private/issues/1327.
Related to https://github.com/unoplatform/uno-private/issues/1328.

Related to PR: unoplatform/uno.templates#2087
And as a follow-up of PR #23157 and #23175

Summary

Adds MSBuild version override properties for the 4 new AndroidX package groups introduced in uno.templates PR unoplatform/uno.templates#2087 (Android TV, Auto, and Wear OS support).

What

Wires up AndroidXLeanbackVersion, AndroidXCarAppVersion, AndroidXWearVersion, and AndroidXWearTilesVersion MSBuild properties so users can override the default versions of these packages, matching the pattern already established for the 9 existing AndroidX groups.

Why

The packages.json entries for these groups were added previously, but the MSBuild plumbing that allows user version overrides was missing. Without this, setting e.g. <AndroidXLeanbackVersion>1.2.0</AndroidXLeanbackVersion> in a project file had no effect.

Changes

  • PackageManifest.cs — 4 new Group constants
  • ImplicitPackagesResolver.cs — 4 new string? properties + 4 .UpdateManifest() calls
  • Uno.Implicit.Packages.targets — 4 new MSBuild task parameter attributes
  • using-the-uno-sdk.md — 4 new documentation table rows
  • Sdk.props.buildschema.json — 4 new IntelliSense schema entries

Copilot AI review requested due to automatic review settings May 2, 2026 13:46

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

Adds missing MSBuild “version override” plumbing for newly introduced AndroidX package groups in Uno.Sdk, aligning them with the existing override pattern used by other AndroidX groups.

Changes:

  • Introduces 4 new PackageManifest.Group constants for AndroidX Leanback, CarApp, Wear, and WearTiles.
  • Wires 4 new MSBuild task parameters into ImplicitPackagesResolver_v0 and applies them via UpdateManifest(...).
  • Passes the 4 new MSBuild properties through Uno.Implicit.Packages.targets into the resolver task invocation.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/Uno.Sdk/targets/Uno.Implicit.Packages.targets Passes new AndroidX*Version MSBuild properties into the implicit packages resolver task.
src/Uno.Sdk/Tasks/ImplicitPackagesResolver.cs Adds corresponding task properties and applies them to the manifest via UpdateManifest calls.
src/Uno.Sdk/Services/PackageManifest.cs Adds new manifest group name constants for the new AndroidX groups.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@agneszitte
agneszitte force-pushed the dev/agzi/add-androidx-tv-auto-wear-version-overrides branch from e783007 to 39a5697 Compare May 2, 2026 13:58
@unodevops

Copy link
Copy Markdown
Contributor

@ajpinedam ajpinedam 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.

Looks good.

@agneszitte
agneszitte merged commit 6916f50 into master May 2, 2026
65 checks passed
@agneszitte
agneszitte deleted the dev/agzi/add-androidx-tv-auto-wear-version-overrides branch May 2, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants