Description
For quite some time the largest crash by incident count in our app has been due to an unrecognized selector SIGABRT originating in the MobileRTC code. We have finally been able to reproduce it reliably. Specifically, it appears that the Zoom SDK is attempting to access the rootViewController property of one of our UIViewController instances. Since rootViewController is not defined on UIViewController it would crash with “unrecognized selector sent to instance”.
Which iOS Meeting SDK version?
All recent SDKs.
To Reproduce(If applicable)
On the web, sign in to Zoom account
Navigate to User Management > Groups > View the group in the list > Meeting
Enable the setting “Show a custom disclaimer when starting or joining a meeting”
Set it to appear for all users, every time, and add a message
In the SDK, enable custom meeting UI (the issue only appears with custom enabled). When joining a meeting you will be prompted to agree to the disclaimer. Agree. It may take joining and leaving the meeting a couple times when it will crash due to the issue mentioned above. Can happen on the first attempt, usually happens for me on the second attempt, I’ve never failed to recreate it with at least 5 attempts.
Smartphone (please complete the following information):
Thank you for posting on our dev forum.
I tested a few times using our sample App and was not able to reproduce the crash . Were you able to reproduce it with our sample App?
Thank you
We think we’ve found the difference. In the sample app, the custom UI view controller has its view added directly to the main view controller’s view. Whereas in our app, we use present to present our custom UI view controller as a full screen modal. If you wanted to make this work for truly custom UI, it would be great if it supported using present. Everything else seems to work perfectly except for this one case of having a custom disclaimer. It’s only in this case that we are seeing crashes.