Jun 12, 2018
[maven-release-plugin] copy for tag v3.3.7

@JoshLipan JoshLipan released this May 28, 2018 · 35 commits to master since this release

Assets 3

Change Log

  • 扩展短信补充 API
  • Gson禁用html转义
  • 修复送达状态北京域名拼接问题
May 25, 2018
[maven-release-plugin] copy for tag v3.3.5
Jan 29, 2018
[maven-release-plugin] copy for tag v3.3.4

@KenChoi1992 KenChoi1992 released this Nov 22, 2017 · 46 commits to master since this release

Assets 3

Change Log

  • 修复 sendGroupPush 返回结果为 0 bug
Sep 22, 2017
[maven-release-plugin] copy for tag v3.3.2

@KenChoi1992 KenChoi1992 released this Sep 7, 2017 · 65 commits to master since this release

Assets 3

Change Log

  • 新增 getMessagesStatus 接口,根据 msgId 和 registrationId 查询当天的消息状态。返回的 status 值为 0-4 整型。分别表示:
    0 送达
    1 未送达
    2 用户不属于该 app
    3 用户属于该 app,但不属于该 msgid
    4 系统异常
    使用方式:
      public static void testGetMessageStatus() {
          JPushClient jPushClient = new JPushClient(masterSecret, appKey);
          CheckMessagePayload payload = CheckMessagePayload.newBuilder()
                  .setMsgId(3993287034L)
                  .addRegistrationIds(REGISTRATION_ID1, REGISTRATION_ID2, REGISTRATION_ID3)
                  .setDate("2017-08-08")
                  .build();
          try {
              Map<String, MessageStatus> map = jPushClient.getMessageStatus(payload);
              for (Map.Entry<String, MessageStatus> entry : map.entrySet()) {
                  LOG.info("registrationId: " + entry.getKey() + " status: " + entry.getValue().getStatus());
              }
          } catch (APIConnectionException e) {
              LOG.error("Connection error. Should retry later. ", e);
          } catch (APIRequestException e) {
              LOG.error("Error response from JPush server. Should review and fix it. ", e);
              LOG.info("HTTP Status: " + e.getStatus());
              LOG.info("Error Code: " + e.getErrorCode());
              LOG.info("Error Message: " + e.getErrorMessage());
          }
      }
    

@KenChoi1992 KenChoi1992 released this Jul 5, 2017 · 66 commits to master since this release

Assets 3

Change Log

新增 API:

  • sendGroupPush 发送分组推送
  • getCidList 获得 cid

新增字段

  • PushPayload 新增 cid 字段
  • AudienceType 新增 abtest

修复 bug

修复 Message 中 addExtras 接口,如果传入的 Map 的元素有空值,toJSON 报空指针异常。

May 25, 2017
[maven-release-plugin] copy for tag v3.2.20

@KenChoi1992 KenChoi1992 released this May 16, 2017 · 80 commits to master since this release

Assets 3

更新日志

  • 增加 tag_not 字段,详情请参考文档
  • 使用 jiguang-common v1.0.6