Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to return to a meeting from a push [Android] #56

Open
Holofox opened this issue Apr 18, 2024 · 13 comments
Open

Unable to return to a meeting from a push [Android] #56

Holofox opened this issue Apr 18, 2024 · 13 comments

Comments

@Holofox
Copy link

Holofox commented Apr 18, 2024

Hello!

Precondition: The app has access to push notifications.

If you connect to a meeting and minimize the application, a push notification with the connected meeting will appear in the system curtain

Actual behavior: If you tap on push notification, nothing happens. Probably due to PIP mode.
Expected behavior: If you tap on push notification, the app will open with an active meeting.

e95d4210-7b84-1f7b-ba8f-0b54998451de

Conference options:

  Future<void> joinMeet(
    Uri url, {
    bool iosScreenSharingEnabled = true,
    bool pipWhileScreenSharingEnabled = true,
    bool calendarEnabled = false,
    bool callIntegrationEnabled = false,
    bool inviteEnabled = false,
    bool iosRecordingEnabled = true,
    bool? preJoinEnabled,
  }) async {
    final options = JitsiMeetConferenceOptions(
      serverURL: url.origin,
      room: url.path.replaceFirst('/', ''),
      featureFlags: {
        FeatureFlags.iosScreenSharingEnabled: iosScreenSharingEnabled,
        FeatureFlags.pipWhileScreenSharingEnabled: pipWhileScreenSharingEnabled,
        FeatureFlags.calenderEnabled: calendarEnabled,
        FeatureFlags.callIntegrationEnabled: callIntegrationEnabled,
        FeatureFlags.inviteEnabled: inviteEnabled,
        FeatureFlags.iosRecordingEnabled: iosRecordingEnabled,
      },
      token: url.queryParameters['jwt'],
    );
    await JitsiMeet().join(options);
  }

Android version: 13 TP1A.220624.014 (MIUI Global 14.0.4)
Device: Redmi 13C.

jitsi_meet_flutter_sdk: ^0.3.0
[✓] Flutter (Channel stable, 3.19.3, on macOS 14.4.1 23E224 darwin-x64, locale ru-RU)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
@Holofox
Copy link
Author

Holofox commented Apr 18, 2024

I also noticed that if, when the application is minimized, you close the PIP window and click on the application icon, then Jitsi remains minimized and cannot be called back.

@saghul
Copy link
Member

saghul commented Apr 18, 2024

If you connect to a meeting and minimize the application, a push notification with the connected meeting will appear in the system curtain

You mean the one that says "ongoign meeting"? Or a custom one you have?

@Holofox
Copy link
Author

Holofox commented Apr 18, 2024

If you connect to a meeting and minimize the application, a push notification with the connected meeting will appear in the system curtain

You mean the one that says "ongoign meeting"? Or a custom one you have?

Probably an “ongoing meeting”, that is, after the user joins the meeting, Jitsi shows an active push notification that cannot be swiped away.

@Holofox
Copy link
Author

Holofox commented Apr 18, 2024

@saghul, when you click push, an error occurs:

2024-04-18 17:24:23.839  1416-2076  ActivityStarterImpl     system_server                        E  Error: Activity class {com.example/org.jitsi.meet.sdk.JitsiMeetOngoingConferenceService} does not exist.

@saghul
Copy link
Member

saghul commented Apr 18, 2024

Oh, that is really weird. Can you reproduce the same problem in the official Jitsi Meet app?

@Holofox
Copy link
Author

Holofox commented Apr 18, 2024

Oh, that is really weird. Can you reproduce the same problem in the official Jitsi Meet app?

The official app does not request access to notifications, so the notification is not shown there.

@saghul
Copy link
Member

saghul commented Apr 18, 2024

It does, what version are you testing?

@Holofox
Copy link
Author

Holofox commented Apr 18, 2024

@saghul, version app 24.0.1 build 16402670 (version sdk not showed)

@saghul
Copy link
Member

saghul commented Apr 18, 2024

Hum, you're right, something is going on. Thanks for the report!

@koraxis
Copy link

koraxis commented Jul 11, 2024

Is there any update on this? We are experiencing the same issue with the jitsi_meet_flutter_sdk 0.4.2. The Android ongoing notification tap does not bring the user back to the app or the call.

@saghul
Copy link
Member

saghul commented Jul 12, 2024

We are going to release a new SDK version next week, which should fix this.

@Calinteodor pl post an update here once it's out.

@jan10
Copy link

jan10 commented Jul 25, 2024

@saghul thank you very much! I have the same problem.

@Calinteodor
Copy link
Contributor

Jitsi Meet SDK Android and iOS 10.0.0 have been released. You can check the full release log right here
https://github.com/jitsi/jitsi-meet-release-notes/blob/master/CHANGELOG-MOBILE-SDKS.md#1000-2024-08-07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants