-
Notifications
You must be signed in to change notification settings - Fork 624
Crashlytics exception handler #6267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This reverts commit 4d6e112.
we are sending a task within a task for common worker which cause the async behavior, remove the re-submitting task for report finalization
Avoid `Task`s in `checkForPreviousCrash`. This is a step towards removing the nasty `awaitEvenIfOnMainThread`.
Deprecate `awaitEvenIfOnMain`. Next PR will be to drain the worker and remove this util.
Adjust time out and disk worker as discussed. This moves some things off the disk worker, but we plan to put them back after more refactoring.
Make init suspend on settings only, not on race. This allows us to avoid having a separate queue just for init and settings. If the app has unsent reports, but data collection and send unsent reports both have not been triggered, still let user actions queue up.
Add a precondition check for not main thread. This is more useful when we just want to enforce not main thread, not a specific thread.
Make doBackgroundInitializationAsync submit a callable instead of submit task Submit task results in a blocking behaviour when `SettingsTask` cannot be resolved during initialization Remove un-necessary task return
Release note changesThe following release notes were modified. Please ensure they look correct. Release Notesfirebase-crashlytics### {{crashlytics}} version 19.1.1 {: #crashlytics_v19-1-1}
* {{fixed}} Improved data consistency for rapid user actions.
* {{changed}} Internal changes to improve startup time.
* {{changed}} Internal changes to the way background tasks are scheduled.
* {{changed}} Migrated SDK to use standard Firebase executors.
#### {{crashlytics}} Kotlin extensions version 19.1.1 {: #crashlytics-ktx_v19-1-1}
The Kotlin extensions library transitively includes the updated
`firebase-crashlytics` library. The Kotlin extensions library has no additional
updates. |
Coverage Report 1Affected Products
Test Logs |
Size Report 1Affected Products
Test Logs |
Startup Time Report 1Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS. Notes
Startup Times
|
Unit Test Results 8 files - 80 8 suites - 80 23s ⏱️ - 2m 16s Results for commit f357632. ± Comparison against base commit e6b4ace. This pull request removes 371 tests.
|
Revert the old reversion #6191
merge back feature branch