RemoteNotifier not working on 16.0.0.259
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?
