No passcode dialog when join meeting when use NewMeetingActivity

Hi, I have sub-classed the SDK activity to display the meeting when started or joined. I was using the deprecated MeetingActivity but now am replacing it with NewMeetingActivity.

However, there’s a problem when I join a remote meeting. Most times I build the app the passcode dialog does not show (see image), and the meeting is stuck with a blank screen and just the “Preparing meeting” message. I can cancel it but not join without the passcode.

But it’s not clear why this happens, and it’s very hard to reliably reproduce. I thought it might be some dependency issue or a problem with using Kotlin or Jetpack Compose, or Hilt dependency injection. But after making various trials with the sample app and making all the changes to bring my app and the sample in line, I still cannot reliably build the app and it work correctly.

And it gets very strange, sometimes it works, and continues to build and work fine. I found if I do a release build, sometimes that breaks it. And once it’s broken it does not easily fix itself, even after completely removing the app and even after factory reset. I also found that the release build does work fine at other times.

An additional complication is my app is a launcher app, and installed in a custom AOSP build. It is signed with the platform key to receive permissions it needs. I have seen it build and the dialog work fine both with and without the platform signature, but very often after signing it does fail to work. And after a full AOSP build it never seems to work.

This seems to be a complex problem, something I can’t determine is causing the failure. Unfortunately, I see nothing useful in the logs when it fails.

Please can you suggest anything that might cause the dialog not to appear? And is there some way to generate more logging to see if the SDK is reporting an error?

I’m using Meeting SDK for Android, version: