![]() |
VOOZH | about |
dotnet add package Shiny.Firebase.Messaging.iOS.Binding --version 4.0.1
NuGet\Install-Package Shiny.Firebase.Messaging.iOS.Binding -Version 4.0.1
<PackageReference Include="Shiny.Firebase.Messaging.iOS.Binding" Version="4.0.1" />
<PackageVersion Include="Shiny.Firebase.Messaging.iOS.Binding" Version="4.0.1" />Directory.Packages.props
<PackageReference Include="Shiny.Firebase.Messaging.iOS.Binding" />Project file
paket add Shiny.Firebase.Messaging.iOS.Binding --version 4.0.1
#r "nuget: Shiny.Firebase.Messaging.iOS.Binding, 4.0.1"
#:package Shiny.Firebase.Messaging.iOS.Binding@4.0.1
#addin nuget:?package=Shiny.Firebase.Messaging.iOS.Binding&version=4.0.1Install as a Cake Addin
#tool nuget:?package=Shiny.Firebase.Messaging.iOS.Binding&version=4.0.1Install as a Cake Tool
Firebase Cloud Messaging (FCM) push notification support for .NET MAUI applications on iOS and Android, built on the Shiny framework.
GoogleService-Info.plist / google-services.jsondotnet add package Shiny.Push.FirebaseMessaging
using Shiny;
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseShiny();
// Use embedded configuration (GoogleService-Info.plist / google-services.json)
builder.Services.AddPushFirebaseMessaging();
// OR manual configuration
builder.Services.AddPushFirebaseMessaging(new FirebaseConfiguration(
UseEmbeddedConfiguration: false,
AppId: "your-app-id",
SenderId: "your-sender-id",
ProjectId: "your-project-id",
ApiKey: "your-api-key"
));
// With a custom push delegate
builder.Services.AddPushFirebaseMessaging<MyPushDelegate>();
return builder.Build();
}
}
GoogleService-Info.plist from the Firebase ConsoleBundleResourcegoogle-services.json from the Firebase Console| Parameter | Type | Default | Description |
|---|---|---|---|
UseEmbeddedConfiguration |
bool |
true |
Use platform config files |
AppId |
string? |
null |
Firebase App ID |
SenderId |
string? |
null |
Firebase Sender ID |
ProjectId |
string? |
null |
Firebase Project ID |
ApiKey |
string? |
null |
Firebase API Key |
DefaultChannel |
NotificationChannel? |
null |
Android only - default notification channel |
IntentAction |
string? |
null |
Android only - custom intent action |
The iOS implementation supports FCM topic subscriptions through IPushTagSupport:
if (push is IPushTagSupport tagSupport)
{
await tagSupport.AddTag("news");
await tagSupport.RemoveTag("promotions");
await tagSupport.SetTags("news", "updates");
await tagSupport.ClearTags();
}
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-ios26.0 net10.0-ios26.0 is compatible. |
Showing the top 1 NuGet packages that depend on Shiny.Firebase.Messaging.iOS.Binding:
| Package | Downloads |
|---|---|
|
Shiny.Push.FirebaseMessaging
Shiny Push Integration - Google Firebase Cloud Messaging |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1 | 235 | 3/28/2026 |
| 4.0.1-beta-0005 | 108 | 3/28/2026 |
| 4.0.0-beta-0040 | 708 | 6/14/2024 |