title: FirebaseInstanceIdService does not get called
body: <p>I followed the examples on the internet and reviewed many questions here and on other websites</p>
  
  <p>I built my application so it handles FCM Notifications, but I still cant find out why FirebaseInstanceIdService does not get called.</p>
  
  <p>I declared it in <code>AndroidManifest.xml</code></p>
  
  <pre><code>&lt;service android:name=".InstanceService"&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="com.google.firebase.INSTANCE_ID_EVENT"&gt;&lt;/action&gt;
      &lt;/intent-filter&gt;
  &lt;/service&gt;
  
  &lt;service android:name=".MessageService"&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="com.google.firebase.MESSAGING_EVENT"&gt;&lt;/action&gt;
      &lt;/intent-filter&gt;
  &lt;/service&gt;
  </code></pre>
  
  <p></p>
  
  <p>My Service is </p>
  
  <pre><code>public class InstanceService extends FirebaseInstanceIdService {
      private static final String REG_Token="REG_Token";
  
      @Override
      public void onTokenRefresh() {
  
          String recent_token= FirebaseInstanceId.getInstance().getToken(); // get token from the server
  
          Log.d(REG_Token,recent_token); // show device token in Logcat View
  
      }
  </code></pre>
  
  <p>I look at Logcat but there is no REG_Token there.</p>
  
  <p>I tried to debug the code and stopped it at <code>Log.d(REG_Token,recent_token);</code>, but it did not stop there.</p>
  
  <p>I think the service is not called at all and I can't find out why.</p>