Shared link does not join the meeting directly

Hi all,

I’m using jitsi sdk, when I shared link for invite someone to my ongoing meeting, the user that invited does not join meeting directly. It redirects to login menu ( conference name entering).

I’ve try to make changes to own MainActivity. How can i handle onNewIntent myself on the main activity and then do a JitsiMeetActivity.launch with the URL?

Here is my code that have tried.

    @Override
    public void onNewIntent(Intent intent) {
        super.onNewIntent(intent);

        Uri uri = intent.getData();
        if (uri != null) {
            JitsiMeetConferenceOptions options = new JitsiMeetConferenceOptions.Builder()
                    .setRoom(uri.toString()).build();
            JitsiMeetActivity.launch(this, options);
            finishAffinity();
        }
    }