Soenneker.Maui.Firebase.Performance 4.0.247

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.247
                    
NuGet\Install-Package Soenneker.Maui.Firebase.Performance -Version 4.0.247
                    
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.247" />
                    
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.247" />
                    
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.247
                    
#r "nuget: Soenneker.Maui.Firebase.Performance, 4.0.247"
                    
#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.247
                    
#: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.247
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Maui.Firebase.Performance&version=4.0.247
                    
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
11.0.283 55 12/2/2026
11.0.282 99 12/1/2026
11.0.281 91 12/1/2026
11.0.280 131 11/19/2026
11.0.278 119 11/12/2026
11.0.277 108 11/12/2026
11.0.276 104 11/11/2026
11.0.275 113 11/11/2026
11.0.274 85 11/4/2026
11.0.273 89 11/4/2026
11.0.272 131 10/29/2026
11.0.271 112 10/28/2026
11.0.270 117 10/26/2026
11.0.269 109 10/26/2026
4.0.268 115 10/26/2026
4.0.267 110 10/21/2026
4.0.266 111 10/21/2026
4.0.265 120 10/14/2026
4.0.264 108 10/14/2026
4.0.247 115 9/24/2026
Loading failed

Remove unused dependencies and declare direct package references