I am using FCM in my android app to manage push notification. Its completely working fine when the app is in foreground and the app icon is also visible(properly). But when the app is running in background I am not getting the notification properly. Instead of the transparent icon its showing the white square icon as the notification icon. I know that, FCM will automatically handle the background operation. But I need to show my app icon instead of that white icon. Note: I am using transparent icon only. I also tried the below coding
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/rt_transparent_icon" />
<meta-data android:name="com.google.firebase.messaging.default_notification_color"
android:resource="@android:color/holo_blue_bright" />
But none of the solutions actually worked for me. Can someone tell me what to do?