[MailKit] MEMessageSecurityHandler primaryActionClicked crashes Mail when completionHandler called with nil

I'm working on a MailKit extension and I'm getting a full Mail crash every time I click the Primary Action button in my message banner.

I have filed a feedback: FB22513160

Apple's own unsubscribe banner successfully presents a confirmation modal when its primary action is clicked, demonstrating that this flow is intended to work. That behavior does not appear to be accessible to third-party extensions via the documented EMessageSecurityHandler API. Or if it is and I'm missing something, I'd love to know.

Thanks!

I have exactly the same issue

Any updated on this from Apple?

Thanks so much for the bug and the post.

It appears, right now, that this is a known issue that the team is currently reviewing a solution and a workaround. I recommend that @notihnio file a bug that we can route to that team to manage. You will then receive direct communication from them using the Feedback Assistant.

@breakofdawn

You can see the status of your feedback in Feedback Assistant. There, you can track if the report is still being investigated, has a potential identifiable fix, or has been resolved in another way. The status appears beside the label "Resolution." We're unable to share any updates on specific reports on the forums.

For more details on when you'll see updates to your report, please see What to expect after submission.

Albert  WWDR

[MailKit] MEMessageSecurityHandler primaryActionClicked crashes Mail when completionHandler called with nil
 
 
Q