Getting build warnings when building for C# Maui with pdftron

Product: PDFTron.Android and PDFTron.Android.Tools

Product Version: 11.1.0

Please give a brief summary of your issue:
When building for Maui I am receiving a build warning.

Please describe your issue and provide steps to reproduce it:
When building for Android and including those nugets I am receiving the following warning:
/usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.85/tools/Xamarin.Android.Common.targets(513,3): warning XA1039: The Android Support libraries are not supported in .NET 9 and later, please migrate to AndroidX. See https://aka.ms/xamarin/androidx for more details.

Please provide a link to a minimal sample where the issue is reproducible:
Build for Maui Android while including these nugets.

1 Like

Thank you for reaching out to the Support Team. Please find a development snapshot build here (Not for release):

https://nightly-pdftron-uploads.s3-us-west-1.amazonaws.com/experimental/2024-12-05/PDFNetXamarin.Android_2024-12-05_experimental.zip

This works well for us in a MAUI environment. No more Android support library dependencies.

Could you please give it a try and let us know if it works on your end?

1 Like

I added this to my sample project and it is great! No more warnings !

1 Like

@ktoro do you have a release date planned for this?

1 Like

It is slated for a January 2025 release.

1 Like