Skip navigation
bmilesp2
Currently Being Moderated

iOS Push Notification classes no longer supported in Air 3.8?

Nov 7, 2013 2:45 PM

Tags: #air #flex #ios #4.6 #flex4.6 #3.8 #push_notifications

I've asked this yesterday without a reply yet, and i realized i may have phrased that question incorrectly. So, I was trying to use the example code in this tutorial here:

 

http://www.adobe.com/devnet/air/articles/ios-push-notifications.html

 

but Flex (4.6.0 with Flash Builder) will not find and import the following files when i debug in the iOS iPhone simulator, nor will the autocomplete see them. However when i look in the file explorer and navigate to the airglobal.swc i can see the packages and classes in there. The following classes that are not recognized iare listed below:

 

import flash.events.RemoteNotificationEvent

import flash.notifications.NotificationStyle

import flash.notifications.RemoteNotifier

import flash.notifications.RemoteNotifierSubscribeOptions

 

I triedd to clean the project with no avail. I debug the project and receive the following error: Error #1014: Class flash.notifications::RemoteNotifierSubscribeOptions could not be found.

 

I can only guess that Air 3.8 does not support these classes? are there new classes i should be using? I'm completely lost here.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points