Zoom SDK Crash in ios swift


crashes when app is in background

implemented these methods in the notification

@objc func controllerwillEnterForeground() {
	@objc func willResignActive() {
		MobileRTC.shared().getMeetingService().delegate = nil
	@objc func controllerDidGoesBackground() {

	func joinMeeting() {
		guard let meetingService = MobileRTC.shared().getMeetingService() else { return }
		meetingService.delegate = self
		let paramDict: [String : Any] = [
			kMeetingParam_Username : "Test",
			kMeetingParam_MeetingNumber : "*******"
		let returnValue = meetingService.joinMeeting(with: paramDict)
		guard returnValue == MobileRTCMeetError_Success else {
			print("Zoom: Join meeting task failed, error code: \(returnValue.rawValue)")
		print("Zoom: Join meeting task completed. \(returnValue.rawValue)")

Hi premium,

Thanks for the post and providing the code snippet. Would you mind filling out the following contents so that we can look into the crashing issue you are facing? I have already filled out some part for you. Besides the contents, could you also provide:

Contents need:

An app that is developed with Swift and using Zoom iOS SDK crashes when the app is in the background(And the meeting is on?).

Which version?
Knowing the version can help us to identify your issue faster.

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.