Plugin.Firebase.Analytics
4.0.0
dotnet add package Plugin.Firebase.Analytics --version 4.0.0
NuGet\Install-Package Plugin.Firebase.Analytics -Version 4.0.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="Plugin.Firebase.Analytics" Version="4.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Plugin.Firebase.Analytics" Version="4.0.0" />Directory.Packages.props
<PackageReference Include="Plugin.Firebase.Analytics" />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 Plugin.Firebase.Analytics --version 4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Plugin.Firebase.Analytics, 4.0.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 Plugin.Firebase.Analytics@4.0.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=Plugin.Firebase.Analytics&version=4.0.0Install as a Cake Addin
#tool nuget:?package=Plugin.Firebase.Analytics&version=4.0.0Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Analyticss
Firebase Analytics collects usage and behavior data for your app. The SDK logs two primary types of information:
- Events: What is happening in your app, such as user actions, system events, or errors
- User properties: Attributes you define to describe segments of your userbase, such as language preference or geographic location
Installation
Nuget
Install-Package Plugin.Firebase.Analytics
Setup
- Follow the instructions for the basic setup
- Add the following lines of code after calling
CrossFirebase.Initialize():
#if ANDROID
FirebaseAnalyticsImplementation.Initialize(activity);
#endif
Usage
Take a look at the documentation for the AdamE.Firebase.iOS.Analytics packages, because Plugin.Firebase's code is abstracted but still very similar.
Since code should be documenting itself you can also take a look at the following classes:
Release notes
- Version 3.1.2
- Add collections support for Analytics (PR #432)
- Version 3.1.1
- Using AdamE.Firebase.iOS.* minimum version 11
- Version 3.1.0
- Update to .net8
- Version 3.0.0
- Swapped Xamarin.Firebase.iOS.Analytics (native SDK 8.10.0) for AdamE.Firebase.iOS.Analytics (native SDK 10.24.0)
- Version 2.0.2
- Update Xamarin.Firebase.Analytics to fix issue #172
- Version 2.0.1
- Remove unnecessary UseMaui property from csproj files
- Readd net6.0 tfm
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- Plugin.Firebase.Core (>= 4.0.0)
-
net9.0-android35.0
- Plugin.Firebase.Core (>= 4.0.0)
- Xamarin.Firebase.Analytics (>= 122.0.2.1)
-
net9.0-ios18.0
- AdamE.Firebase.iOS.Analytics (>= 12.5.0.4)
- Plugin.Firebase.Core (>= 4.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Plugin.Firebase.Analytics:
| Package | Downloads |
|---|---|
|
Plugin.Firebase
The plugin includes cross-platform APIs for Firebase Analytics, Auth, Cloud Messaging, Crashlytics, Dynamic Links, Firestore, Cloud Functions, Remote Config and Storage. |
GitHub repositories
This package is not used by any popular GitHub repositories.