apple-push-notifications

iPhone - APNS Ports Incoming or Outgoing

Hi guys, i have limited access to the ports in my network so i need to know exactly which ports are outgoing/incoming or both. 2195,2196,30 (Used in PushMeBaby as SSLServerDomainName) , 5223(for device to receive PNS while in wifi network). ...

How do you test iphone push notification feedback service

Hi guys, I need a way to test Push notification feedback service. I can send the notifications fine. I installed the app using XCode to my dev IPod, sent push notifications just fine, the app received them ok. I uninstalled the app, sent a few push notifications. Then tried the feedback service, but no luck. I do not receive any byte...

Java library for managing Apple Push Notifications

Hello all I found out that there are 2 open source projects I can use: javapns (http://code.google.com/p/javapns/) and java-apns (http://github.com/notnoop/java-apns) Both of them are pretty good, but do not handle error responses. When you compose a payload in enhanced format, you can include an identifier with the payload and send it...

iPhone - App still running, recieve push notification = change view

hi guys, im trying to upon recieve a push notification while the app is still running, change view . I tried using this in the AppDelegate.m -(void)application:(UIApplication *)application didRecieveNotification:(NSDictionary *)userInfo { TestClass *aTestClassViewController = [[TestClass alloc]initWithNibName:@"TestClass" bundle:nil]; ...

Multiple App Support Using APN on Rails Gem

Hello, I have a couple iPhone apps talking to one ruby on rails server. I have been using the apn_on_rails gem by mark bates/PRX (http://github.com/PRX/apn_on_rails) to offer push notifications to both apps. The README specifies how to support one app, but I need to support two apps. Not only that, but I would like to send out these not...

Dreaded "The executable was signed with invalid entitlements"

Hi, i have the "The executable was signed with invalid entitlements" error. The error only occurs when im trying to set TRUE to the Entitlements.plist of get-task-allow. The reason for trying to do this is because im trying to get the device token to be shown in the console, using the device token later for push notifications. Though, ...

iPhone Push Notifications for production

Hey everyone, I'm trying to integrate push notifications into my upcoming app and have been looking around at possible options. I've seen AppNotify and Urban Airship, but honestly? I'm not keen on paying if I can avoid it - is there a free way to send push notifications once in distribution or not? I've managed to get it running on a 1 ...

Iphone 4 sdk - How can I find out if applicationWillEnterForeground was triggered due to a notification?

Hi, I am using the notification system as an alerting mechanism. If the app is off or in the background, the iphone alerts the user when a notification comes in. If the app is running and in the foreground I want to show the same alert view as if it was off. I cannot get this to work for the case where the app transitions from the backg...

iPhone bundle display and local notification title

Is the title for a notification (push or local) always the bundle display name? I have shortened the bundle display name, but would like the local notifications to display the full bundle name. ...

iphone : precisely timed alarms or alerts

What are the options(if any) for precisely timed alarms or alerts from within an iphone app? My app may need to alert the user in 30 seconds or 5 hours and 23 seconds. I assume for shorter times I could just use NSTimer, but what is the cutoff point(if there is one) for a timer to be fired within the app? For longer timed alarms or ale...

iOS4 reset app push notification settings

I need to reset the push notification settings of one app on the iPhone. The path " /private/var/mobile/Library/RemoteNotification/Clients.plist " mentionned in this thread " http://stackoverflow.com/questions/2438400/reset-push-notification-settings-for-app " seems to have changed since iOS4. Does anyone know of to reset/remove the pu...

Push notification during call - iPhone

What happens if I send a push notification to the iPhone and it's during a call, or during incoming call? would it popup on the screen and show the notification to the user? ...

How do i check whether my current navigationController.view = a classes.view? Reason = push notifications. + iphone

Hi guys, so basically in my app delegate i have a navigation.controller This navigation controller has a view of a class named MainScreen. In MainScreen.m , i have a IBAction which will bring me to a SelectionScreen.m page by pushing it. here is the coding for it SelectionScreen *aSelectionScreenViewController = [[SelectionScreen al...

Generic iPhone Push Application

Hi guys. This is not a development-based question. I am looking for an iPhone application which can offer a push protocol to my iPhone via is API. I mean lets say I will integrate its API to my arbitrary program and I'll push some notifications via API then its client running on my iPhone/iPod Touch/iPad will show me the notifications....

Program for iphone push notifications

Hi, I'm trying to send push notifications to an app. The program, PushMeBaby, which a co-worker of mine used does not seem to work anymore. I get an -909 error from the SSLwrite command. I couldn't figure out the meaning of it. Does anyone know a good tool/program that sends push notifications to the APNs-server? or has anyone know, wha...

Apple Push Notification service, tutorials and libs

Hi, I try to implement a push notification service in my iPhone app... Do you have any valuable bookmarks on this subject ? (like tutorials or libs for client or server side) Here is what i found... Server side libs : http://code.google.com/p/apns-php/ (PHP) http://code.google.com/p/easyapns/ (PHP) http://github.com/simonwhitaker/...

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

Apple push notification service - no notification on device

enter code hereHi guys, this problem is driving me crazy. I'm implementing APNS. I already google and followed several tutorials. I implemented the server an it seems to work find here is the code: <?php $deviceToken = 'XXXX'; // Passphrase for the private key (ck.pem file) // $pass = ''; // Get the parameters from http g...

Custom Apple Push Notification Server vs Urban Airship and likings

I need to implement the push notifications for one of my projects. Some of the possibilities I evaluated are: building my own APN sending script on the server using Urban Airship Which one would you guys recommend and why? NB. I know Urban Airship costs a bit, but assume that the 1 mil free notifications are enough for me. ...