ios - Apple Push Notifications from WebApi app -


, But the same code transferred to the WebApi app on the same computer does not work. I have given the certificate and private key to personal (via MMC) private (private key is allowed, IIS_USRS is allowed) and reliable Root Certification Authorities Has been installed. The code is clear, but just in case:

  var push = PushBroker (); Var applecert = file Read AllBytes ("C: \ Users \ Documents \ Certificates \ Push.p12"); Push. Registration Apple Service (New Push Essar Apple Apple Push Channel Settings (Wrong, Apple Kart, "PWD")); Pushpip Apple Apple Notification Notif = New Pushpip Apple Apple Notification (.) Device Talkon ("xxx"). Alert ("updated ..."). With Badge (1) Sound ("default"); Push.QueueNotification (notif); // Wait for the queue to finish pushing. Close all services (true);  

No errors / exceptions, not just its iPhone device gets notifications when it starts in the webapp app.

Have you checked all event handles for errors? PushBroker is a lot of examples on the example, where you can subscribe to block the error (if any). Subscribe to

: OnServiceException and OnNotificationFile .

Check if IIS | App | User | Roles have all the privileges access the web.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -