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.

Mobile Jitsi Meet SDK not honoring disablednotifications for kickParticipant

See original GitHub issue

Description:

When using the JitsiMeet SDK on Android and iOS version 6.0.0 it looks like the config disabledNotifications is not honoring kickParticipant.

Note: We did not test others notifications keys, however kickParticipant does appear to work properly on the browser.

Expected behavior:

The dialog should not be displayed

Actual behavior:

The dialog is displayed. image

Details:

This was tested with the following keys: (none seemed to have any any impact)

  • dialog.kickParticipantTitle
  • notify.kickParticipant
  • dialog.kickTitle
  • dialog.kickParticipantDialog
  • dialog.kickMessage

This was testing in the following scenarios:

Scenario 1 - meet.jit.si + JitsiSDKTest w/setConfigOverride

https://meet.jits.si with the JitsiSDKTest mobile app.

JitsiMeetConferenceOptions *defaultOptions
        = [JitsiMeetConferenceOptions fromBuilder:^(JitsiMeetConferenceOptionsBuilder *builder) {
            builder.serverURL = [NSURL URLWithString:@"https://meet.jit.si"];
            [builder setFeatureFlag:@"welcomepage.enabled" withBoolean:NO];
          [builder setConfigOverride:@"disabledNotifications" withArray:[NSArray arrayWithObjects:@"dialog.kickParticipantTitle", @"notify.kickParticipant", @"dialog.kickTitle", @"dialog.kickParticipantDialog", @"dialog.kickMessage",  nil]];
        }];
    [JitsiMeet sharedInstance].defaultConferenceOptions = defaultOptions;

Scenario 2 - selfhosted + custom app with SDK w/disabledNotifications added to config.js

Our server running version 2.0.7648 and using the SDK 6.0.0

We have modified the config.js to include the following:

...
disabledNotifications: [
        'notify.kickParticipant',
        'dialog.kickParticipantTitle',
        'dialog.kickTitle',
        'dialog.kickParticipantDialog',
        'dialog.kickMessage',
    ],
...

Also See:

https://community.jitsi.org/t/mobile-jitsi-meet-sdk-should-disablednotifications-be-honored/116942

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
saghulcommented, Sep 7, 2022

No worries. We’ll keep this open and get to it when we can.

0reactions
corby-githubcommented, Sep 7, 2022

Unfortunately, not at this point due to the contributor agreements. I will let you know when that changes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mobile Jitsi Meet SDK - Should 'disabledNotifications' be ...
When a user is kicked from the conference the message is still displayed. Is disabledNotifications something thats only honored in the web app?...
Read more >
Jitsi Android SDK crashes (version 6.1.0) after joining call
I am trying to integrate Jitsi Android SDK for video Conferences on my app but it crashes as soon as I join/create a...
Read more >
Android SDK | Jitsi Meet - GitHub Pages
Android SDK. The Jitsi Meet Android SDK provides the same user experience as the Jitsi Meet app, in a customizable way which you...
Read more >
How to Build a Video Calling Android App with Jitsi Meet SDK?
Video Calling becomes a most demanding feature in many social media apps like WhatsApp, Instagram, Facebook, etc. Not only this but also ...
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