Skip to content

Commit 3dcb953

Browse files
committed
remove bugly key
1 parent 500e1a7 commit 3dcb953

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import android.app.ActivityManager;
44
import android.content.Context;
55

6+
import com.tencent.bugly.crashreport.CrashReport;
7+
68
import cn.wildfire.chat.app.third.location.viewholder.LocationMessageContentViewHolder;
79
import cn.wildfire.chat.kit.WfcUIKit;
810
import cn.wildfire.chat.kit.conversation.message.viewholder.MessageViewHolderManager;
@@ -16,6 +18,8 @@ public class MyApp extends BaseApp {
1618
public void onCreate() {
1719
super.onCreate();
1820

21+
// bugly,务必替换为你自己的!!!
22+
CrashReport.initCrashReport(getApplicationContext(), "your bugly key", false);
1923
// 只在主进程初始化
2024
if (getCurProcessName(this).equals("cn.wildfirechat.chat")) {
2125
wfcUIKit = new WfcUIKit();

0 commit comments

Comments
 (0)