title: Migrating from gcm to fcm on android
body: <p>I want to migrate from gcm to fcm in android app.
  Do I need to send push notification to old users of the android app from gcm or i can send it through the new fcm from server?</p>
  
  <p><b>FCM is working fine I'm able to receive push notifications on my device through fcm but I'm not able to send push notifications to old GCM registration tokens from FCM console.</b></p>
  
  <p><br>
  Below is the code I've added to my manifest file for fcm to work-</p>
  
  <pre><code>&lt;uses-permission android:name="com.google.android.z.permission.RECEIVE" /&gt;
  &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
  &lt;application&gt;
      &lt;service
          android:name=".view.activity.MyFcmListenerService"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.google.firebase.MESSAGING_EVENT" /&gt;
          &lt;/intent-filter&gt;
      &lt;/service&gt;
  
      &lt;service
          android:name=".view.activity.MyInstanceIDListenerService"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.google.firebase.INSTANCE_ID_EVENT" /&gt;
          &lt;/intent-filter&gt;
      &lt;/service&gt;
  &lt;/application&gt;
  </code></pre>