KEMBAR78
[android] 20250820 net10.0 ecosystem updates by jonathanpeppers · Pull Request #31265 · dotnet/maui · GitHub
Skip to content

Conversation

jonathanpeppers
Copy link
Member

Updates to the latest AndroidX & Google Play Services packages from the dotnet/android-libraries repo.

I took this approach to clean things up:

  • Removed any extra <PackageReference/> that was needed in 6ddecf5. This should reduce pain of customers updating these packages themselves.

  • Remove any <PackageReference Update="..."/> that is not used in this repo.

  • Update all packages to latest.

  • I had to mirror one new package to dotnet-public:

error NU1101: Unable to find package Xamarin.AndroidX.Tracing.Tracing.Android

The main potential behavior changes here will be updating the Java/Kotlin AndroidX.Navigation libraries to 2.9.2.

Updates to the latest AndroidX & Google Play Services packages from
the dotnet/android-libraries repo.

I took this approach to clean things up:

* Removed any extra `<PackageReference/>` that was needed in 6ddecf5.
  This should reduce pain of customers updating these packages
  themselves.

* Remove any `<PackageReference Update="..."/>` that is not used in
  this repo.

* Update all packages to latest.

* I had to mirror one new package to `dotnet-public`:

    error NU1101: Unable to find package Xamarin.AndroidX.Tracing.Tracing.Android

The main potential behavior changes here will be updating the
Java/Kotlin AndroidX.Navigation libraries to 2.9.2.
@jonathanpeppers
Copy link
Member Author

Wow this is green first try, I would say we wait to merge this right after RC 1 is "done", so it goes in RC 2, but we can discuss.

@jonathanpeppers jonathanpeppers marked this pull request as ready for review August 21, 2025 14:19
@Copilot Copilot AI review requested due to automatic review settings August 21, 2025 14:19
@jonathanpeppers jonathanpeppers requested a review from a team as a code owner August 21, 2025 14:19
@rmarinho
Copy link
Member

/backport to release/10.0.1xx-rc1

Copy link
Contributor

@Copilot Copilot AI left a comment

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 updates AndroidX and Google Play Services packages to their latest versions as part of the .NET 10.0 ecosystem updates. The main goal is to clean up package references and ensure the MAUI framework uses the most current Android library versions.

Key changes include:

  • Removal of redundant AndroidX lifecycle package references from multiple project files
  • Version updates for all AndroidX and Google Play Services packages in the central AndroidX.targets file
  • Updated AndroidX.Navigation libraries to version 2.9.2, which may introduce behavior changes

Reviewed Changes

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

Show a summary per file
File Description
src/Core/src/Core.csproj Removed 6 redundant AndroidX lifecycle package references
src/Controls/Foldable/src/Controls.Foldable.csproj Removed 5 redundant AndroidX lifecycle package references
src/Compatibility/Maps/src/Android/Compatibility.Maps.Android.csproj Removed 5 redundant AndroidX lifecycle package references
src/Compatibility/Android.AppLinks/src/Compatibility.Android.AppLinks.csproj Removed 5 redundant AndroidX lifecycle package references
eng/AndroidX.targets Updated all package versions and removed unused package references

<PackageReference Update="Xamarin.AndroidX.Navigation.Fragment" Version="2.9.2.1" />
<PackageReference Update="Xamarin.AndroidX.Navigation.Runtime" Version="2.9.2.1" />
<PackageReference Update="Xamarin.AndroidX.Navigation.UI" Version="2.9.2.1" />
<PackageReference Update="Xamarin.AndroidX.Security.SecurityCrypto" Version="1.1.0.4-alpha07" />
Copy link

Copilot AI Aug 21, 2025

Choose a reason for hiding this comment

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

The SecurityCrypto package remains at a pre-release alpha version (1.1.0.4-alpha07) while other packages have been updated to stable releases. This could potentially introduce instability or compatibility issues. Consider updating to a stable release if available, or document why the alpha version is required.

Copilot uses AI. Check for mistakes.

Copy link
Member Author

Choose a reason for hiding this comment

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

@github-actions
Copy link
Contributor

Started backporting to release/10.0.1xx-rc1: https://github.com/dotnet/maui/actions/runs/17129704380

@rmarinho rmarinho merged commit 136e6c7 into net10.0 Aug 21, 2025
148 checks passed
@rmarinho rmarinho deleted the dev/peppers/android-20250820 branch August 21, 2025 14:21
@github-actions github-actions bot locked and limited conversation to collaborators Sep 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants