jitsi / jitsi-meet-flutter-sdk

Jitsi Meet plugin for Flutter
Apache License 2.0
44 stars 33 forks source link

External meeting window and not closed after terminating #92

Open a7mdragab1 opened 1 month ago

a7mdragab1 commented 1 month ago

Dears, I have aproblem with the package!

when upgrading to any version more than jitsi_meet_flutter_sdk: 0.4.2

The meeting is opened in a separate screen, but when the meeting ends, the screen is not removed from the background. If clicked, it reopens the meeting.

Look at this scenario image

So, I am stuck at this version.

This is the basic example in docs

var jitsiMeet = JitsiMeet();
var options = JitsiMeetConferenceOptions(
  serverURL: "https://meet.jit.si",
  room: "jitsiIsAwesomeWithFlutter",
  configOverrides: {
    "startWithAudioMuted": false,
    "startWithVideoMuted": false,
    "subject": "Jitsi with Flutter",
  },
  featureFlags: {"unsaferoomwarning.enabled": false},
  userInfo: JitsiMeetUserInfo(displayName: "Flutter user", email: "user@example.com"),
);
jitsiMeet.join(options);

Even I tried serverURL with my url, both have the same behavior

Calinteodor commented 1 month ago

I managed to test using the below configuration and an Android 14 device

image

and the sample app right here https://github.com/jitsi/jitsi-meet-sdk-samples/tree/master/flutter.

I customised prosody to accept the end conference feature and I am unable to encounter what you are saying.

When I end meeting for all, all participants are thrown out of the meeting view, and I, the moderator, from flutter, get an OK dialog and when I press it I navigate back to the main view. No other views remain open in the background.

Maybe try to cover the steps that I mentioned above and see if you get the same result with your customised server.

a7mdragab1 commented 1 month ago

I managed to test using the below configuration and an Android 14 device

image

and the sample app right here https://github.com/jitsi/jitsi-meet-sdk-samples/tree/master/flutter.

I customised prosody to accept the end conference feature and I am unable to encounter what you are saying.

When I end meeting for all, all participants are thrown out of the meeting view, and I, the moderator, from flutter, get an OK dialog and when I press it I navigate back to the main view. No other views remain open in the background.

Maybe try to cover the steps that I mentioned above and see if you get the same result with your customised server.

Thanks for your reply Can you upgrade to latest flutter and try creating a new project and copy that code to it and try

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 3.26.0-0.1.pre, on Microsoft Windows [Version 10.0.22631.4317], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.4)
[√] Android Studio (version 2024.2)
[√] VS Code (version 1.94.2)
[√] Connected device (5 available)
[√] Network resources

• No issues found!
saghul commented 1 month ago

Quick question: does the screen disappear when you tap on the ok button in the dialog?

a7mdragab1 commented 1 month ago

Quick question: does the screen disappear when you tap on the ok button in the dialog?

No, this exactly what I am doing to reproduce the image in the question It returns to the main app but keeps another window opened for the meeting

a7mdragab1 commented 1 month ago

I customised prosody to accept the end conference feature and I am unable to encounter what you are saying.

What is meant by that?

Calinteodor commented 1 month ago

I managed to test using the below configuration and an Android 14 device image and the sample app right here https://github.com/jitsi/jitsi-meet-sdk-samples/tree/master/flutter. I customised prosody to accept the end conference feature and I am unable to encounter what you are saying. When I end meeting for all, all participants are thrown out of the meeting view, and I, the moderator, from flutter, get an OK dialog and when I press it I navigate back to the main view. No other views remain open in the background. Maybe try to cover the steps that I mentioned above and see if you get the same result with your customised server.

Thanks for your reply Can you upgrade to latest flutter and try creating a new project and copy that code to it and try

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 3.26.0-0.1.pre, on Microsoft Windows [Version 10.0.22631.4317], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.4)
[√] Android Studio (version 2024.2)
[√] VS Code (version 1.94.2)
[√] Connected device (5 available)
[√] Network resources

• No issues found!

I am already using latest flutter version. The difference is that I use a stable version and you are using beta. Please try switching to a stable version. Also when testing, please try to use a physical device which is more accurate. image