https://github.com/transmitly/transmitly-channel-provider-firebase
Extends Transmitly to enable sending push notifications with https://firebase.google.com/
https://github.com/transmitly/transmitly-channel-provider-firebase
fcm firebase firebase-admin firebase-admin-sdk push push-notifications transmitly
Last synced: 7 months ago
JSON representation
Extends Transmitly to enable sending push notifications with https://firebase.google.com/
- Host: GitHub
- URL: https://github.com/transmitly/transmitly-channel-provider-firebase
- Owner: transmitly
- License: apache-2.0
- Created: 2024-02-07T06:09:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-22T00:32:05.000Z (8 months ago)
- Last Synced: 2025-12-23T08:42:56.484Z (8 months ago)
- Topics: fcm, firebase, firebase-admin, firebase-admin-sdk, push, push-notifications, transmitly
- Language: C#
- Homepage: https://github.com/transmitly
- Size: 1.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Notice: NOTICE
Awesome Lists containing this project
README
# Transmitly.ChannelProvider.Firebase
A [Transmitly](https://github.com/transmitly/transmitly) channel provider that enables sending push notifications to iOS, Android and other apps/devices using [firebase](https://firebase.google.com/).
### Getting started
To use the Firebase channel provider, first install the [NuGet package](https://nuget.org/packages/transmitly.channelprovider.firebase):
```shell
dotnet add package Transmitly.ChannelProvider.Firebase
```
Then add the channel provider using `AddFirebaseSupport()`:
```csharp
using Transmitly;
...
var communicationClient =
new CommunicationsClientBuilder()
.AddFirebaseSupport(options =>
{
options.Credential = FirebaseCredential.GetApplicationDefault();
})
.AddPipeline("WelcomeKit", options =>
{
options.AddPushNotification(push =>
{
push.Title.AddStringTemplate("Welcome!");
push.ImageUrl.AddStringTemplate("https://transmit.ly/assets/welcome.png");
push.Body.AddStringTemplate("Thanks for signing up! Here's 500 bonus points on us.");
});
});
```
* See the [Transmitly](https://github.com/transmitly/transmitly) project for more details on what a channel provider is and how it can be configured.
---
_Copyright © Code Impressions, LLC. This open-source project is sponsored and maintained by Code Impressions
and is licensed under the [Apache License, Version 2.0](http://apache.org/licenses/LICENSE-2.0.html)._