Skip to content

ozgur-soft/Fcm.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fcm.NET

Firebase Cloud Messaging (Fcm) API with .NET

Installation

dotnet add package Fcm --version 1.2.0

Usage

namespace Fcm {
    internal class Program {
        static void Main(string[] args) {
            var fcm = new Fcm();
            fcm.SetProjectId("project id");
            fcm.SetApiKey("api key");
            fcm.Send(new() { Message = new() { Token = "device id", Notification = new() { Title = "title", Body = "body" } } });
        }
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages