jitsi-meet-flutter-sdk icon indicating copy to clipboard operation
jitsi-meet-flutter-sdk copied to clipboard

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

Open Holofox opened this issue 10 months ago • 13 comments

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 avatar Apr 18 '24 09:04 Holofox

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.

Holofox avatar Apr 18 '24 09:04 Holofox

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?

saghul avatar Apr 18 '24 10:04 saghul

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 avatar Apr 18 '24 12:04 Holofox

@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.

Holofox avatar Apr 18 '24 12:04 Holofox

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

saghul avatar Apr 18 '24 12:04 saghul

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.

Holofox avatar Apr 18 '24 12:04 Holofox

It does, what version are you testing?

saghul avatar Apr 18 '24 13:04 saghul

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

Holofox avatar Apr 18 '24 13:04 Holofox

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

saghul avatar Apr 18 '24 14:04 saghul

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.

koraxis avatar Jul 11 '24 14:07 koraxis

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.

saghul avatar Jul 12 '24 07:07 saghul

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

jan10 avatar Jul 25 '24 07:07 jan10

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

Calinteodor avatar Aug 08 '24 08:08 Calinteodor