gpt4 book ai didi

ios - 我想在横幅中向用户发送通知 如何做到这一点?

转载 作者:行者123 更新时间:2023-11-29 05:15:55 28 4
gpt4 key购买 nike

enter image description here我已经在 React Native iOS 应用程序中实现了 Firebase 推送通知。但现在我想在横幅中向用户发送通知该怎么做?

最佳答案

您可以显示包含通知内容的模式:

   this.notificationListener = firebase.notifications()
.onNotification(notification => {
// this.displayNotification(notification);
this.setState({notification:notification})
});

...

关于ios - 我想在横幅中向用户发送通知 如何做到这一点?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59189755/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com