android 通知托盘中的图标位置不一致

时间:2021-07-22 19:16:06

标签: android react-native notifications react-native-firebase

我正在使用 react-native-firebase v7+ 在通知托盘中显示通知。

enter image description here

我遇到了一个问题,有时通知是白色的,有时显示正确的图标。

    <meta-data android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@mipmap/notification_icon" />

这已添加到清单中。在这种情况下,我如何保持统一的通知,否则我如何删除白色背景并在那里显示应用徽标?

0 个答案:

没有答案
相关问题