Anjo.GoogleAndroid.Libraries.Identity.GoogleId 1.1.1.3

dotnet add package Anjo.GoogleAndroid.Libraries.Identity.GoogleId --version 1.1.1.3                
NuGet\Install-Package Anjo.GoogleAndroid.Libraries.Identity.GoogleId -Version 1.1.1.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Anjo.GoogleAndroid.Libraries.Identity.GoogleId" Version="1.1.1.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Anjo.GoogleAndroid.Libraries.Identity.GoogleId --version 1.1.1.3                
#r "nuget: Anjo.GoogleAndroid.Libraries.Identity.GoogleId, 1.1.1.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Anjo.GoogleAndroid.Libraries.Identity.GoogleId as a Cake Addin
#addin nuget:?package=Anjo.GoogleAndroid.Libraries.Identity.GoogleId&version=1.1.1.3

// Install Anjo.GoogleAndroid.Libraries.Identity.GoogleId as a Cake Tool
#tool nuget:?package=Anjo.GoogleAndroid.Libraries.Identity.GoogleId&version=1.1.1.3                

Anjo.GoogleAndroid.Libraries.Identity.GoogleId

GoogleAndroid Libraries Identity GoogleId SDK for .NET for Android (formerly Xamarin.Android) Binding Library - Wael Anjo

NuGet License


How To Use

private string ClientId = "";
private ICredentialManagerCallback Callback;

GetGoogleIdOption googleIdOption = new GetGoogleIdOption.Builder()
    .SetFilterByAuthorizedAccounts(false)
    .SetServerClientId(ClientId)
    .SetAutoSelectEnabled(false)
    .Build();

GetCredentialRequest request = new GetCredentialRequest.Builder()
    .AddCredentialOption(googleIdOption)
    .Build();

CancellationSignal cancellationSignal = new CancellationSignal();
CredentialManager ??= ICredentialManager.Create(context);
IExecutor executor = ContextCompat.GetMainExecutor(context);

CredentialManager.GetCredentialAsync(context, request, cancellationSignal, executor, Callback);

Star on Github if this project helps you: https://github.com/mhdwaelanjo/Anjo.GoogleAndroid.Libraries.Identity.GoogleId


Help & Feedback:

SUPPORT:

Product Compatible and additional computed target framework versions.
.NET net8.0-android34.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

"com.google.android.libraries.identity.googleid" SDK v1.1.1