pushsharp

PushSharp APNS production: The credentials supplied to the package were not recognized (development works fine though)

让人想犯罪 __ 提交于 2019-11-27 13:55:16
My app just got ready for sale on App Store, but none of my production devices (devices that have installed the app from App Store) are getting push notifications. When I try to send a push notification to a production device, I am getting this error: "The credentials supplied to the package were not recognized" (System.ComponentModel.Win32Exception) This exception is internally thrown and caught in an infinite loop: It is thrown at line 539 of ApplePushChannel.cs file: try { stream.AuthenticateAsClient(this.appleSettings.Host, this.certificates, System.Security.Authentication.SslProtocols

How to use Push Notifications in Xamarin Forms

旧街凉风 提交于 2019-11-26 21:16:34
I have an app using Xamarin.Forms targeting IOS, Android and WP 8. I need push notification feature in my app. I have seen the pushsharp demos and it seems promising. But all the codes I have seen are done separately for each platform. I would like it to be done in the Xamarin.Forms project, somewhere in the App.cs so that I don't need to repeat the code for registering device, and handle how push notifications should be processed. Any help would be greatly appreciated. Sample codes or tutorial references are welcome. Edit : I implemented it based on Idot's answer . Here is the link for my

How to use Push Notifications in Xamarin Forms

ε祈祈猫儿з 提交于 2019-11-26 07:54:58
问题 I have an app using Xamarin.Forms targeting IOS, Android and WP 8. I need push notification feature in my app. I have seen the pushsharp demos and it seems promising. But all the codes I have seen are done separately for each platform. I would like it to be done in the Xamarin.Forms project, somewhere in the App.cs so that I don\'t need to repeat the code for registering device, and handle how push notifications should be processed. Any help would be greatly appreciated. Sample codes or