[英]Firebase push notification app icon is missing
I am using firebase cloud messaging for push notification in the unity android app, I am getting a small icon fine but missing the right side app icon.我在统一 android 应用程序中使用 firebase 云消息推送通知,我得到了一个小图标,但缺少右侧的应用程序图标。 Please check the attached image.
请检查所附图像。 enter image description here I am looking for a solution but did not find one.
在此处输入图像描述我正在寻找解决方案,但没有找到。 If one has a solution please share.
如果有人有解决方案,请分享。 Thanks in advance!
提前致谢!
Please share your notification code,请分享您的通知代码,
or try with below code smallIcon() method或尝试使用以下代码smallIcon()方法
NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(baseContext).setLargeIcon(large_icon).setSmallIcon(image); NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(baseContext).setLargeIcon(large_icon).setSmallIcon(image);
Hope it will work..!!希望它会工作..!!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.