Reputation: 6478
My client are currently using Google Cloud Messaging (GCM)
.
I've been researching this for a while but I only seem to find examples on how to send push notification with GCM
to android devices using C#
but I can't find anything regarding receiving/capturing
push notification sent from GCM to a UWP Windows 10 application?
Is this is possible?
Can it be done without having to use Azure
? I've just checked and I can see that you can set up GCM
in the notification hub in Azure
but my client doesn't want to use Azure
if at all possible and just stick to GCM
Upvotes: 3
Views: 2314
Reputation: 3568
Google Cloud Messaging is an Android only Service by Google. Every OS has it's own similar Service and they are not intoperatable.
While it would be a really cool thing to have a cross platform Notification Service, I wouldn't bet on it to happen anytime soon. Notifications are deeply integrated into the OS for reasons like battery saving and security.
All current notification Systems work very similar and sending messages to them is mostly just sending some json/xml via Http. All you have to do is distinguish between android and windows targets when sending your notification and then either post it to gmc or wns.
Find information on WNS here.
Azure Notification Hubs are just a service that do exactly that for you, so you don't have to code it yourself (with some other nice extras), but they are not required to use WNS.
Upvotes: 5