我爲我的Windows Server實施了APN(Apple Push Notification)的.p12證書。 現在我有一個xamarin.forms應用程序,我在那裏下載了Plugin.PushNotification。我在AppDelegate.cs中實現了RegisteredForRemoteNotifications,FailedToRegisterForRemoteNotifications和DidReceiveRemoteNotification方法。xamarin.forms推送通知服務器端
我的問題是,我應該在服務器端創建哪個項目(MVC,ASMX ..),以向安裝該應用程序的用戶發送通知。
此外,我有一個門戶網站編程這也是在這臺服務器上。在這個門戶中,我也可以發送消息給應用程序。但我需要哪些服務?
感謝
但我想爲自己寫這個服務。 – Pascal
嗯,然後嘗試PushSharp(C#庫):https://github.com/Redth/PushSharp –
是pushsharp發送通知從服務器通知應用程序和從服務器到Web應用程序?我無法閱讀這個例子 – Pascal