title: Chromecast SDK Android: getApplicationMetadata returns null
body: <p>In my sender app I'm using </p>
  
  <pre><code>ApplicationMetadata metadata = Cast.CastApi.getApplicationMetadata(apiClient);
  </code></pre>
  
  <p>while</p>
  
  <pre><code>apiClient.isConnected()
  </code></pre>
  
  <p>returns true and my receiver app is running on the Chromecast.
  When I do this, the method always returns null so the metadata object is always set to null.
  Is there anything else I need to do for this to work?</p>
  
  <p>Thanks in advance</p>