简体   繁体   English

如何在没有控制台的情况下创建 Firebase 云消息循环通知?

[英]How to create Firebase Cloud messaging recurring notifications without console?

From FCM console I can not set up much more than 10 recurring notifications.在 FCM 控制台中,我无法设置超过 10 个重复通知。

You can have up to 10 unique recurring notifications active per project每个项目最多可以激活 10 个唯一的定期通知

I want to aim targeting audiences, user properties, last user engagement also.我还想瞄准受众、用户属性和最后的用户参与度。 For example, you can set up a recurring notification that sends a push notification to a user who has been inactive for 2 days.例如,您可以设置定期通知,向 2 天不活动的用户发送推送通知。 From FCM console it is possible but I want to set it up manually since FCM console does not allow me to create recurring notifications much more than 10.从 FCM 控制台是可能的,但我想手动设置它,因为 FCM 控制台不允许我创建超过 10 个的重复通知。

There is no API to create recurring notifications in Firebase Cloud Messaging.没有 API 在 Firebase Cloud Messaging 中创建定期通知。 Since you already tagged your question with google-cloud-functions , you seem to know that you can create scheduled tasks with that.由于您已经使用google-cloud-functions标记了您的问题,您似乎知道您可以使用它来创建计划任务。

To create a scheduled, recurring notification you can:要创建计划的重复通知,您可以:

From this documentation and the examples in it, you should be able to get the use-case working.从该文档及其中的示例,您应该能够使用例正常工作。 If not, post another question with the minimal, complete code that any of us can run to reproduce where you got stuck .如果没有,请使用我们任何人都可以运行的最少的完整代码发布另一个问题,以重现您遇到的问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Firebase 控制台之外发出计划的 Firebase 云消息通知? - How can scheduled Firebase Cloud Messaging notifications be made outside of the Firebase Console? 如何处理Django中的Firebase云消息通知? - How to handle Firebase Cloud Messaging Notifications in Django? 如何在不使用 Firebase 控制台的情况下发送 Firebase 云消息通知? - How can I send a Firebase Cloud Messaging notification without use the Firebase Console? 如何使用 Firebase 云消息发送组通知? - How to send the Group Notifications using Firebase Cloud messaging? Twilio Conversations 使用 Firebase Cloud Messaging 推送通知 - Twilio Conversations push notifications with Firebase Cloud Messaging 通过 Firebase 云消息控制台在 iOS 推送通知中发送图像 - Sending an Image in iOS Push-Notifications through Firebase Cloud Messaging Console 在 ios 中未收到 Firebase 云消息传递通知 - Not receiving Firebase Cloud Messaging Notifications in ios 如何使用 firebase 云消息和云功能设置推送通知? - How can I go about setting up push notifications using firebase cloud messaging and cloud functions? 在 Firebase 云消息传递中,React 本机应用程序未通过 TOPIC 接收通知 - React native app not receiving notifications via TOPIC in Firebase cloud messaging 有没有办法使用 firebase 云消息从 firebase-messaging-sw 执行 console.log - Is there a way to do a console.log from the firebase-messaging-sw with firebase cloud messaging
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM