Shiny.Firebase.Messaging.iOS.Binding
4.0.1
Prefix Reserved
dotnet add package Shiny.Firebase.Messaging.iOS.Binding --version 4.0.1
NuGet\Install-Package Shiny.Firebase.Messaging.iOS.Binding -Version 4.0.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="Shiny.Firebase.Messaging.iOS.Binding" Version="4.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Shiny.Firebase.Messaging.iOS.Binding" Version="4.0.1" />
<PackageReference Include="Shiny.Firebase.Messaging.iOS.Binding" />
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 Shiny.Firebase.Messaging.iOS.Binding --version 4.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Shiny.Firebase.Messaging.iOS.Binding, 4.0.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 Shiny.Firebase.Messaging.iOS.Binding@4.0.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=Shiny.Firebase.Messaging.iOS.Binding&version=4.0.1
#tool nuget:?package=Shiny.Firebase.Messaging.iOS.Binding&version=4.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Shiny Firebase
Firebase Cloud Messaging (FCM) push notification support for .NET MAUI applications on iOS and Android, built on the Shiny framework.
Features
- Firebase Cloud Messaging for iOS and Android
- Embedded configuration via
GoogleService-Info.plist/google-services.json - Manual configuration support
- Topic subscription support (iOS)
- Custom push delegate for handling notification events
- Native iOS Firebase SDK 12.x via Slim Bindings
Installation
dotnet add package Shiny.Push.FirebaseMessaging
Setup
MauiProgram.cs
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();
}
}
Platform Configuration
iOS
- Download
GoogleService-Info.plistfrom the Firebase Console - Add to your iOS project with Build Action set to
BundleResource - Enable Push Notifications capability in Entitlements.plist
- Enable Remote Notifications background mode
Android
- Download
google-services.jsonfrom the Firebase Console - Add to your Android project root
Configuration Options
| 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 |
Topic Subscriptions
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();
}
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-ios26.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-ios26.0
- Shiny.Firebase.Analytics.iOS.Binding (>= 4.0.1)
NuGet packages (1)
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 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1 | 37 | 3/28/2026 |
| 4.0.1-beta-0005 | 34 | 3/28/2026 |
| 4.0.0-beta-0040 | 640 | 6/14/2024 |