Alejandro Moyano Member Licensed User Feb 25, 2022 #1 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: Copy <application <meta-data android:name="com.google.firebase.messaging.default_notification_icon" android:resource="@drawable/ic_stat_name" /> </application>
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: Copy <application <meta-data android:name="com.google.firebase.messaging.default_notification_icon" android:resource="@drawable/ic_stat_name" /> </application>
Erel B4X founder Staff member Licensed User Longtime User Feb 27, 2022 #2 I guess that your python code sends message notifications. The B4J code sends data notifications which then cause FirebaseMessagingService to show the notification. Upvote 0
I guess that your python code sends message notifications. The B4J code sends data notifications which then cause FirebaseMessagingService to show the notification.
Alejandro Moyano Member Licensed User Mar 8, 2022 #3 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
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.