mirror of
https://github.com/Finb/bark-server.git
synced 2026-04-27 22:55:51 +03:00
[GH-ISSUE #234] 4Kb最终实际剩余文本推送大小是多少? #102
Labels
No labels
enhancement
in progress
need test
pull-request
v2
v2
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bark-server#102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @QYG2297248353 on GitHub (Aug 28, 2023).
Original GitHub issue: https://github.com/Finb/bark-server/issues/234
A basic remote notification payload includes Apple-defined keys and their custom values. You may also add custom keys and values specific to your notifications.
基本的远程通知有效负载包括 Apple 定义的键及其自定义值。您还可以添加特定于您的通知的自定义键和值。
Apple Push Notification service (APNs) refuses a notification if the total size of its payload exceeds the following limits:
如果有效负载的总大小超过以下限制,Apple 推送通知服务 (APN) 将拒绝通知:
For Voice over Internet Protocol (VoIP) notifications, the maximum payload size is 5 KB (5120 bytes).
对于 Internet 协议语音 (VoIP) 通知,最大负载大小为 5 KB(5120 字节)。
For all other remote notifications, the maximum payload size is 4 KB (4096 bytes).
对于所有其他远程通知,最大负载大小为 4 KB(4096 字节)。
官方文档