EnvelopeFlow.Providers.Push.Firebase 0.1.0-alpha.3.1

This is a prerelease version of EnvelopeFlow.Providers.Push.Firebase.
dotnet add package EnvelopeFlow.Providers.Push.Firebase --version 0.1.0-alpha.3.1
                    
NuGet\Install-Package EnvelopeFlow.Providers.Push.Firebase -Version 0.1.0-alpha.3.1
                    
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="EnvelopeFlow.Providers.Push.Firebase" Version="0.1.0-alpha.3.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EnvelopeFlow.Providers.Push.Firebase" Version="0.1.0-alpha.3.1" />
                    
Directory.Packages.props
<PackageReference Include="EnvelopeFlow.Providers.Push.Firebase" />
                    
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 EnvelopeFlow.Providers.Push.Firebase --version 0.1.0-alpha.3.1
                    
#r "nuget: EnvelopeFlow.Providers.Push.Firebase, 0.1.0-alpha.3.1"
                    
#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 EnvelopeFlow.Providers.Push.Firebase@0.1.0-alpha.3.1
                    
#: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=EnvelopeFlow.Providers.Push.Firebase&version=0.1.0-alpha.3.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=EnvelopeFlow.Providers.Push.Firebase&version=0.1.0-alpha.3.1&prerelease
                    
Install as a Cake Tool

EnvelopeFlow.Providers.Push.Firebase

Firebase Cloud Messaging HTTP v1 push transport. Credentials are resolved from the complete trusted scope. One send attempt; application-owned retries and storage. See docs/push.md for setup and validation boundaries.

Registration tokens require well-formed Unicode before durable admission or direct submission. Malformed UTF-16 fails before credential lookup or HTTP, preserving the exact opaque token rather than substituting its contents. This validation does not establish that an otherwise well-formed token was issued by Firebase.

IGuardedPushTransport runs the final live check after credential lookup and before HTTP. OAuth expiry and absolute Apple lifetime are evaluated again afterward, so an awaited check cannot silently consume those time bounds. The binding wrapper and durable bridge require this capability.

Automatic-retry advice includes a ten-second minimum for safely retryable service errors and at least one minute for throttles; longer provider floors remain authoritative. The optional durable dispatcher grows backoff from that minimum with upward jitter. This adapter emits notification envelopes and has no explicit data-only mode. Android notification messages ignore collapse_key; serialized fields do not promise custom collapse behavior. Firebase retry guidance, collapse behavior.

Apple absolute expiry is computed after credential resolution, preserving the requested lifetime through a slow OAuth refresh. Zero TTL remains immediate-only. Diagnostic-body I/O failures, cancellation or timeouts after a 404 response preserve the definite rejection and retain the registration unless complete UNREGISTERED evidence was read. Failures before response headers remain uncertain. Firebase message lifespan, error codes.

Set PushSendRequest.Firebase to immutable FirebasePushOptions for rich presentation. With no options the original envelope is unchanged. Common images use notification.image; Android overrides use android.notification.image, channel_id and click_action; Apple overrides use apns.fcm_options.image with aps.mutable-content=1; browser overrides use webpush.notification.image and webpush.fcm_options.link. Platform image overrides take precedence over the common image on that platform.

var request = new PushSendRequest(trustedTarget, new PushMessage("Update", "Your report is ready"))
{
    Firebase = new FirebasePushOptions(imageUrl: "https://assets.example/report.png",
        android: new FirebaseAndroidOptions(channelId: "reports", clickAction: "OPEN_REPORT"),
        web: new FirebaseWebOptions(link: "https://app.example/reports"))
};

Presentation URLs require HTTPS, no embedded credentials/whitespace/controls, and at most 2048 UTF-8 bytes. Channel/action identifiers allow 1–256 UTF-8 bytes without whitespace/controls. These fields require well-formed Unicode before byte sizing or serialization. Rich fields count toward the conservative 4096-byte serialized-message bound, excluding only the routing token; oversized input is rejected before credential lookup and the bound is rechecked if the final Apple expiry changes. Options cannot override destination, project, authorization, TTL or priority. APNs/Web Push transports reject Firebase options, and mixed direct-APNs/Firebase options are refused. Durable transport bridges preserve all fields and reject unknown option properties.

Android applications must create referenced channels and configure matching click-action intents. Apple image rendering needs a configured notification service extension; platform permissions, image accessibility/size/format and action handling remain application responsibilities. EnvelopeFlow never downloads images or follows presentation links, and supplies no native SDK. Exact local request/response fixtures establish serialization and retry/invalidation behavior, not device rendering or delivery. See the Firebase HTTP v1 field reference and image prerequisites.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
0.1.0-alpha.3.1 45 11/22/2026
0.1.0-alpha.2.1 64 11/9/2026