-
Notifications
You must be signed in to change notification settings - Fork 50
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
INFO: How to use Play Integrity in .NET MAUI with .NET 9.0 #1054
Comments
As https://github.com/xamarin/GooglePlayServicesComponents?tab=readme-ov-file#deprecated-repository says, no GooglePlayServicesComponents libraries have been deprecated. They are the exact same packages just shipped out of this repository instead of the old one. |
The Update process from .NET 8.0 to .NET 9.0 of my .NET MAUI App removes the following NuGet libraries: that is the "GooglePlayServicesComponents" with its external dependencies, used to be able to compile in .NET 8.0. The "android-libraries" has no NuGet package. This repository binds over 600 Android libraries that are published to NuGet.org. The full package list can be found in config.json. But I can't figure out which one to use. Thanks. |
Any hint on this ? |
Use the exact same packages you were using for .NET 8. The packages have not changed. You will need to restrict them to only using the "android" <ItemGroup Condition="$(TargetFramework.Contains('-android'))">
<PackageReference Include="Xamarin.Google.Android.Play.Integrity" Version="1.3.0.3" />
</ItemGroup> |
Android framework version
net9.0-android
Affected platform version
Visual Studio 2022 ver. 17.12.1 | .NET 9.0.100
Description
I have a .NET MAUI with .NET 8.0 project and I use Play Integrity with the following references:
xamarin/GooglePlayServicesComponents#881
If I convert the .NET MAUI project from .NET 8.0 to .NET 9.0, these references are not valid anymore and the GooglePlayServicesComponents library has been deprecated.
https://github.com/xamarin/GooglePlayServicesComponents
So the question is: how do I reference the new android-libraries in a .NET MAUI project with .NET 9.0, to be able to use Play Integrity?
Thanks.
Relevant log output
The text was updated successfully, but these errors were encountered: