10
带有新Firebase Cloud Messaging系统的通知图标
昨天,Google在Google I / O上展示了基于新Firebase的新通知系统。我使用Github上的示例尝试了这个新的FCM(Firebase Cloud Messaging)。 尽管我已声明特定的可绘制对象,但通知的图标始终是ic_launcher 为什么呢 下面是用于处理邮件的官方代码 public class AppFirebaseMessagingService extends FirebaseMessagingService { /** * Called when message is received. * * @param remoteMessage Object representing the message received from Firebase Cloud Messaging. */ // [START receive_message] @Override public void onMessageReceived(RemoteMessage remoteMessage) { // If the application is …