title: Firebase, cant get instance ID token (Unity C#)
body: <p>I need the instance ID token(or registration token) associated with my app to validate an A/B testing experiment on a test device . I have tried using the following code mentioned in the Firebase docs, but that hasnt helped me so far. </p>
  
  <pre><code>    Firebase.InstanceId.FirebaseInstanceId.DefaultInstance.GetTokenAsync().ContinueWith(task =&gt; {
  if (!(task.IsCanceled || task.IsFaulted) &amp;&amp; task.IsCompleted) {
    UnityEngine.Debug.Log(System.String.Format("Instance ID Token {0}", task.Result));
    }
  });
  </code></pre>
  
  <p>Any help would be appreciated. Thanks</p>