Skip to content

transmitly/transmitly-channel-provider-firebase

Repository files navigation

Transmitly.ChannelProvider.Firebase

A Transmitly channel provider that enables sending push notifications to iOS, Android and other apps/devices using firebase.

Getting started

To use the Firebase channel provider, first install the NuGet package:

dotnet add package Transmitly.ChannelProvider.Firebase

Then add the channel provider using AddFirebaseSupport():

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 project for more details on what a channel provider is and how it can be configured.
an open-source project sponsored by CiLabs of Code Impressions, LLC

Copyright © Code Imperssions, LLC - Provided under the Apache License, Version 2.0.

Packages

 
 
 

Contributors 2

  •  
  •  

Languages