Java Code Examples for com.tencent.bugly.beta.Beta#initDelay()
The following examples show how to use
com.tencent.bugly.beta.Beta#initDelay() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AppApplication.java From OpenHub with GNU General Public License v3.0 | 6 votes |
private void initBugly(){ Beta.initDelay = 6 * 1000; Beta.enableHotfix = false; Beta.canShowUpgradeActs.add(LoginActivity.class); Beta.canShowUpgradeActs.add(MainActivity.class); Beta.canShowUpgradeActs.add(AboutActivity.class); Beta.upgradeListener = UpgradeDialog.INSTANCE; CrashReport.UserStrategy strategy = new CrashReport.UserStrategy(getApplicationContext()); strategy.setAppVersion(BuildConfig.VERSION_NAME); strategy.setAppChannel(getAppChannel()); strategy.setAppReportDelay(10 * 1000); Bugly.init(getApplicationContext(), AppConfig.BUGLY_APPID, BuildConfig.DEBUG, strategy); CrashReport.setIsDevelopmentDevice(getApplicationContext(), BuildConfig.DEBUG); }
Example 2
Source File: GravityBoxApplication.java From GravityBox with Apache License 2.0 | 5 votes |
private void initBugly() { Beta.upgradeCheckPeriod = 60 * 1000 * 60 * 12; Beta.initDelay = 1000; Beta.showInterruptedStrategy = true; Beta.enableHotfix = false; Bugly.init(getApplicationContext(), "375cce688e", BuildConfig.DEBUG); }
Example 3
Source File: DoingDailyMainInit.java From DoingDaily with Apache License 2.0 | 5 votes |
private void initBugly() { Beta.autoInit = true; Beta.autoCheckUpgrade = true; Beta.showInterruptedStrategy = true; Beta.initDelay = 8 * 1000; Beta.canShowUpgradeActs.add(MainActivity.class); Beta.smallIconId = R.drawable.ic_notification_logo; Bugly.init(appContext, ConstantValues.BUGLY_ID, BuildConfig.DEBUG); //CrashReport.testJavaCrash(); }