apns

iOS - UIRemoteNotificationTypeBadge & Push

Hello, If my application is started and only started. I implemented application:didReceiveRemoteNotification: to receive the payload. If a message is sent to my iPhone, is this method called for every registration type, such as the following one? [[UIApplication sharedApplication] registerForRemoteNotificationTypes:UIRemoteNotificatio...

Push Notification Error: "Unable to set local cert chain file"

I wrote a test php page that just sends out a generic push notification and it works intermittently. Sometimes it delivers the message and other times I get this error: "Message: stream_socket_client() [function.stream-socket-client]: Unable to set local cert chain file `/var/www/ninerobot.com/public/mlb/certs/mlbtr-push-dev.pem'; Chec...

APNS PHP Sandbox Feedback

Hi, I've been reading this forum http://stackoverflow.com/questions/1278834/php-technique-to-query-the-apns-feedback-server And have done most everything that they have mentioned. I have the following code... $apns = stream_socket_client('ssl://' . $apnsHost . ':' . $apnsPort, $error, $errorString, 2, STREAM_CLIENT_CONNECT, $streamC...

APNS - what is the cost for sending out a message?

Do the carriers (say AT&T) charge a fee for sending messages through APNS? If so, where can I find the pricing details? ...

iPhone Feedback Service with JAVA

Hi, I used "feedback.sandbox.push.apple.com" to test my Feedback Service, but just get nothing returned. Is there anyone who get something returned ? My code is below. It really confuses me. /******* Here build a sslConnection to get feedback **************/ try { String certPath ="**********_dev_key.p12"; KeyStore keySto...

APNS wrapper for ColdFusion?

Is there any APNS (Apple Push Notification Service) wrapper for ColdFusion? Or does this Java one work? Java: http://code.google.com/p/javapns/ PHP: http://code.google.com/p/apns-php/ If not existed, shall we start a open source project on riaforge / github / google code? port from PHP's? ...

Ruby, SSLSockets, and Apple's Enhanced APN message format

I'm trying to implement support for Apple's enhanced Push Notification message format in my Rails app, and am having some frustrating problems. I clearly don't understand sockets as much as I thought I did. My main problem is that if I send all messages correctly, my code hangs, because socket.read will block until I receive a message. ...

Push notification not working properly.

Hi All, I have integrated push notifications in my app. They seem to work fine when the app is not running, but when I open the app they are not received (although they are received when I run a different app). My app highly depends on a good network connection, so there is no reason that notifications are not received due to bad netwo...

iPhone custom APN with Proxy no app connection

I have built an iphone app for a componany that has its own custom APN. The iphones work fine on the apn, and using Safari they are able to browse the internet as well as their internal web servers. All access apparently is through a proxy server. The app sends locational data back to a web server. The app however is not able to send ...

Apple Push Notification Service using Urban Airship in iPhone

Hi friends, I have implemented Apple Push Notification service using Urban Airship and successfully received the notification in my application. If i receive the notification the alert view comes, If i click the view button in alert view, it goes to start the application. Generally it happens in APNS. But my client wants, If any updates...

Implementing Granular iPhone Push Notifications?

I've been trying to figure out the best way to go about implementing granular push notifications for specifying the type of alert notifications that members will receive. I haven't been able to find details about this on the Apple docs. This is a two-parter: 1) Similar to the Facebook app, I'd like to allow members to turn on/off certa...

APN provider server in objective c

Is there any opensource APN provider server in objective C? Or can anyone suggest me the steps for develop one. ...

How to load test my Push Notification traffic

Is there some way to load-test my iPhone/iPad PNS sending routines in the sandbox? I'd like to see how fast my processes can send messages so I can figure out how to scale. I need to know how long it's going to take to send 20,000 notifications, for instance. Anyone have suggestions? Thanks. ...

What encoding is the device token for APNs in?

Hey everyone, Is it possible to get the Device Token returned from the application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken method? Since I'm not very good at PHP, I'd like for my user to manually enter the token into a program on their computer that is going to be used to send ...

unable to connect to ssl://gateway.push.apple.com:2195

hi i am working on web services using php. in this i need to generate notification on the device using APNS but its gives following error see on link http://www.openxcellaus.info/praveenApns/myapns.php my code is following plz help me <?php echo '<pre>'; echo 'APNCRON: Started at '.date("Y-m-d H:i:s")."\n"; $apnsHost = 'gateway.pus...

c equivalent of php apns code

Hi, I am writing a .c apns (apple push notification server) application, I have the rest of the program working ie connecting to the servers establishing ssl, json encoding the message etc. However I am stuck on the part that converts the token to a hex string part. Example values $deviceToken is "4DBCD414F624842E581972E65D2DAA4B96279B20...

Waiting Period Before iPhone APNs Starts Pushing ?

I am running Push Notification on two test apps. The first test app I got working over a 2 day period. The 2nd test app I tried to implement Push Notification tonight and have been banging my head over it. I am able to swap the certificates and the 1st app receives notifications, but when I use the .pem for the 2nd app, nothing happens. ...

How we can check that our IP is blocked by apple from using APNS service

My apns was fine till yesterday. But today onwards am getting this error. .Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.push.apple.com:2195 (Connection timed out) I didn't change anything. I am using an adhoc distribution profile.I used apns service too many times for testin...

AdHoc build receives no push notifications

I am developing push notifications for an app of mine, I wrote the provider in PHP and it works fine. I was previously testing the push notifications with my dev builds and the sandbox server from Apple and everything worked fine, now I am trying to get it to work with an AdHoc build but I never receive any messages on the phone. Here is...

pyapns - hexlified_token_str

Hi, i try to test pyapns. There is a mention of the hexlified_token_str in the documentation. My token is stored in base64 format. I try to do this >>> notify('myapp', base64.decodestring('Sl96FJtZbZDZECSP3EedQJbsXdtlV+LXWd4+jbzvbHM='), {'aps':{'alert': 'Hello!'}}) But I'm wrong. Traceback (most recent call last): File "<stdin>",...