Skip to content

fix(sdk): Align AndroidX.Wear pins (unoplatform/uno#23991) - #2206

Merged
kazo0 merged 1 commit into
mainfrom
dev/anpi/wear-androidx-pins
Aug 11, 2026
Merged

kazo0 merged 1 commit into
mainfrom
dev/anpi/wear-androidx-pins

Conversation

@ajpinedam

Copy link
Copy Markdown
Contributor

GitHub Issue (If applicable): unoplatform/uno#23991

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

dotnet new unoapp with the Wear OS feature enabled still fails restore on net10.0-android with 3× NU1605 (AndroidX package downgrades), even though unoplatform/uno#23993 fixed the pins.

The fix did land in Uno.Sdk.Private (verified in 6.8.0-dev.6: AndroidXWear 1.3.0.14 / net10 override 1.3.0.15), but the published Uno.Sdk packs this repo's local src/Uno.Sdk/packages.json over the Private manifest, and the Uno.Sdk.Updater never refreshes Xamarin.* groups (UpdateGroup skips them to avoid Java misalignment, and on dev versions MergeLocalOverridesOnly keeps the local manifest as baseline). As a result Uno.Sdk 6.8.0-dev.7 still ships the stale AndroidXWear 1.3.0.16 / net10 1.4.0.1 pin: Wear 1.4.0.1 floors RecyclerView/SwipeRefreshLayout/Fragment above the rest of the pin set, producing the NU1605 trio. (The other half of the fix — the Wear minSdk 26 default in Uno.Common.Android.targets — flows through the Private package repack and did ship.)

What is the new behavior?

AndroidXWear is down-pinned to the wave-coherent set validated in unoplatform/uno#23993: 1.3.0.14 (base) / 1.3.0.15 (net10.0), matching Uno.Sdk.Private. Wear template apps restore cleanly on net9/net10, plain Android apps unaffected (all other AndroidX pins already match the uno repo manifest).

PR Checklist

Please check if your PR fulfills the following requirements:

  • Associated with an issue (GitHub or internal)

Other information

Because the updater intentionally skips Xamarin.* groups, AndroidX pin changes made in unoplatform/uno's packages.json do not propagate here automatically — they need to be mirrored manually (as this PR does).

🤖 Generated with Claude Code

@kazo0

kazo0 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

@Mergifyio backport release/stable/6.7

@kazo0
kazo0 enabled auto-merge (rebase) August 11, 2026 17:51
@mergify

mergify Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

backport release/stable/6.7

✅ Backports have been created

Details

@kazo0
kazo0 merged commit 4c2453c into main Aug 11, 2026
242 of 246 checks passed
@kazo0
kazo0 deleted the dev/anpi/wear-androidx-pins branch August 11, 2026 18:34
This was referenced Nov 11, 2026
This was referenced Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants