从Firebase控制台推送始终获得默认图标(Gradle Firebase 11.8.0) [英] Push from firebase console always got default icon (Gradle Firebase 11.8.0)
问题描述
对于firebase sdk 11.8.0,我从firebase控制台直接生成到我的应用程序(在后台)的推送始终显示默认的android图标,而不显示我的自定义图标.
For firebase sdk 11.8.0, my push generated from firebase console directly to my application (which is in the background) always show default android icon but not my customized one.
当我将SDK降级到11.4.2时,效果很好.
It works fine when i downgrade the sdk to 11.4.2.
任何人都有相同的错误吗?
Anyone have the same bug?
更新:
仅用分别运行Android 8.0和7.1.1的oneplus 3T和nokia 6进行测试.
just test with my oneplus 3T and nokia 6, running Android 8.0 and 7.1.1 respectively.
两者均使用Firebase SDK 11.8.0.
Both use Firebase SDK 11.8.0.
诺基亚6取得了成功,Oneplus 3T失败.
Nokia 6 worked, Oneplus 3T failed.
不确定是手机问题还是Android系统问题.
Not sure is mobile phone problem or Android System problem.
更新@ 27-3-2018
修复:
感谢Piotr的更新,此更新已在12.0.0中修复
Update @ 27-3-2018
Fix:
Thanks Piotr's update that this has been fixed on 12.0.0
更新@ 2020年6月17日修改标题以准确描述问题
Update @ 17-6-2020 revised title to describe the problem accurately
推荐答案
这是Firebase SDK错误.如果使用12.0.0,则应修复: https://firebase.google.com/support/release-notes/android#20180320
This is a Firebase SDK bug. Should be fixed if you use 12.0.0: https://firebase.google.com/support/release-notes/android#20180320
这篇关于从Firebase控制台推送始终获得默认图标(Gradle Firebase 11.8.0)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!