Closed richpixel closed 6 years ago
Have you tried not using weak references? These may be removed by AIR inadvertently.
ie.:
Message.service.addEventListener( MessageEvent.MESSAGE_MAIL_COMPOSE_CANCELLED, onComposerClosed );
Thanks for the reply...
I realize I must have been asking for deprecated events, and needed to listen for MESSAGE_MAIL_COMPOSE. The following code does indeed work:
Message.service.addEventListener( MessageEvent.MESSAGE_MAIL_COMPOSE, onComposerClosed);
Ah, those aren't events you were listening for but the returned event states! Sorry I missed that.
When I open the native email composer on iPad, none of the events ever get triggered. Everything functions perfectly. I'm assuming I'm not setting up the events properly but I couldn't find any sample code that does it. Thanks.