Firebase dynamic link not opening the app <p>I have developed installed an android app locally on my device. (app not yet on android play store). I have the logic to get deep link in MainActivity.</p> <pre><code>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&lt;AppInviteInvitationResult&gt;() { @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."); } } }); </code></pre> <p>I built some dynamic links using Firebase console and open in mobile browser. But it is not opening my app and reaching to line String deepLink = AppInviteReferral.getDeepLink(intent);</p> <p>Instead it is opening the URL in mobile browser itself.</p> <p>How to open the app and handle deep link in activity while using firebase dynamic link??</p> <p>Edit:</p> <p>I habe intent filter also in manifest file.</p> <pre><code>&lt;activity android:name="MainActivity" android:label="@string/app_name"&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;action android:name="android.intent.action.VIEW"/&gt; &lt;category android:name="android.intent.category.DEFAULT"/&gt; &lt;category android:name="android.intent.category.BROWSABLE"/&gt; &lt;data android:host="example.com" android:scheme="http"/&gt; &lt;data android:host="example.com" android:scheme="https"/&gt; &lt;/intent-filter&gt; &lt;/activity&gt; </code></pre>