title: Migrating from APN to FCM
body: <p>We have this iOS application, we are sending push notifications to, using Apple Push Notification Service (APNs). We are now moving to Firebase Cloud Messenging (FCM) for sending notifications and we don't want to rebuild the app and release again. Is there a way to send notification through <code>FCM</code> to our users who have been registered through <code>APNs</code> using the (old) push notifications tokens.We have also tried the batchimport (change APN token to FCM token ).</p>
  <pre><code>curl -X POST -H &quot;Authorization: key=SERVER API KEY&quot; -H &quot;Content-Type: application/json&quot; -d '{
  &quot;application&quot;: &quot;ApplciationID&quot;,
      &quot;sandbox&quot;:false,
      &quot;apns_tokens&quot;:[
      &quot;BF939410B9F5D1A7411128A674951917A6CFCDFA0C1D304AEDCFFC2187FBB4Q1&quot;
  ]}' &quot;https://iid.googleapis.com/iid/v1:batchImport&quot;
  </code></pre>