Soenneker.Maui.Firebase.Performance 4.0.233

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Maui.Firebase.Performance --version 4.0.233
                    
NuGet\Install-Package Soenneker.Maui.Firebase.Performance -Version 4.0.233
                    
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="Soenneker.Maui.Firebase.Performance" Version="4.0.233" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Maui.Firebase.Performance" Version="4.0.233" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Maui.Firebase.Performance" />
                    
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 Soenneker.Maui.Firebase.Performance --version 4.0.233
                    
#r "nuget: Soenneker.Maui.Firebase.Performance, 4.0.233"
                    
#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 Soenneker.Maui.Firebase.Performance@4.0.233
                    
#: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=Soenneker.Maui.Firebase.Performance&version=4.0.233
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Maui.Firebase.Performance&version=4.0.233
                    
Install as a Cake Tool

Soenneker.Maui.Firebase.Performance

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Provides Android and iOS services for custom Firebase Performance Monitoring traces in a .NET MAUI app.

Installation

dotnet add package Soenneker.Maui.Firebase.Performance

Configure the native Firebase app first, including the platform's google-services.json or GoogleService-Info.plist.

Registration

Enable collection through the Firebase builder and register the trace service:

using Soenneker.Maui.Firebase.Dtos;
using Soenneker.Maui.Firebase.Performance.Registrars;
using Soenneker.Maui.Firebase.Registrars;

builder.UseFirebase(new FirebaseConfig())
       .EnableFirebasePerformance(collectionEnabled: userAllowsPerformanceMonitoring)
       .Build();

builder.Services.AddFirebasePerformanceServiceAsSingleton();

The service is registered only for Android and iOS targets. Collection can also be changed later with SetPerformanceMonitoringEnabled.

Measure an operation

Measure always stops and disposes its trace, including when the operation fails:

await performance.Measure("load_catalog", async () =>
{
    await catalog.Load();
});

Manage a trace

Dispose manually-created traces. Disposal stops the trace and releases its native handle:

using IFirebasePerformanceTrace trace = performance.StartTrace("sync_orders");

trace.SetAttribute("source", "background");
trace.LogMetric("orders", orderCount);

await orders.Sync();

Import Soenneker.Maui.Firebase.Performance.Abstract for the service and trace interfaces.

LogMetric(name, value) on the service creates a short-lived trace with the same trace and metric name. Use StartTrace when multiple metrics or attributes belong to one operation. Trace names, metric names, values, and attributes remain subject to Firebase's naming and quota limits.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-android36.0 is compatible.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-ios26.0 is compatible.  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.

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
4.0.234 0 9/1/2026
4.0.233 48 8/30/2026
4.0.232 48 8/30/2026
4.0.231 48 8/29/2026
4.0.230 47 8/29/2026
4.0.229 48 8/29/2026
4.0.228 49 8/29/2026
4.0.227 74 8/25/2026
4.0.225 87 8/20/2026
4.0.224 92 8/20/2026
4.0.223 101 7/29/2026
4.0.222 98 7/29/2026
4.0.221 92 7/29/2026
4.0.220 113 7/28/2026
4.0.219 101 7/27/2026
4.0.218 98 7/27/2026
4.0.217 103 7/23/2026
4.0.216 117 7/22/2026
4.0.215 99 7/18/2026
4.0.212 116 7/11/2026
Loading failed

Update dependency Soenneker.Maui.Firebase to 4.0.191 (#733)