firebase / firebase/firebase-admin-node
[FR] Messaging: Support for iOS 18.4 Declarative push messages
@chong-shao 已经在做这个了。
开始于 2025年6月24日。
- 主要语言
- TypeScript
- 星标
- 1.7k
- 派生
- 419
- 平均合并
- 3 天 10 小时
- 30 天内合并 PR
- 16
描述
Declarative push messages are a new feature in iOS 18.4 that allow push messages to web apps without service worker handling. This greatly improves the deliverability of background notifications for web apps on iOS.
This requires the addition of an extra top level field in the Message interface as described [here](https://pr-preview.s3.amazonaws.com/w3c/push-api/pull/385.html#declarative-push-message).
Please allow the optional "web_push" (integer) field to the Message interface to enable Declarative push messages.
Currently, when adding this field, I receive the following validation error:
Error: Failed to send notification: Invalid JSON payload received. Unknown name "web_push" at 'message.webpush': Cannot find field.
More information on this feature [here](https://webkit.org/blog/16535/meet-declarative-web-push/#how-to-use-declarative-web-push).
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。