Soenneker.Maui.Firebase.Performance
4.0.233
Prefix Reserved
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
<PackageReference Include="Soenneker.Maui.Firebase.Performance" Version="4.0.233" />
<PackageVersion Include="Soenneker.Maui.Firebase.Performance" Version="4.0.233" />
<PackageReference Include="Soenneker.Maui.Firebase.Performance" />
paket add Soenneker.Maui.Firebase.Performance --version 4.0.233
#r "nuget: Soenneker.Maui.Firebase.Performance, 4.0.233"
#:package Soenneker.Maui.Firebase.Performance@4.0.233
#addin nuget:?package=Soenneker.Maui.Firebase.Performance&version=4.0.233
#tool nuget:?package=Soenneker.Maui.Firebase.Performance&version=4.0.233
Soenneker.Maui.Firebase.Performance
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 | Versions 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. |
-
net10.0
- Microsoft.Maui.Controls (>= 10.0.100)
- Soenneker.Maui.Firebase (>= 4.0.191)
-
net10.0-android36.0
- Microsoft.Maui.Controls (>= 10.0.100)
- Soenneker.Maui.Firebase (>= 4.0.191)
- Xamarin.AndroidX.Fragment.Ktx (>= 1.8.9.4)
- Xamarin.AndroidX.Lifecycle.LiveData (>= 2.11.0.1)
- Xamarin.AndroidX.Lifecycle.Process (>= 2.11.0.1)
- Xamarin.AndroidX.Lifecycle.Runtime.Ktx (>= 2.11.0.1)
- Xamarin.AndroidX.Lifecycle.ViewModel.Ktx (>= 2.11.0.1)
- Xamarin.AndroidX.SavedState.SavedState.Ktx (>= 1.5.0.1)
- Xamarin.Firebase.Perf (>= 122.0.6)
-
net10.0-ios26.0
- Microsoft.Maui.Controls (>= 10.0.100)
- Soenneker.Maui.Firebase (>= 4.0.191)
- Xamarin.Firebase.iOS.PerformanceMonitoring (>= 8.10.0.3)
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 |
Update dependency Soenneker.Maui.Firebase to 4.0.191 (#733)