React-native-Firebase推送通知无法显示为前台。如果该应用已打开,则推送通知没有问题,它们显示良好。
df <- read.csv("df.csv")
class(df$Flow)
# [1] "integer"
df <- read_csv("df.csv")
class(df$Flow)
# [1] "character"
答案 0 :(得分:0)
您没有给我们太多信息,但是如果您使用的是Android,则需要设置notifications channels as per this documentation
const channel = new firebase.notifications.Android.Channel(
"main_notification_channel",
"Main notification Channel",
firebase.notifications.Android.Importance.Max
).setDescription("A natural description of the channel");
firebase.notifications().android.createChannel(channel);