Plugin.Firebase.Analytics 4.0.0

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

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

Showing the top 20 packages that depend on Plugin.Firebase.Analytics.

Packages 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.
2

.NET 9.0

.NET 9.0

.NET 9.0

Version Downloads Last updated
4.0.0 1 2026-05-12
3.1.2 0 2025-03-28
3.1.1 0 2025-01-16
3.1.0 0 2024-11-09
3.0.0 0 2024-05-29
2.0.2 0 2023-11-20
2.0.1 0 2023-03-31
2.0.0 0 2023-03-26