title: How get extra parameter from dynamic link using Firebase?
body: <p>I have created dynamic link manually and i set some additional parameters on the link, like this: <a href="https://XXXXX.goo.gl/?link=https%3A%2F%2Fairbanq.send.com%2Fsendmoney&amp;apn=com.xxxx.xxxx&amp;amv=1&amp;username=Adri&amp;amount=7.00" rel="noreferrer">https://XXXXX.goo.gl/?link=https%3A%2F%2Fairbanq.send.com%2Fsendmoney&amp;apn=com.xxxx.xxxx&amp;amv=1&amp;username=Adri&amp;amount=7.00</a></p>
  
  <p>But when the app is opened i just get: "https:// airbanq.send.com/sendmoney"
  without the addiotional parameters</p>
  
  <p>i am using this sample code
  <a href="https://github.com/firebase/quickstart-android/tree/master/dynamiclinks" rel="noreferrer">https://github.com/firebase/quickstart-android/tree/master/dynamiclinks</a></p>
  
  <p>any help please,</p>
  
  <p>Thanks</p>
  
  <p>My code</p>
  
  <pre><code>public String buildDeepLink() {
      // Get the unique appcode for this app.
      String appCode = AirBanqApp.mContext.getString(R.string.app_code);
  
      // Get this app's package name.
      String packageName = AirBanqApp.mContext.getPackageName();
  
      // Build the link with all required parameters
      Uri.Builder builder = new Uri.Builder()
              .scheme("https")
              .authority(appCode + ".app.goo.gl")
              .path("/")
              .appendQueryParameter("link", deepLink)
              .appendQueryParameter("apn", packageName);
  
      // If the deep link is used in an advertisement, this value must be set to 1.
      if (isAd) {
          builder.appendQueryParameter("ad", "1");
      }
  
      // Minimum version is optional.
      if (minVersion &gt; 0) {
          builder.appendQueryParameter("amv", Integer.toString(minVersion));
      }
  
      if (!TextUtils.isEmpty(androidLink)) {
          builder.appendQueryParameter("al", androidLink);
      }
  
      if (!TextUtils.isEmpty(playStoreAppLink)) {
          builder.appendQueryParameter("afl", playStoreAppLink);
      }
  
      if (!customParameters.isEmpty()) {
          for (Map.Entry&lt;String, String&gt; parameter : customParameters.entrySet()) {
              builder.appendQueryParameter(parameter.getKey(), parameter.getValue());
          }
      }
  
      // Return the completed deep link.
      return builder.build().toString();
  }
  </code></pre>