最佳做法和限制
通知标题
确保您的应用或游戏遵循以下最佳实践:
- 请勿在标题中使用问号或感叹号。
- 请勿在每日更新的标题中使用“每日”一词。
- 不要为不同的更新使用相同的标题。
- 请勿使用 Action 的确切名称。
可更新的 intent
在 Actions on Google 控制台中,仅为更新和通知触发的 intent 启用更新或通知。不要为您在配置期间使用的 intent(例如指南中提及的 setup_update
intent)启用更新或通知。
限制
以下限制适用于发送推送通知:
- 每位用户每天最多 10 条通知。
- 每位用户每分钟最多 1 条通知。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。
[null,null,["最后更新时间 (UTC):2023-12-02。"],[[["Push notification titles should avoid punctuation, repetitive words like \"daily\", duplication, and the Action's name."],["Only enable updates/notifications for intents specifically designed for them, excluding setup or configuration intents."],["When sending push notifications, there's a limit of 10 per user per day and a rate limit of 1 per user per minute."]]],[]]