question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS] App crashes after calling jitsiMeetView?.retrieveParticipantsInfo()

See original GitHub issue

Description:

I have upgraded to v3.1.0 in order to get the new SDK feature retrieveParticipantsInfo(), but the app crashes after being called.

Steps to reproduce:

  1. Create and join a conference:
let jitsiMeetView = JitsiMeetView(frame: CGRect(x: 0, y: 0, width: 300, height: 200))
jitsiMeetView.delegate = self
let ui = JitsiMeetUserInfo(displayName: "my name", andEmail:"my@email.com", andAvatar: nil)
let options = JitsiMeetConferenceOptions.fromBuilder({ builder in
    builder.serverURL = URL(string: "https://meet.jit.si")
    builder.room = "my_personal_room_3"
    builder.subject = "Room"
    builder.token = nil
    builder.audioMuted = false
    builder.videoMuted = false
    builder.setFeatureFlag("chat.enabled", withBoolean: true)
    builder.setFeatureFlag("invite.enabled", withBoolean: true)
    builder.setFeatureFlag("JMCallKitProxy.enabled", withBoolean: false)
    builder.userInfo = ui
})
jitsiMeetView.join(options)
  1. Wait for the meeting for setting up…
  2. Try to get the participants array
jitsiMeetView?.retrieveParticipantsInfo({ (d:[Any]?) in
            print("Retrieved!")
})

Expected behavior:

It should output the message “Retrieved!” in the debug log

Actual behavior:

App crashes with no message (AppDelegate) Captura de pantalla 2021-02-07 a las 14 02 09

Client information:

  • Jitsi Meet version: iOS SDK 3.1.0
  • Crashes on iOS simulator and on iPhone X device. iOS versions 13.2 and 14.3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
tmoldovan8x8commented, Feb 9, 2021

Thanks @jsearle for signalling this. There was a problem with the way the completion blocks are handled on Swift. Merged the fix and we’ll release a new SDK asap.

0reactions
stale[bot]commented, Jan 8, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[iOS] App crashes after calling jitsiMeetView ... - Bountysource
I have upgraded to v3.1.0 in order to get the new SDK feature retrieveParticipantsInfo(), but the app crashes after being called. Steps to ......
Read more >
App crashing immediately on start up after upgrading to iOS12.
Running fine in simulator but crashes in device. No crash logs recorded. In line error shown after launching the app Thread 1: EXC_BAD_ACCESS...
Read more >
App Center Crashes for iOS - Microsoft Learn
App Center Crashes will automatically generate a crash log every time your app crashes. The log is first written to the device's storage...
Read more >
YouTube says it has fixed its iOS app after users reported ...
YouTube says it has fixed its iOS app after many users reported the app was crashing. It's unclear exactly how widespread the problem...
Read more >
iOS - Storyboard Error occur app crash during app launching
This kind of crash occurs on some devices when you don't update UI on main thread. Check BaseCollectionViewCell and for all UI operations ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found