title: How to grab intent on initial launch of application
body: <p>I currently have a xamarin application. I redirect the client based on what intent is received. It works perfectly when the app in in the background or foreground.</p>
  
  <p>The issue I currently have is the redirect bit of code doesn't trigger when the app is removed from the system tray. </p>
  
  <pre><code>protected async override void OnNewIntent(Intent intent)
  {
      var data = intent.Data; // this returns testurl.com/?firstname=john&amp;lastname=doe
  
      App.Firstname= intent.GetStringExtra("firstname");           
      App.Lastname= intent.GetStringExtra("lastname");
      base.OnNewIntent(intent);
  }
  </code></pre>
  
  <p>May I ask how do I keep my intents on app launch? I am unsure how to even debug this, when the app is removed from the system tray, visual studio stops running. </p>