title: FCM - How to get icon to be valid?
body: <p>I am sending a Firebase Cloud Messaging notification to my Android app, but the icon on the notification is not showing correctly. its on nexus I'm having the trouble (KitKat). </p>
  
  <p>and im using the following sdk:</p>
  
  <pre><code> minSdkVersion 19
          targetSdkVersion 24
  </code></pre>
  
  <p>The image (.png) is a logo I am pulling from the drawable folder and it looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/0FWXU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0FWXU.png" alt="enter image description here"></a></p>
  
  <p>But now when I use it in my notification it looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/pav6a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pav6a.png" alt="enter image description here"></a></p>
  
  <p>Keep in mind I am sending the notification using an API call like this:</p>
  
  <pre><code>https://fcm.googleapis.com/fcm/send
  </code></pre>
  
  <p>and the post body looks like this:</p>
  
  <pre><code>    { "notification": {
      "title": "Your Title",
      "text": "Your Text",
       "click_action": "OPEN_ACTIVITY_1"
    },
      "data": {
      "keyname": "some data item name "
      },
    "to":"eZm-5IM8dkE:APA91bFkC9kZSgZblDr_4JBB-MNOCkITsRGSECykFzXQE70zzM8rShP66pPYIX4iBio3V9sN1Go1q4o6dGhybm6SPRio3asC-6NIltzQfc0ZlmWrexxxxxxxxxxxxxxxiHygCx2y"
  } 
  </code></pre>
  
  <p>I noticed I am not setting the icon anywhere, but I don't think that's the issue. Notice how its a parallelogram in both images, so I think its just processing it differently. What am I doing wrong?</p>
  
  <p>also note in the Android Manifest, I have set the following:</p>
  
  <pre><code>&lt;meta-data           android:name="com.google.firebase.messaging.default_notification_icon"
          android:resource="@drawable/mylogo" /&gt;
  </code></pre>