Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Features
* High performance and easy to use
* Gets started quickly with demos
* Supports connection pooling
* ��Ӣ˫��ע�ͣ�Ӣ��С���Ķ�����Ҳû����
* 中英双语注释,英语小白阅读起来也没问题
* Supports resend notifications after error
* Creates new socket automatically when idle
* Supports the Feedback Service
Expand Down Expand Up @@ -64,5 +64,5 @@ You can send an email to me: lzhc2004@163.com

Tips
==================
2014-09-22��ios8���º����û����������(Payload.setSound())����ô�ֻ��յ����ͺܿ��ܲ��졣
��ʱ��Ҫ����dbay-apns4j���������Լ�������������eg: Payload.setSound("xx")��ע�ⲻ����Ϊ�մ��������죬��Ϊ���⴮���ɡ�
2014-09-22:ios8更新后,如果没有设置声音(Payload.setSound()),那么手机收到推送很可能不响。
此时需要更新dbay-apns4j包,或者自己设置下声音。eg: Payload.setSound("xx")。注意不能设为空串,否则不响,设为任意串均可。
2 changes: 1 addition & 1 deletion src/main/java/com/dbay/apns4j/model/ApnsConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class ApnsConstants {

public static final int ERROR_RESPONSE_BYTES_LENGTH = 6;

public static final int PAY_LOAD_MAX_LENGTH = 256;
public static final int PAY_LOAD_MAX_LENGTH = 2048;

public static final String CHARSET_ENCODING = "UTF-8";
}