App Irresponsive after MobileRTC integration


#1

I have integrated MobileRTC by carefully following the iOS Master sample project. App works fine when there is data connection (Mobile or WI-FI) but once data (is disabled - Mobile /WI-FI turned off), my entire App becomes irresponsive. Just gets stucked on whatever view I’m on at that moment. MobileRTC doesn’t work without internet of course but why does my entire App become irresponsive. Please note my app works fine even without internet before I integrated MobileRTC. Is this something about authentication error catching/handling. Please help out.
Thanks.


#2

Additional error information with screenshots here. Thanks.


#3

Please help to confirm the following things:

  1. iOS SDK should be integrated within main thread;

  2. Call some interfaces in AppDelegate, such as: 

[[MobileRTC sharedRTC] appWillResignActive];

[[MobileRTC sharedRTC] appDidEnterBackgroud];

[[MobileRTC sharedRTC] appDidBecomeActive];

[[MobileRTC sharedRTC] appWillTerminate];

Please refer to our sample project.


#4

Thanks for your suggestions. I have checked the following;

2. Call some interfaces in AppDelegate, such as: 

[[MobileRTC sharedRTC] appWillResignActive];

[[MobileRTC sharedRTC] appDidEnterBackgroud];

[[MobileRTC sharedRTC] appDidBecomeActive];

[[MobileRTC sharedRTC] appWillTerminate];

All looks good within my app delegate methods.

But about _ No.1. iOS SDK should be integrated within main thread; _

Kindly provide explanation on how to do this I’m not sure.

Also, I have just unzipped the ios-mobilertc-all-4.1.20273.0206-n.zip from Zoom’s github page. Then Run the project, after some seconds while Internet was turned off, I saw this same error screen and app simulator became irresponsive. Screenshot below.