apple-push-notifications

How to implement a reminder application ,just a clarification ?

Hello all, I know that the reminder application should display a badge or sound or kind of alert to the user . The only doubt I want to clear from you guys is , should I display the badge in some manual coding fashion (like [[uiapplication sharedApplication] setBadgeNumber:2])or I have to use Apple push notification service and push th...

iPhone: How to Setup the Server Side of Push Notification.

Hi, Im my app I need to include push notifications but I don't understand how to start settings things up on the server side. Does anyone know of an example of server side code that implements a push notification? Which language is preferred for the server implementation? ...

Push notifications work for Ad Hoc, but not when downloaded from the Apple store.

My app just got approved for the apple store. I downloaded it an installed it on my iPhone - but it looks like push notifications are broken! I was successfully testing push notifications in production using an adHoc provisioning profile. I had no problems. The only thing I did differently when I submitted to apple was using an app stor...

get SSL Broken pipe error when try to make push notification

We develop an iPhone app, and have push notification for development and ad hoc version working properly. But when we try to send push notification to real user devices in our database, we got SSL connection reset, then Broken pipe error. We think maybe there are too many devices in our database (more than 70000), so it is failed to send...

registerForRemoteNotificationTypes causes app to exit immediately

I'm seeing behaviour on my iPhone where debug builds immediately exit after a call to [[UIApplication sharedApplication] registerForRemoteNotificationTypes:UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeAlert]; The debugger reports it exited with the message Terminating in response to SpringBoard's termination. This beh...

are push notification tokens unique across all apps for a single device?

i will have multiple applications on the app store and 1 urban airship account to send push notifications to all of these devices. what i want to know is if each apple device has the same "push token" across all applications? this is more of a database architecture thing so that I don't duplicate a push token many times if one single d...

Apple Push Notification Feedback Service - how frequently does it check

I have been able to successfully create push notifications and I have also received responses from the feedback service, so I am confident that my configuration is correct, but I was wondering, how long after a device has been made inactive, will it be picked up by the Apple Push Notification Service. When I first polled the feedback ...

How good is ApnsPHP?

Hi guys, I want to build a push server that can handle a heavy load of push notifications that it needs to send. I was wondering if ApnsPHP (http://code.google.com/p/apns-php/) is the right chice for me, or if I should build it using some other language. Any help or pointers would be highly appreciated! ...

Can APNS token be used by other apps to send notification?

Hello, I have an app A which is registered to apple to receive notifications and this generates "tokenA" which is passed to "providerA". Now there is a another app B which is registered to apple to receive notifications and this generates "tokenB which is passed to "providerB". So if "providerB" somehow gets hold of "tokenA" can "prov...

Identifying iPhone OS's on a Network and Sending Push Notifications

tldr; Can you identify devices on your network as an iPhone OS device easily? Can you send push notifications to devices identified as using the iPhone OS on your network without a a target app? Is is possible to identify which devices on a network are using the iPhone OS? With this information, is it possible to send push notificatio...

Setting end date for repeating local notification in iPhone OS4 SDK

In the iPhone OS4 SDK, does anyone have a suggestion for how I would implement a repeating local notification that ends on a particular date? Looking at the API documentation, there doesn't appear to be a built-in property of UILocalNotification to allow you to set an end date on a repeat. Any suggestions would be much appreciated. Th...

Is it possible to send APNS message without alert message? (data only)

I'm planning some kind of APNS service which sends a password data. But I don't want to make user's device alert any message when the app is not running. Is this possible? And how to do this? ...

Are there any tutorials or guides for setting up an Apple Push Notification server in Rails (3.0)?

I've got an app that I am building in Rails 3 (and MongoDB using Mongoid). I want to be able to send Apple Push Notifications to iOS devices. I am aware of PRX's apn_on_rails and samsoffes' apple_push_notification gems, but they do not appear to work correctly in Rails 3. Are there any tutorials out there for setting up an APN server in...

retaining a list of all local push notifications in iOS 4

As part of an app I'm writing, it keeps a list of reminders and uses local notifications to display them at the required time. What I would like to determine is a list of these notifications so that I don't have to recreate the list upon each edit or new notification. Is there any documentation or examples/tutorials that demonstrate th...

Background process to alert the user in iphone?

hi, I am developing a iphone uiwebview based application to load an web application url by getting the user credential from a login screen,as i have username and password which are required to communicate with the server on the other end with web services,i want to make an alert with some data to the user once after he logged into appl...

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...

iphone device token : can it be stored on the iPhone?

Hi, I have to developp an app that uses Push Notification in a particular way, and I had a pretty tricky question : can the device token be stored locally in the app sandbox? Here's the why : this app should implement a notification system that allows the user to subscribe for some particular events only, from the iphone. So to do so, ...

Setup iPhone Push Noification Server Proxy?

Since my webhosting site blocks port 2195, which is required for communication with Apple's push notification server, our app push notifications are not working. I've been looking all over for a solution: 1. Get a VPS (too expensive) 2. Use Urban Airship (push notification server) Does anyone know, or have experience, developing some s...

Launch iPhone app automatically when it recieves remote notification

Hi all, Is it possible to launch iPhone application automatically when it receives remote notification whether it is closed or in the background? I would appreciate your help. Thanks in advance, Sarah ...

Push Notifications not working after update to iOS 4.01

Push Notifications for a clients app were working fine on iOS 4 but when users update to iOS 4.01 they can no longer register for notifications. It looks like the phone running under iOS 4.01 is unable to generate a Device Token to give to the app. The app still shows up under the Settings->Notifications menu as being ON. Google tells ...