Questions tagged [apns-sharp]

apns-sharp is a C# library to interface with Apple's Push Notification Service for iOS devices. It contains a server-side library for sending and getting feedback, plus a sample MonoTouch client-side implementation.

46 questions
7
votes
6 answers

iPhone certificate error in apns sharp A call to SSPI failed

i have a data service hosted in azure from which i am sending notification to iphone but while establishing connection with apns i am getting following error "A call to SSPI failed. The message received was unexpected or badly formatted." i also…
Rahul Parate
  • 219
  • 3
  • 15
7
votes
2 answers

Can I use an X509Certificate2 within ASP.NET without using a certificate store?

I am trying to use an X509Certificate within an ASP.NET web service within the Rackspace Cloud. I have a feeling the certificate stores on the cloud nodes maybe causing problems. I also have a question related to this with the exception that I am…
Luke
  • 5,895
  • 11
  • 54
  • 84
6
votes
3 answers

deviceToken of IOS Device

I am using Monotouch for mac and have gone through the steps to retrieve a provisioning profile certificate enabling push notification in the process. I have a working app and am now experimenting with apns-sharp and moon-apns but cant' figure out…
John D
  • 619
  • 9
  • 19
6
votes
2 answers

Adding certificates to keychain and generating .p12 file format

I am following the step given in https://github.com/Redth/PushSharp/wiki/How-to-Configure-&-Send-Apple-Push-Notifications-using-PushSharp to while working step by step for Apple Push Notifications. I got stuck in the middle. I added Apple Push…
Lasang
  • 1,339
  • 6
  • 21
  • 44
4
votes
1 answer

PushSharp APNS Feedback Service Example

We have implemented PushSharp for sending push notifications to our enterprise iOS devices. This is being sent from a Windows machine and we customized the PushSharp code to be called from a console app which is scheduled to run every minute…
user1627842
3
votes
2 answers

apple push notification with APNS sharp

i use APNS Sharp library for my apple push notification. i have downloded from Here.i use sample test program provided by APNS sharp library without any modification. it simply does not send any notification until i put break point at that line of…
Nnp
  • 1,577
  • 5
  • 30
  • 58
2
votes
2 answers

APNS APPLE C# sslstream response

i want to use APNS from Apple with a c# service. The service runs perfect. What i wanna have is the feedback from Apple if have send the pans to apple. So what i need is the feedback from a sslstream. Can anybody help me and tell me how i gat a…
2
votes
0 answers

Sending push notifications with APNS-Sharp

I use APNS-Sharp in my server and it works perfect, except in one scenario, I'll try to describe it: Server sends first push - NotificationService successfully connecting to apple servers, i get the "Connecting" and "Connected" events, …
Eyal
  • 10,429
  • 18
  • 73
  • 127
2
votes
3 answers

Apple Push Notifications Using Moon-APNS or APNS-Sharp

I am having really hard time figuring out how to send messages from my server to the APNS. I have used Moon-APNS and APNS-Sharp and I am stuck at the same error which is "parameter is incorrect". I generated the p12 file using KeyChain. I dragged…
azamsharp
  • 18,391
  • 34
  • 139
  • 218
2
votes
1 answer

How do I convert a combined PEM into a pkcs12 P12 file?

I have an Apple Push Notification Service PEM file which I have working in a PHP script. I can send push notifications to iOS devices that have my app installed. I am trying to make it work with the APNS-Sharp project in my Mono environment. The…
Nick Strupat
  • 4,632
  • 4
  • 38
  • 54
2
votes
6 answers

APNS SSlStream Authentication failed because the remote party has closed the transport stream

Im trying to push notification to iphone using asp.net, C#. I get the following error "Authentication failed because the remote party has closed the transport stream" in this line of…
Kodee
  • 21
  • 1
  • 3
2
votes
1 answer

Not being able to receive push notifications with new distribution certificates

I am trying to implement the push notifications to my application that is currently on the store. The old applications are working perfectly and receiving push normally with the same code on both server and app sides(OFF the sandbox). However, when…
2
votes
0 answers

IOS Push Notification : Authentication Failed

I'm getting the same error on both projects (APNS Sharp | Push Sharp) Authentication failed because remote party has closed the transport stream I've tried with changing X509Certificate to X509Certificate2 and X509CertificateCollection to…
Waqar Ahmed
  • 1,327
  • 1
  • 10
  • 30
1
vote
1 answer

Error "A type load exception has occurred." using apns-sharp with mono

I'm trying to move my APN backoffice from PHP to C# for performance issue. Bear with me, I'm new to C# and mono. I've just downloaded MonoDevelop 2.8.6.4 and APNS-sharp merge 26 on my OSX 10.7.2 I opened the entire solution with all libraries and…
1
vote
3 answers

How can I use the following events/delegates, written in C#, in VB.NET?

I'm using JdSoft's APNS-Sharp library in my ASP.NET web app. The library is written in C#, and makes extensive use of Delegate Functions and Events for threading purposes. My application is written in VB.NET, and I'm a little confused on about how…
Mirthquakes
  • 343
  • 1
  • 10
1
2 3 4