Kapusch.Facebook.Android 1.2.0

Prefix Reserved
dotnet add package Kapusch.Facebook.Android --version 1.2.0
                    
NuGet\Install-Package Kapusch.Facebook.Android -Version 1.2.0
                    
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="Kapusch.Facebook.Android" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kapusch.Facebook.Android" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Kapusch.Facebook.Android" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Kapusch.Facebook.Android --version 1.2.0
                    
#r "nuget: Kapusch.Facebook.Android, 1.2.0"
                    
#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.
#:package Kapusch.Facebook.Android@1.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Kapusch.Facebook.Android&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Kapusch.Facebook.Android&version=1.2.0
                    
Install as a Cake Tool

Kapusch.Facebook.Android

This package embeds a small Android interop AAR and the required Facebook Android SDK AARs (19.0.0), and injects them into consuming apps via buildTransitive MSBuild.

Set KapuschFacebookFeatures to any combination of Login (default), Share and AppEvents, for example Login;AppEvents.

AppEvents exposes FacebookAppEvents (SDK initialization, consent switches, ActivateApp, LogEvent, LogPurchase, LogStartTrial, LogSubscribe, LogCompleteRegistration, anonymous ID, user ID and hashed user data) plus FacebookAppEventNames and FacebookAppEventParameterNames constants. The App Events names match the Kapusch.Facebook.iOS package, so shared code compiles on both platforms.

Notes

  • No secrets are included.
  • You must configure your AndroidManifest / resources as required by the Facebook Android SDK.
  • The SDK collects automatically by default. To gate App Events on consent, set com.facebook.sdk.AutoInitEnabled, AutoLogAppEventsEnabled, AdvertiserIDCollectionEnabled, AutoLogMetaDataEnabled and AutoLogProductImprovementEnabled to false in the manifest and enable them at runtime. See the repository's Docs/Integration.md.
  • With AppEvents, add Xamarin.Google.Android.InstallReferrer so Meta can read the Play install referrer (warning KFBA001 otherwise).
  • Do not log trial, subscription or purchase events from the app when a server already sends them to Meta, and turn automatic purchase logging off in that case.
  • Photo sharing reports native and web ShareDialog availability through a stable share_dialog_unavailable_native_<0|1>_web_<0|1> error code when the SDK cannot open a supported composer.
Product Compatible and additional computed target framework versions.
.NET net10.0-android36.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-android36.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.0 118 10/31/2026
1.2.0-rc.1 67 10/26/2026
1.1.0 135 8/2/2026
1.1.0-rc.3 77 7/28/2026
1.1.0-rc.2 89 7/15/2026
1.0.0-rc.1 159 3/4/2026