Skip to content

Commit 20262f3

Browse files
committed
update version
1 parent 83788b4 commit 20262f3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

chat/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ android {
1616
applicationId "cn.wildfirechat.chat"
1717
minSdkVersion 16
1818
targetSdkVersion 28 //当targetversion大于23时,需要使用fileprovider
19-
versionCode 19
20-
versionName "0.6.5"
19+
versionCode 20
20+
versionName "0.6.6"
2121
multiDexEnabled true
2222
javaCompileOptions {
2323
annotationProcessorOptions {

chat/src/main/java/cn/wildfire/chat/app/MyApp.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ public void onCreate() {
2222
Config.validateConfig();
2323

2424
// bugly,务必替换为你自己的!!!
25-
CrashReport.initCrashReport(getApplicationContext(), Config.BUGLY_ID, false);
25+
if ("wildfirechat.cn".equals(Config.IM_SERVER_HOST)) {
26+
CrashReport.initCrashReport(getApplicationContext(), Config.BUGLY_ID, false);
27+
}
2628
// 只在主进程初始化
2729
if (getCurProcessName(this).equals(BuildConfig.APPLICATION_ID)) {
2830
WfcUIKit wfcUIKit = WfcUIKit.getWfcUIKit();

0 commit comments

Comments
 (0)