Firebase 云通过 flutter 向每位访客发送消息

问题描述 投票:0回答:1

我订阅了 Firebase Cloud Messaging,并且在 flutter(iOS 和 Android)上进行设置可以工作,但有个问题...

此功能将消息发送给所有安装了我的应用程序的人。

每个客人都有自己的订阅功能怎么样,如果有一天订阅过期了,发送消息“您好,您的订阅已过期!”。

您应该如何指定或逻辑如何运作,以便消息仅到达订阅即将到期的用户?

非常感谢:)

Firebase 云通过 flutter 向每个来宾订阅发送消息

flutter firebase firebase-cloud-messaging
1个回答
0
投票

您可以存储(或删除)带有日期的本地通知,无需使用 Firebase。 后端或云功能的替代方案然后发送推送。但老实说,我认为本地对于简单的情况更好

© www.soinside.com 2019 - 2024. All rights reserved.