use of com.google.firebase.crash.FirebaseCrash in project krypton-android by kryptco.
the class CrashReporting method startANRReporting.
public static synchronized void startANRReporting() {
if (anrWatchDog == null) {
anrWatchDog = new ANRWatchDog().setIgnoreDebugger(true).setReportMainThreadOnly();
if (!BuildConfig.DEBUG) {
anrWatchDog.setANRListener(FirebaseCrash::report);
}
anrWatchDog.start();
}
}
Aggregations