[GH-ISSUE #234] 4Kb最终实际剩余文本推送大小是多少? #102

Closed
opened 2026-03-03 11:56:04 +03:00 by kerem · 0 comments
Owner

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 字节)。

官方文档

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 字节)。 [官方文档](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification)
kerem closed this issue 2026-03-03 11:56:04 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bark-server#102
No description provided.