Anjo.GoogleAndroid.Libraries.Identity.GoogleId
1.1.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Anjo.GoogleAndroid.Libraries.Identity.GoogleId --version 1.1.1
NuGet\Install-Package Anjo.GoogleAndroid.Libraries.Identity.GoogleId -Version 1.1.1
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" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Anjo.GoogleAndroid.Libraries.Identity.GoogleId, 1.1.1"
#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 // Install Anjo.GoogleAndroid.Libraries.Identity.GoogleId as a Cake Tool #tool nuget:?package=Anjo.GoogleAndroid.Libraries.Identity.GoogleId&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Anjo.GoogleAndroid.Libraries.Identity.GoogleId
GoogleAndroid Libraries Identity GoogleId SDK for .NET for Android (formerly Xamarin.Android) Binding Library - Wael Anjo
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:
- You can subscribe to the channel on the telegram Anjo Help & Feedback to learn about the latest updates to my packages on Nuget.com
SUPPORT:
- ☕ Buy me a coffee: By PayPal
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0-android33.0 is compatible. net8.0-android was computed. net8.0-android34.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0-android33.0
- No dependencies.
-
net8.0-android34.0
- Xamarin.AndroidX.Credentials (>= 1.3.0)
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