-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[android] Update to latest AndroidX packages with better Trimmable support. #5889
Conversation
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
@eerhardt This should fix most (?) of the MAUI Android size regression. If you are seeing any other untrimmed assemblies, please let me know! |
Does AndroidX pushes to maestro? couldn't we do this bumps via maestro? |
I don't know what maestro is, so I guess not. 😁 |
Context:
GPS-FB-MLKit dependencies were updated with trimmable support PR: xamarin/GooglePlayServicesComponents#597 |
AndroidX is always coming from NuGet.org, so the release pipeline that pushes those would need to send those builds to Maestro. @rmarinho is dependabot setup for dotnet/maui? That might actually be simpler for this case. |
Can we merge this? It fixes a ~1.5MB app size regression. |
Context: dotnet/android-libraries#519
Context: dotnet/android-libraries#520
The AndroidX packages that MAUI currently uses all support trimming, however some of their new dependencies did not, such as
Xamarin.Kotlin.StdLib
. This caused a size regression on Android because these new libraries were not being trimmed.AndroidX dependencies have been updated with trimming support, and new packages have been released that update the dependency tree.
This PR updates MAUI to use these new AndroidX versions.