Skip to content

Commit c0f38ec

Browse files
author
caiyg
committed
修改iOS Notification的总长度不超过2000字节
1 parent db9d06f commit c0f38ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/cn/jpush/api/push/model/PushPayload.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class PushPayload implements PushModel {
3030
private static final String SMS = "sms_message";
3131

3232
private static final int MAX_GLOBAL_ENTITY_LENGTH = 4000; // Definition acording to JPush Docs
33-
private static final int MAX_IOS_PAYLOAD_LENGTH = 220; // Definition acording to JPush Docs
33+
private static final int MAX_IOS_PAYLOAD_LENGTH = 2000; // Definition acording to JPush Docs
3434

3535
private static Gson _gson = new Gson();
3636

0 commit comments

Comments
 (0)