Air 3.4 iOS Push Notification is not fired when app is not running and is not in background

Hello,
I'm making an Air iOS application which uses the iOS Push Notification from Air 3.4.
All is working perfectly except when I receive notifications when the app is not running and is not in background (The app is killed).
I suppose the RemoteNotificationEvent.NOTIFICATION must be dispatched when I receive a notification even if my app is not currently running or in background ?
Do you have already get the same issue ? Do you know what can prevent the notification to be handled ?
Thanks,
Loïc

issue has been fixed in the build available at http://labs.adobe.com/downloads/air3-5.html.
You would now have to attach listener to InvokeEvent. For cases, when application is killed, InvokeEventReason will be InvokeEventReason.NOTIFICATION. The notification payload can be accessed by the following code
protected function onInvokeEvent(event:InvokeEvent):void
     trace("Invokehandler called .... \n");
     trace("reason: " + event.reason + "\n");
     if( event.reason == InvokeEventReason.NOTIFICATION)
                    var payload:Object = Object(event.arguments[0]);
          for (var i:String in payload)
                trace("Key:value pair " + i + ":" + payload[i] + "\n");
          // TODO: DO THE NEEDFUL ON RECIEVING A NOTIFICATION HERE

Similar Messages

Maybe you are looking for

  • 802.1x authentication for LAN base hosts

    How can I get  Cisco Secure Services Client (SSC) ? What is the product code for the software and is it free or do we need a licence? Could you please send me If you happen to have information on how it works and known design issues with the SSC. Che

  • Cannot export the framemaker graphic element

    Hi you, I need some help for exporting graphics on translation to XML. In general FM exports a changed graphic into a new *.cgm file. This works. Now I'd like to change the format to eps and wrote the read/write rules:      element "Grafik" { is fm g

  • Rewrite rule in mappings file

    hi all, in iMS 5.2, can any one suggest me how to write a rule in mapping file so that any mail sent from a particular user (say [email protected]) is also sent (i.e. Bcc 'd ) to [email protected] in addition to the "To:" address which the mail actua

  • Create SDO_GEOMETRY from existing adding SRID

    Hi, I have a SDO_GEOMETRY without an SRID in it, and I need to call like in the following statement : SELECT A.G3E_FID, SDO_UTIL.TO_WKTGEOMETRY( SDO_LRS.CONVERT_TO_STD_GEOM( SDO_CS.transform( a.g3e_geometry, 28992))) g3e_geometry, 28992 srid FROM las

  • About 3 payment of 6.99 on credit card when i look at my account last transaction on my account was in October

    Trying to find out abouit 3 payments taken on my credit card bill in december for 6.99 the dates are 15th,19th and 22nd . when i look at my itunes account it showed no transaction since October . thank you