Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Bug logged under:
Find more inspiration, events, and resources on the new Adobe Community
Explore Now