You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Align AndroidX and Material binding versions across Android TFMs and the Uno.Sdk manifest #24535
Align the AndroidX and Material binding versions that core builds against across net10.0-android and net11.0-android, and with the Uno.Sdk package manifest (src/Uno.Sdk/packages.json).
Today the pins are split per TFM and have drifted apart:
src/Directory.Build.targets pins AppCompat, Core.SplashScreen, DocumentFile, RecyclerView and others in two TFM-conditional blocks, and the net10.0-android block lags net11.0-android (for example AppCompat 1.7.0.7 vs 1.7.1.4).
Project files pin some bindings inline, with different values per TFM: Xamarin.AndroidX.Browser in Uno.WinRT, Xamarin.AndroidX.Window.WindowJava in Uno.UI.Foldable, Xamarin.Google.Android.Play.Core in Uno.UI.GooglePlay.
The Uno.Sdk manifest ships its own base and net11.0 override versions for the same groups.
Expected: every Android TFM uses one set of binding versions, those versions are pinned in one central place, and the Uno.Sdk manifest matches what core builds against.
Why is this needed? 🤔
When core builds against older bindings than the ones the Uno.Sdk manifest gives apps, core gets validated against a different dependency graph than the one customers resolve at runtime. Once core declares a higher floor (for example AppCompat >= 1.8.0), an app that gets an older implicit reference from the manifest fails restore with NU1605 (package downgrade).
Renderer 🎨
Skia
Native
For which platforms 📱💻🖥️
Android
Anything else we need to know? 💬
Java/AndroidX misalignment usually shows up at Android build or run time rather than at restore, so the Android CI legs need to validate the change.
Activity