We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad4fdb8 commit 8cbd725Copy full SHA for 8cbd725
src/main/java/cn/jpush/api/schedule/ScheduleClient.java
@@ -84,7 +84,7 @@ public ScheduleClient(String masterSecret, String appKey, HttpProxy proxy, Clien
84
apnsProduction = (Integer) conf.get(ClientConfig.APNS_PRODUCTION);
85
timeToLive = (Long) conf.get(ClientConfig.TIME_TO_LIVE);
86
//createSchedule接口需要用到这个类
87
- pushClient = new PushClient(masterSecret, appKey, ClientConfig.getInstance());
+ pushClient = new PushClient(masterSecret, appKey, conf);
88
89
String authCode = ServiceHelper.getBasicAuthorization(appKey, masterSecret);
90
this._httpClient = new NativeHttpClient(authCode, proxy, conf);
0 commit comments