3

I have been able to send push notification from Firebase (Firebase cloud messaging) into my android application.

I wanted to know if I can build an app in c# (.net) that will receive notification from firebase as in Android application.

So far, I found examples that send the notification but none of them actually have demonstrated how to received the notification in c# desktop application.

If there are any documentation on receiving notification or any code snippet will be much appreciated.

Thanks in Advance

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807

2 Answers2

11

There is no support for receiving FCM notifications in a .NET desktop application. There is no FCM SDK for the platform, and the wire protocol is undocumented.

There is support for receiving FCM notifications on a Xamarin app on Android or iOS, but that doesn't seem to be what you're after.

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
  • thanks. Yeah I was hoping if I could find one for .Net. – ShresthaGanesh Apr 04 '19 at 09:51
  • Were there any changes regarding this, since the last year? Specifically - is it possible to receive FCM notifications on desktop applications now? – FiddlingAway Apr 16 '20 at 11:46
  • As commented on your new [question](https://stackoverflow.com/questions/61248834/using-firesharp-for-windows-desktop-push-notifications-only) about the topic, this is not possible. – Frank van Puffelen Apr 16 '20 at 14:00
0

There is https://github.com/Firebase/firebase-admin-dotnet It is written by Google and available in NuGet packages in Visual Studio