Android Question How to configure com.google.firebase.messaging.default_notification_icon?

Alejandro Moyano

Member
Licensed User
Hi, when I send multicast messages from fcm python library to users I found that the icon is a plain circle, when I send from B4J works fine.

I rode some documentation and seems something related to the manifest, how can I set this:

XML:
<application
    <meta-data
        android:name="com.google.firebase.messaging.default_notification_icon"
        android:resource="@drawable/ic_stat_name" />
</application>
 

Alejandro Moyano

Member
Licensed User
Finally, I got the solution, the FCM python library has 2 types of messages, the "message" that doesn't raise the app service, and "pushmessage" that does, after implements pushmessages the messages are working with their icons.
 
Upvote 0
Top