Enable ANR reporting for GitHub version

This commit is contained in:
M66B 2024-03-16 09:28:28 +01:00
parent d39465864a
commit 0210fa774a
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ public class Log {
ErrorTypes etypes = new ErrorTypes();
etypes.setUnhandledExceptions(true);
etypes.setAnrs(BuildConfig.DEBUG);
etypes.setAnrs(!BuildConfig.PLAY_STORE_RELEASE);
etypes.setNdkCrashes(false);
config.setEnabledErrorTypes(etypes);
config.setMaxBreadcrumbs(BuildConfig.PLAY_STORE_RELEASE ? 250 : 500);