使用 CustomActivityOnCrash 库之一会阻止 Firebase 崩溃工作吗?
Will using one of the CustomActivityOnCrash libraries stop Firebase Crash from working?
我正在考虑使用 this 之类的库,但是我担心 FirebaseCrash 会停止加载,因为该库可能会覆盖崩溃时调用的方法。
如果我使用 this 这样的库,Firebase 错误 Reports/Firebase 会不会崩溃?
来自the library's documentation:
WARNING! If you already have ACRA, Crashlytics or any similar library in your app, it will still work as normal, but the CustomActivityOnCrash initialization MUST be done first, or the original reporting tool will stop working.
它仍然可以正常工作。
我是那个库的开发者。 1.5.0 及以下版本会导致 Firebase 崩溃报告停止工作。该应用程序不会崩溃,但永远不会调用 Firebase 内部设置的原始 UncaughtExceptionHandler
,因此您不会在 Firebase 控制台中获得任何崩溃数据。
库的 2.0.0 版本修复了这个问题,一切正常。
更新您的依赖项以使其按预期工作:
dependencies {
compile 'cat.ereza:customactivityoncrash:2.0.0'
}
我正在考虑使用 this 之类的库,但是我担心 FirebaseCrash 会停止加载,因为该库可能会覆盖崩溃时调用的方法。
如果我使用 this 这样的库,Firebase 错误 Reports/Firebase 会不会崩溃?
来自the library's documentation:
WARNING! If you already have ACRA, Crashlytics or any similar library in your app, it will still work as normal, but the CustomActivityOnCrash initialization MUST be done first, or the original reporting tool will stop working.
它仍然可以正常工作。
我是那个库的开发者。 1.5.0 及以下版本会导致 Firebase 崩溃报告停止工作。该应用程序不会崩溃,但永远不会调用 Firebase 内部设置的原始 UncaughtExceptionHandler
,因此您不会在 Firebase 控制台中获得任何崩溃数据。
库的 2.0.0 版本修复了这个问题,一切正常。
更新您的依赖项以使其按预期工作:
dependencies {
compile 'cat.ereza:customactivityoncrash:2.0.0'
}