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.

48 questions
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
vote
1 answer

APNS issue using APNS Sharp - first few notifications undelivered

Here is an issue that is giving me a real headache. We are developing a cross platform application where we need Push Notifications. We have a server syncing every app, and in case the app is not running on one device, we notify the latter if we…
1
vote
1 answer

Does APNS-SHARP is the library that send multiple payloads in one connection?

I'm new for iPhone application development. I'm use APNS-SHARP for Push Notification. I want to know that this library use the method that "send multiple payloads in one connection". Can I use this library for bulk payload? Thank you.
1
vote
1 answer

iPhone push notification error

t have created a service for sending push notification to iPhone by using APNS-SHARP .while closing the connection i am getting an error that " A connection attempt failed because the connected party did not properly respond after a period of time,…
Rahul Parate
  • 219
  • 3
  • 15
1
vote
1 answer

APNs-sharp libraries not working on windows server 2008, CryptographicException

I have an asp.net application that uses the APNs-Sharp libraries to send push notifications. It works fine on my local machine but when i publish to a windows 2008 r2 server machine I get the following…
MBU
  • 4,998
  • 12
  • 59
  • 98
1
vote
1 answer

APNs-Sharp work on an ASP.Net application?

I saw a few posts on apple push notifications from an asp.net application but none of them i saw addressed the issues i'm having with the APNs-Sharp libraries. I'm assuming it should work with an asp.net application written in c# but im getting…
MBU
  • 4,998
  • 12
  • 59
  • 98
1
vote
1 answer

The credentials supplied to the package were not recognized (development works fine though)

I am not getting notifications from APNS. I have hosted my .Net API code on EC2 instance. I have checked for : Port 2195 and 2196 are open. I have created p.12 properly as described Link
Suyash
  • 365
  • 5
  • 18
1
vote
1 answer

push notification not received by iPad

We are running into an issue with push notification. We are sending alerts to iPad app through apple sand box. From our C# console, it connects to APNS (TCP/IP), authenticates SSL and sends notification. But the device didn't receive anything.…
Maruthi
  • 11
  • 2
1
vote
1 answer

Push notification c# google code showing error "File not found" every time.?

I need to use asp.net c# code for Server of Push notification Service. i have also downloaded Source code from google Source code. there are 3 zip files available . I am using latest Apns-Sharp-1.0.3.0. but when I am testing it, it gives a "File…
mitul shah
  • 131
  • 1
  • 7
1
vote
1 answer

Need guidance to Push Notification for iOS using Native APNs/GCM in Cordova Application

I am using a push notification plugin in my cordova application. I was able to get the notification for Android using GCM and it was pretty easy. Now iOS which is a big pain for me since Sunday, almost 4 days now. I will share the things that i have…
1
vote
0 answers

APNS-Sharp sent successful but device doesn't receive

I am using APNS-SHARP to push notification. I am using distribution environment and production cert with production token. Below is part of my code. try { Response.Write(notifications.Count.ToString()); bool useSandbox =…
tan
  • 23
  • 4
1
vote
3 answers

PushSharp APNS Service Stop working after windows shutdown

I can send notifications to my iPhone device succeffully using Push Sharp via sandbox APNS server but I am having a problem. I have generated .cer and .p12 files and then installed them on my windows 8 development machine successfully. I used…
muhammad kashif
  • 2,566
  • 3
  • 26
  • 49
1
vote
1 answer

X509Certficate2 issue when using iPhone Apple Push Notification Provider (apns-sharp)

using APNS-Sharp in a .Net web service on a Rackspace cloud site. I'm getting hung up with no response at all when instantiating a new X509. Using apns-sharp it's this line: public ApplePushChannelSettings(bool production, byte[] certificateData,…
1
vote
2 answers

Unable to send iOS MDM Push Notification using Push Sharp

I am attempting to send the an MDM push notification to an iPad using the production APN server. However, Push Sharp says that the notification failed because the identifier is equal to 1. The following code from the PushSharp code base illustrates…
Heshan Perera
  • 4,592
  • 8
  • 44
  • 57
1
vote
0 answers

apns-sharp as a wcf service in IIS---not working

I've resorted to using apns-sharp and while it works perfectly as a console app and as a basichttpbinding WCF service on my machine(tested with wcftestclient), when I host the WCF service in IIS it doesnt give me any errors(SSL enabled). Since I…
John D
  • 639
  • 1
  • 10
  • 20