Skip to content

Commit f54570b

Browse files
authored
Update README.md
1 parent ebfe41b commit f54570b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@
118118
> 以下片断来自项目代码里的文件:example / cn.jpush.api.examples.PushExample
119119
120120
```Java
121-
JPushClient jpushClient = new JPushClient(masterSecret, appKey, 3);
121+
ClientConfig clientConfig = ClientConfig.getInstance();
122+
JPushClient jpushClient = new JPushClient(masterSecret, appKey, null, clientConfig);
122123

123124
// For push, all you need do is to build PushPayload object.
124125
PushPayload payload = buildPushObject_all_all_alert();

0 commit comments

Comments
 (0)