mirror of
https://github.com/WuKongIM/WuKongIMAndroidSDK
synced 2025-06-02 23:39:05 +00:00
delete log
This commit is contained in:
parent
a735d9d916
commit
c591b21ee4
7
.idea/gradle.xml
generated
7
.idea/gradle.xml
generated
@ -4,9 +4,11 @@
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="testRunner" value="GRADLE" />
|
||||
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleHome" value="/usr/local/Cellar/gradle/6.8.1/libexec" />
|
||||
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
|
||||
<option name="gradleHome" value="/usr/local/Cellar/gradle/8.4/libexec" />
|
||||
<option name="gradleJvm" value="jbr-17" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
@ -17,6 +19,5 @@
|
||||
<option name="resolveExternalAnnotations" value="false" />
|
||||
</GradleProjectSettings>
|
||||
</option>
|
||||
<option name="offlineMode" value="true" />
|
||||
</component>
|
||||
</project>
|
@ -3,7 +3,7 @@
|
||||
|
||||
该项目是一个完全自定义协议的即时通讯sdk。
|
||||
|
||||
## [详细文档](http://githubim.com "文档")
|
||||
## [详细文档](https://githubim.com/sdk/android.html "文档")
|
||||
|
||||
## 官方Demo
|
||||
悟空团队官方基于本sdk编写了一个Android项目,该项目覆盖了sdk所有方法的使用及演示流程。[跳转到Demo](https://github.com/TangSengDaoDao/TangSengDaoDaoAndroid)
|
||||
|
@ -7,7 +7,7 @@ buildscript {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:8.0.0'
|
||||
classpath 'com.android.tools.build:gradle:8.1.1'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
}
|
||||
|
@ -298,7 +298,6 @@ public class ChannelMembersDbManager {
|
||||
} else {
|
||||
insert(channelMember);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -173,8 +173,6 @@ class WKProto {
|
||||
sendAckMsg.clientSeq = wkRead.readInt();
|
||||
sendAckMsg.messageSeq = wkRead.readInt();
|
||||
sendAckMsg.reasonCode = wkRead.readByte();
|
||||
WKLoggerUtils.getInstance().e("发送ack" + sendAckMsg.messageID);
|
||||
WKLoggerUtils.getInstance().e("发送返回状态:" + sendAckMsg.reasonCode);
|
||||
} catch (IOException e) {
|
||||
WKLoggerUtils.getInstance().e("解码发送消息ack错误");
|
||||
}
|
||||
@ -188,7 +186,6 @@ class WKProto {
|
||||
disconnectMsg.reason = wkRead.readString();
|
||||
WKLoggerUtils.getInstance().e("sdk收到被踢的消息code:" + disconnectMsg.reasonCode + ",reason:" + disconnectMsg.reason);
|
||||
return disconnectMsg;
|
||||
|
||||
} catch (IOException e) {
|
||||
WKLoggerUtils.getInstance().e("解码断开连接错误");
|
||||
}
|
||||
|
@ -104,7 +104,6 @@ public class CryptoUtils {
|
||||
InvalidAlgorithmParameterException | IllegalBlockSizeException |
|
||||
BadPaddingException e) {
|
||||
e.printStackTrace();
|
||||
Log.e("加密错误:", "-->");
|
||||
}
|
||||
if (encrypted == null) {
|
||||
Log.e("加密后的数据为空", "--->");
|
||||
@ -184,12 +183,10 @@ public class CryptoUtils {
|
||||
signature.initVerify(publicK);
|
||||
signature.update(content.getBytes());
|
||||
boolean result = signature.verify(base64Decode(sign));
|
||||
Log.e("校验结果", result + "");
|
||||
return result;
|
||||
} catch (InvalidKeyException | NoSuchAlgorithmException | SignatureException |
|
||||
InvalidKeySpecException e) {
|
||||
e.printStackTrace();
|
||||
Log.e("校验异常", Objects.requireNonNull(e.getLocalizedMessage()));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user