title: Firebase send push notification twice
body: <p>I wrote a very simple android app to test firebase push notification and I get one notification twice.</p>
  
  <p>this is the manifest service:</p>
  
  <pre><code>&lt;service
          android:name="com.google.firebase.messaging.FirebaseMessagingService"&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="com.google.firebase.iid.FirebaseInstanceIdService"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.google.firebase.INSTANCE_ID_EVENT"/&gt;
          &lt;/intent-filter&gt;
      &lt;/service&gt;
  </code></pre>
  
  <p>this is the app gradle:</p>
  
  <pre><code>    compile 'com.google.android.gms:play-services:9.0.0'
      compile 'com.google.firebase:firebase-core:9.0.0'
      compile 'com.google.firebase:firebase-messaging:9.0.0'
  }
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>and here is the project level gradle:</p>
  
  <pre><code>classpath 'com.google.gms:google-services:3.0.0'
  </code></pre>