I am using firebase messaging for both my android and iOS app. I am making the push with a POST request to fcm.googleapis.com/fcm/send and I used to have a body with the data{}. unfortunately, this showed the icon only for android but on iOS, this notification wouldn't even show up. I now switched it to a body with something like
This POST call showed the logo but it did not work at all on iOS devices.
and now this works on iOS and android. Unfortunately however, the android icon now doesn't show and it looks like this.
How could I fix this issue with android while retaining this type of body in the POST request?