Commit 50252114 by sikang

add bugly

parent fb457183
......@@ -58,6 +58,10 @@ public abstract class BaseApplication extends MultiDexApplication {
@Override
public void onCreate() {
super.onCreate();
if (!TextUtils.isEmpty(LibConfig.BUGLY_APPID)) {
CrashReport.initCrashReport(getApplicationContext(), LibConfig.BUGLY_APPID, false);
}
AppLanguageUtils.setLanguage(this, LibConfig.LANGUAGE);
PhilologyRepositoryFactory repositoryFactory = locale -> new DefaultPhilologyRepository();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment