Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

RemoteNotifier not working on 16.0.0.259

Explorer ,
Jan 14, 2015 Jan 14, 2015

I tried to switch SDK to 16 because of 64bit support but RemoteNotifier seems to NOT working.

Code:

if(RemoteNotifier.supportedNotificationStyles.toString() != " ") {

   var preferredStyles:Vector.<String> = new Vector.<String>();

   preferredStyles.push(NotificationStyle.ALERT);//, NotificationStyle.BADGE, NotificationStyle.SOUND);
   _subscribeOptions = new RemoteNotifierSubscribeOptions();

   _subscribeOptions.notificationStyles = preferredStyles;

   _remoteNotifier = new RemoteNotifier();

   _remoteNotifier.addEventListener(RemoteNotificationEvent.TOKEN, tokenHandler);

   _remoteNotifier.addEventListener(StatusEvent.STATUS, statusHandler);

  _remoteNotifier.subscribe(_subscribeOptions);

}

No handler is called. My app freeze because no status neither token is received.

I tried it only on iOS.

Could you help me please?

TOPICS
Air beta
561
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 20, 2015 Jan 20, 2015

I have also switched to the latest release of AIR SDK 16 and RemoteNotificationEvent.TOKEN is not being fired.

IT was working fine on AIR SDK 15.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 21, 2015 Jan 21, 2015
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines