最佳答案
您可以显示包含通知内容的模式:
this.notificationListener = firebase.notifications()
.onNotification(notification => {
// this.displayNotification(notification);
this.setState({notification:notification})
});
...
关于ios - 我想在横幅中向用户发送通知 如何做到这一点?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59189755/