push-notification

Does anyone know how to write an Apple Push Notification Provider in C#?

Apple really has bad documentation about how the provider connects and communicates to their service. I am confused about the protocol. If anyone out there could provide a C# sample of how this is don, it would be greatly appreciated. ...

How to connect to a SSL with a handshake, in C#?

So I am trying to connect to Apple's Push Notification server with C#. I asked a question about this here. I was given a Java example. I have tried now (about 50 iterations) and I can't seem to get my C# to do the same thing. Could someone help me connect to an SSL with C#? Or even better, could someone make a C# equivalent to the Ja...

Does anyone know why an Apple Push Notification development certificate would work locally, but not on my hosting server?

My client certificate seems to work locally, but not on my hosting server. So I have a "p12" that I exported my certificate to (for push notification development). I can perform a push from both my OSX and Windows boxes (on local network). The moment I move the push and certificate out to my hosting server, I get a timeout. The Apple Pu...

iPhone SDK Push Notification

I have setup push notifications in the apple developer panel and added the code to my application. It works fine on the phone using a development profile but if I use a distribution (ad-hoc) profile so that I can give it to a few users for testing it gives an error and crashes, the log gives the following error Code: Thu Jun 25 22:22:...

Apple PNS (push notification services) sample code

Is there a sample project showing how to use PNS on the IPhone and how to set up things? I'm currently looking at the documentation but it would be nice to have some working code to pick apart and see how it all works together? I can't seem to find anything using google or in the iphone dev center. ...

C# iPhone push server?

Im attempting to write a push server for the iPhone in C#. I have the following code: // Create a TCP/IP client socket. using (TcpClient client = new TcpClient()) { client.Connect("gateway.sandbox.push.apple.com", 2195); using (NetworkStream networkStream = client.GetStream()) ...

Server Side iPhone APNS Communication

Hi. I have a quick question. For the apple push notification service, I need to have my own server, which will send out the push notifications to the apple servers, right? Can I do this with a simple PHP script on a regular webhosting account, or do I need a dedicated server with full blown admin access for that? If this is possible i...

Error Using PHP for iPhone APNS

I have been getting this error messages from my PHP code used to send message to the APNS...has anyone got faced the same issue? Warning: stream_socket_client() [function.stream-socket-client]: SSL operation failed with code 1. OpenSSL Error messages: error:14094410:SSL routines: SSL3_READ_BYTES:sslv3 alert handshake failure in /Libra...

Starting iPhone Development

I'm soon going to be starting some iPhone Development (3.0) building a simple app that communicates with a web service and uses push notification. My objective-c is pretty much non-existent but I've already got some good information from this question and also from Apples development centre. Basically if you've developed with the iPho...

Add images via Push Notification Service?

I have a content app and would like to notify users of new content using Apple Push Notification Service, bypassing the now very long App Store submissions. Once the user receives the notification, a download update button will become enabled. The user will download an sql file plus images from my website. The sql file will execute in...

Connecting to APNS for iPhone Using Python

I'm trying to send push notifications to an iPhone using Python. I've exported my certificate and private key into a p12 file from keychain access and then converted it into pem file using the following command: openssl pkcs12 -in cred.p12 -out cert.pem -nodes -clcerts I'm using APNSWrapper in Python for the connection. I run the fo...

What's a Java alternative to Google App Engine for developing iPhone Push Notification services?

I'm a Java programmer who is working on an iPhone application. I'd like it to use Push Notification services. I originally thought I could use Google App Engine to provide the payloads to Apple, but I see now that it won't be possible because App Engine doesn't support the low-level socket programming that is needed to communicate with...

Are there any affordable host services for apple push notifications?

The host would need to have port 2195 open and support push notifications under apns. I have had some trouble finding a hosting service that would support this. Also, it would be nice if you could have PHP, MySQL, etc. access under the same provider. ...

SSLHandshakeException unknown_ca apns java

I am trying to implement a standalone application for iphone; for which I wish to use Apple Push notification for iphone clients. I am getting javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca Following is my Java code to connect to apns gateway: int port = 2195; String hostname = "gateway.sandbox.push.apple.com"; ...

Debugging App When Launched by Push Notification

I am currently developing an app that receives Push Notifications. I have this all working 100% through a PHP page. There are several different types of push notifications my app can receive. The PHP handles this and sends different packets of information to my app which are all received just fine. However, when the users "views" the n...

Does Android support near real time push notification

I recently learned about the ability of iPhone apps to receive nearly instantaneous notifications to apps. This is provided in the form of push notifications, a bespoke protocol which keeps an always on data connection to the iPhone and messages binary packets to the app, which pops up alerts incredibly quickly, between 0.5 - 5 seconds...

Unable to push notifications to iPhone in .NET - .PEM certificate problem?

I'm attempting to push notifications to my iPhone, which I've successfully done using PHP. However, I'm unable to open a socket connection to Apple's push servers using C#. I don't think there's a problem with the certificate itself, since I'm able to successfully push notifications using this code in PHP: $ctx = stream_context_create...

How to tell if Apple Push Notification Service APNS is alive

We are testing an application that has APNS and have noticed that sometimes the APNS service for the sandbox environment stops "pushing". The message is successfully received by the apple server, no errors. There are no incoming messages from the feedback service either (we have successfully received feedback on other things). Our codeb...

Can my iPhone app register to receive push notifications meant for another app?

This may be a pretty basic question, but here goes. I develop an iPhone app that is a third-party client for a popular webapp. This webapp has it's own iPhone app to which it publishes push notifications. Is it possible for my app to register to receive push notificatons Sent by the webapp and intended for the webapp's native iPhone app?...

Help trying to use Apple Push Notification Service through Java

Am trying to implement a Java program which sends an Apple Push Notification to an iPhone client app... Found the following library: Java APNs Provider code: Created the following code (from Javapns) to use in my app: try { PayLoad payLoad = new PayLoad(); payLoad.addAlert("My alert message"); payLoad.addBadge(45); pa...