findmate / cordova-plugin-jitsi-meet

Cordova plugin for jitsi meet react native sdk
17 stars 21 forks source link

No events/data returning in the callback #9

Open HarshMalve opened 4 years ago

HarshMalve commented 4 years ago

Hello, I am able to join a meeting using the below code, But there are _no events/data, eg. "CONFERENCE_WILL_LEAVE"_, returned in the callback. Tried debugging in chrome but the debugger won't stop where the if-condition is written and directly opens/closes the intent. Is there a way to get these events as it will be really very helpful in deciding what action to take while joining/terminating a meeting.

Thank you.

jitsiplugin.loadURL('https://meet.jit.si/' + roomId, roomId, false, function (data) {
    if (data === "CONFERENCE_WILL_LEAVE") {
        jitsiplugin.destroy(function (data) {
            // call finished
        }, function (err) {
            console.log(err);
        });
    }
}, function (err) {
    console.log(err);
});
gdiodati commented 3 years ago

Hi @HarshMalve Could you solve this issue? Do you mind telling me how? Thank you!