title: How to capture deeplink when app is open in background?
body: <p>Hi I am working on a xamarin project and dynamic link is implemented in this project. I am clicking on dynamic link and able to extract parameters from it when my app is closed, I am doing the same by this way :</p>
  
  <p>For Android </p>
  
  <pre><code>public void CheckForDynamicLinkParameter()
          {
              var deepLink = AppInviteReferral.GetDeepLink(Intent);
  
              //Extracting page to be opened from deepLink URL
              SetPageFromLink(deepLink);
  
              var data = Intent.Data;
  
              if (deepLink != null)
              {
  
                  Uri myUri = new Uri(deepLink);
  
                  string param1 = HttpUtility.ParseQueryString(myUri.Query).Get("id");
                  string param2 = HttpUtility.ParseQueryString(myUri.Query).Get("token");
                  Utilities.Configuration.UpdateConfigValue(Utilities.Constants.deepLinkEmail, param1);
                  Utilities.Configuration.UpdateConfigValue(Utilities.Constants.deepLinkToken, param2);
  
              }
  
  
          }
  </code></pre>
  
  <p>CheckForDynamicLinkParameter() method I am calling in OnCreate() of main activity and extracting params from deeplink and navigating to some different pages.</p>
  
  <p>Samae way in iOS I am calling ContinueUserActivity(). This way I am able to find parameters only when my app is closed.</p>
  
  <p>My issue is that, when I am clicking the dynamic link when app is open/in backgrounsd I am unable to capture the deeplink. So is there any way to capture deeplink when myt app is open ?</p>