title: firebase Instance ID vs android Instance ID
body: <p>Play services API suggests that there is something called <a href="https://developers.google.com/instance-id/" rel="nofollow noreferrer">Instance ID</a></p>
  
  <p>However, after including the following in Android Studio, I am unable to import InstanceID class </p>
  
  <pre><code>compile "com.google.android.gms:play-services-identity:${googlePlayServicesVersion}"
  compile "com.google.android.gms:play-services-auth:${googlePlayServicesVersion}"
  </code></pre>
  
  <p>Per this <a href="https://stackoverflow.com/questions/31130125/not-able-to-import-com-google-android-gms-iid-instanceid-into-my-project">SO Post</a>, InstanceID class should work if I include the identity play services library.</p>
  
  <p>Following conversion of google cloud messaging to firebase cloud messaging, I believe, it must have been replaced by Firebase Instance ID as mentioned in the red message <a href="https://developers.google.com/cloud-messaging/" rel="nofollow noreferrer">here</a>.</p>
  
  <p>Now I am not sure if using Firebase ID should have indeed "replaced" Instance ID.</p>
  
  <p>Or, maybe I am missing some library which includes InstanceID? </p>