title: Firebase dynamic links is not launching my app in specific situation
body: <p>I've made a dynamic link for users to share some contents in my app.</p>
  
  <p>The link is working when I click a link in an HTML page using <code>href</code> tag on Android device.</p>
  
  <p>It means, if the app is not installed, go to Play Store, else opening the app and I could receive deep link address.</p>
  
  <p>But when the link is exactly same on other places like a facebook messenger or email etc. I click the link, then it's not working.</p>
  
  <p>It's always redirected to Play Store even if my app is already installed.</p>
  
  <p>What's the problem?</p>
  
  <p>My code is here.</p>
  
  <ul>
  <li><p>.java for receiving deep link</p>
  
  <pre><code>GoogleApiClient mGoogleApiClient = new GoogleApiClient.Builder(this)
          .enableAutoManage(this, this)
          .addApi(AppInvite.API)
          .build();
  
  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);
  
                              Log.e("sf", "### deep link : " + deepLink );
                          } else {
                              Log.d("asdf", "getInvitation: no deep link found.");
                          }
                      }
                  });
  </code></pre></li>
  <li><p>intent part of activity in AndroidManifest.xml</p>
  
  <pre><code>    &lt;intent-filter&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="mycode.app.goo.gl/"
              android:scheme="https"
              android:pathPattern=".*" /&gt;
      &lt;/intent-filter&gt;  
  </code></pre></li>
  <li><p>dynamic link <p><a href="https://mycode.app.goo.gl/?link=" rel="noreferrer">https://mycode.app.goo.gl/?link=</a><code>web page address</code>&amp;al=<code>my custom scheme for sharing</code>&amp;apn=<code>my android app's package name</code></p></p></li>
  </ul>