Tag: firebase googleio firebase

通知图标与新的Firebase云消息传递系统

Google昨天在Google I / O上发布了基于新Firebase的新通知系统。 我用Github上的例子尝试了这个新的FCM(Firebase Cloud Messaging)。 尽pipe我已经声明了特定的drawable,但通知的图标总是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 in the foreground handle […]