admin
2018-12-10 255471534155e5d26445d17f6c60d046c8f0d6f0
fanli/src/main/java/com/yeshi/fanli/util/push/IOSPushUtil.java
@@ -138,7 +138,10 @@
      PushNotificationManager pushManager = new PushNotificationManager();
      // true:表示的是产品线上发布推送服务 false:表示的是产品测试推送服务
      pushManager.initializeConnection(new AppleNotificationServerBasicImpl(certificate, certificatePassword, true));
      if(Constant.IS_TEST)
         pushManager.initializeConnection(new AppleNotificationServerBasicImpl(certificate, certificatePassword, false));
      else
         pushManager.initializeConnection(new AppleNotificationServerBasicImpl(certificate, certificatePassword, true));
      List<Device> deviceList = new ArrayList<Device>();
      for (String token : tokenList) {