xamarin.forms push notifications server side - push-notification

I implemented the .p12 Certificate for APN(Apple Push Notification) to my Windows Server.
Now I have an xamarin.forms App where i downloaded the Plugin.PushNotification.
I implemented in AppDelegate.cs RegisteredForRemoteNotifications, FailedToRegisterForRemoteNotifications and DidReceiveRemoteNotification Methods.
My question is, which Project (MVC, ASMX..) should I create on Server Side to send notifications to the Users who installed the App.
Furthermore I have an Portal programmed which is on this Server too. In this Portal I can send an message to the App too. But which Service do i Need ?
Thanks

No programming required at all :) Use https://onesignal.com for free, unlimited apps & notifications for iOS/Android + Web Push

In my WebApp I used PushSharp to send Notifications to different devices.
In my App I use Plugin.PushNotification and it works like a charm.

using push sharp for sending push notifications through FCM

Related

How we can trigger Azure Notification Hub to send push notification to iOS devices from .net web application?

We are looking for a process to trigger the Azure Notification hub to send notification to specific registered user from .net application (web application). So far, we can created appropriate profiles and certificates from apple developer portal, registered/configured azure notification hub with iOS certificate and we can able to send Test notification to iOS mobile devices. Now we are looking for a way to trigger the azure notification hub to send the push notification to specific devices.
Thank you in advance!
Follow the official documentations.
https://learn.microsoft.com/en-us/azure/notification-hubs/push-notifications-android-specific-users-firebase-cloud-messaging
https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-aspnet-backend-ios-apple-apns-notification

How to send request from server side (asp.net web api / mvc ) to xamarin forms app?

i need recommendations from you. I have a project which use web api back end and xamarin forms. Xamarin forms is multi-user apps. Depends to user location it sends post or get request to server side and some actions occur. But what to do when i need to send something to xamarin app from web api without request from it ?????? I mean when some event happen i need to send something like push notification to specific user in xamarin app ???? (like uber send notification to drivers or riders). How to implement this ???? i was thinking to use SignalR but not sure....please help ??? thnks in advance
If your goal is to implement real time communication (when the app is open or running in the background), you could use SignalR. However, SignalR won't allow you to have real notifications mechanism (i.e. getting a push notification when the app is closed and click on it to open the app). Using SignalR, your app UI would get updated if app is open but that's it because SignalR relies on active connections.
If you really want to implement push notifications, you should check the following links:
Firebase Cloud Messaging
Using FCM, app servers can send messages to a single device, to a
group of devices, or to a number of devices that are subscribed to a
topic. A client app can use FCM to subscribe to downstream messages
from an app server (for example, to receive remote notifications).
If needed: How to use it with Azure
Hope it helps!

Not recieving push notification in IOS in a Xamarin Forms Application using Notification Hub

We are trying to implement Push Notification in a Xamarin Forms Application using Azure Notification Hub. We have configured properly in Azure Notification Hub, and we are receiving notifications in Android and Windows. But in IOS we are not receiving any notification.
We have done the following for iOS:
We got required distribution provisioning profile and p12 file from Microsoft team with “push notification” capability.
We configured notifications in azure mobile app and notification is successfully sending from azure to APNS.
At client mobile app, RegisteredForRemoteNotifications method is getting hit and no errors in device registration.
But, DidReceiveRemoteNotification is not hitting.
It will be of great help if someone can suggest in understanding what is going wrong here. We followed this tutorial . Thanks for the help in advance.
Service Bus Explorer Screenshot

Read Notification via web

I want to implement a push notification service. The idea is to use the GCM Service. Is it possible to read the notifications both via web app (the app is written in php using laravel) and via mobile app for the authenticated users using the same technology?
I think it is possible, I also see this tutorial that can help you to achieve that. It also use PHP as a sample, so it seems like your work will be easier:)
It explains here the basic steps that you need to achieve push notification. It has a sample code and a screenshot to make you understand more the content of this tutorial.
In developing this application, it involves two parts, a GCM Server Application that create Web application using Php to send message to User via GCM Cloud server and GCM Client Application that create Android application which receive messages sent from GCM Server Web App.
For more information you can also check this links:
Implementing Push Messaging for Chrome
How to send push notification to web browser?

Can Amazon SNS push notifications directly to mobile devices?

The tutorial for Windows Phone 7 push notifications says that to implement Push Notifications, you need to call Microsoft Push Notification service which manages the sending of the notification to WP7 devices.
Does that imply that to send an AMZ SNS message, I need to create an intermediary web service that routes the SNS message to Microsoft Push Notification service?
What are the options for Android and iOS devices?
Amazon has API libraries for both Android an IOS, so you can implement them directly.
See:
http://aws.amazon.com/sdkforandroid/
http://aws.amazon.com/sdkforios/
There is also a windows/.net library that you might be able to use directly inside a windows phone.
http://aws.amazon.com/net/
I don't know anything about the windows phone platform and your on your own for that one.
Android has cloud-to-device-messaging (c2dm), which is a labs project by google. At this time it is free. I don't know about wp7 or. I believe iOS has their own system as well.
Microsoft forked AWS' .NET SDK to create a version for WP7.
https://github.com/Microsoft-Interop/AWS-SDK-for-WP

Resources