O link dinâmico do Firebase não abre o aplicativo

Eu desenvolvi um aplicativo para Android localmente no meu dispositivo (aplicativo ainda não está na loja de jogos Android). Eu tenho a seguinte lógica para obter link direto no MainActivity.

GoogleApiClient mGoogleApiClient = new GoogleApiClient.Builder(this)
            .enableAutoManage(this, null)
            .addApi(AppInvite.API)
            .build();

    // Check if this app was launched from a deep link. Setting autoLaunchDeepLink to true
    // would automatically launch the deep link if one is found.
    boolean autoLaunchDeepLink = false;
    AppInvite.AppInviteApi.getInvitation(mGoogleApiClient, this, autoLaunchDeepLink)
            .setResultCallback(
                    new ResultCallback<AppInviteInvitationResult>() {
                        @Override
                        public void onResult(@NonNull AppInviteInvitationResult result) {
                            if (result.getStatus().isSuccess()) {
                                // Extract deep link from Intent
                                Intent intent = result.getInvitationIntent();
                                String deepLink = AppInviteReferral.getDeepLink(intent);

                                Toast.makeText(getApplicationContext(), deepLink, Toast.LENGTH_LONG).show();
                                // Handle the deep link. For example, open the linked
                                // content, or apply promotional credit to the user's
                                // account.

                                // ...
                            } else {
                                Log.d(TAG, "getInvitation: no deep link found.");
                            }
                        }
                    });

Criei alguns links dinâmicos usando o console do Firebase e abri no navegador móvel. Mas não está abrindo meu aplicativo e atingindo a linha String deepLink = AppInviteReferral.getDeepLink (intent);

Em vez disso, está abrindo o URL no próprio navegador móvel.

Como abrir o aplicativo e lidar com o link direto em atividade enquanto usa o link dinâmico do firebase?

Editar:

Eu tenho filtro de intenção no arquivo de manifesto.

<activity android:name="MainActivity"
        android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
            <action android:name="android.intent.action.VIEW"/>
            <category android:name="android.intent.category.DEFAULT"/>
            <category android:name="android.intent.category.BROWSABLE"/>
            <data android:host="example.com" android:scheme="http"/>
            <data android:host="example.com" android:scheme="https"/>
        </intent-filter>
    </activity>

questionAnswers(5)

yourAnswerToTheQuestion