push noification icon with android 5+

For the icon shown in the notification bar when receiving a push notification on mobile phones, there was used the standard icon of the particular app by default. Since Android 5 the icon has to be specified and send within the notfication‘s payload. Therefore we need a png file with transparency, with a resolution of 192×192 pixels and a specific name. For example „fcm_push_icon.png“ This icon needs to be stored into the ressources. To be more precise, into all folders containing the size specific app icons /res/mipmap-hdpi, /res/mipmap-ldpi and so on… Now we need to modify the payload on server … Continue reading push noification icon with android 5+