I have applied Push Sharp in my existing WCF Service (C#) to send Push notification to particular user, for this I am using Device Id of i Pad app and using that I am sending Push notification to that user, its working fine.
But now what i want is, i need to send push notification to all the user who are using the application, means i need to send the notification globally, so how can I send push notification global with out using Device Specific id, like can we send push notification based on application id or some thing like this.
There are various Api that is provide to send Pushnotification.
You can use Api of parce.com or Urban Airship to send Pushnotification using your c# code.
Related
I'm creating my first Xamarin app and I have a problem sending push notification to all users but not the current one (via Firebase).
I don't fully understand how it works, I suppose that I have to work with receiver tokens but how can I get them? Because for now I can't even send a notification to a single device.
What I have is an app and a firebase project connected with it, so having server key and sender id list of receivers should be the only thing lacking.
As far as i know, toast notifier in UWP is just like a messagebox. But the difference is messagebox will appear as a pop-up within the app. Where as Toast notification will appear out of the application.
And i don't know what is Push Notification.
Push Notifications are send from the web server. For example, service can send push notification that there is a sale and you can buy app with a discount or that there is a new release and you can update your app or read 'what's new'. While Toasts are created with your local app code.
It's called Push since notification originate from webserver. You can poll server yourself, but it will be Pull approach. For more info regarding Push take a look at the following article.
For more info regarding Push Notifications in UWP see the link.
I have developed a ASP.NET MVC web application that exposes several APIs. One such API is to send a push notification via apple APNS to users. In my c# code i run parallel tasks for each notification that should be sent out. We are then calling Apple APIs direct. Some users are complaining that intermittently they do not receive push notifications. I wanted to know if there are some things to be aware of when attempting to send push notifications from Azure?
Thanks in advance.
I want to send push notification to Android device using Amazon SNS service.
But as listed on Amazon's official site:
You send push notification messages to both mobile devices and desktops using one of the following supported push notification services:
Amazon Device Messaging (ADM)
Apple Push Notification Service (APNS) for both iOS and Mac OS X
Baidu Cloud Push (Baidu)
Google Cloud Messaging for Android (GCM)
Microsoft Push Notification Service for Windows Phone (MPNS)
Windows Push Notification Services (WNS).
So I am using GCM as an intermediary to send push notification to my Android device.
Here is an another link that states how to create project with GCM: http://docs.aws.amazon.com/sns/latest/dg/mobile-push-gcm.html.
So far I have able to successfully create project in Google with my Server key and project number but only thing I am not getting is how to generate Registration Id and from where.
Do I need to programmatically generate registration id from my C# code?
But I couldn't find any code in C# to generate registration id. I have just find code in Android to generate Registration Id.
Having just set up SNS for a mobile app let me try and clarify a few things about SNS.
Amazon SNS is the intermediary not GCM. The workflow goes like this:
Using the GCM Project Key you set your app up for push notifications
A user downloads your app and when it launches, it connects to GCM
and lets Google know that this app/user combo would like to receive
push notifications.
GCM sends back a device token that represents this individuals device
and app instillation.
You send this device token to your c# server code where you can use
the SNS api to register the token with amazon and save it as a SNS
mobile endpoint.
Then you can use that endpoint Id and your server API key to send out
the notification.
This part of the documentation should be exactly what your looking for.
Hope this helps,
http://docs.aws.amazon.com/sns/latest/dg/mobile-push-gcm.html
I have an application that uses UA for receiving push notifications. I've need to add in support for sending local push notification within the app.
I've searched around and can't find any sort of example on how to send using Xamarin.Android a push notification with UA.
Does anyone know where I can find such an example or if they have an example I can use and modify?
From what I can read, UA does not directly support local push notifications, so you would need to send the notification to the UA server, which then pushes it to the device.
Otherwise you could use "normal" notifications, inside your app using the NotificationManager.