Repository navigation
Fuller crash reports, preference file rules, Ctrl+Shift+K shortcut, extension points - #25
Merged
Merged
Conversation
…xtension points Crash reports - Reports include app and device details, heap use and uptime, the last 20 network calls, the last 50 DeckLogger entries and the breadcrumbs. - CrashReporter.addSection adds app-specific context to every report. - After a relaunch, an "App crashed last time" bar (View, Share, dismiss) and a header chip point to the new report. - On Android 11+, ANRs and native crashes are imported from ApplicationExitInfo on the next launch. - CrashPlugin(testCrashButton = true) also offers a test ANR. SharedPreferences - PreferenceFileRules marks files as app, library or hidden (exact names or prefixes ending in *); testers can move a file between lists from its page. Other - Default shortcut is Ctrl+Shift+K: the emulator keeps Ctrl+Shift+D for its D-pad panel, so the old default never reached the app. - DeckHeaderChips lets apps add header chips; Pill and ConfirmDeleteButton are public. - Updates that aren't newer than the installed version code are ignored. - Old StoragePlugin, SharedPreferencesBrowser and CrashRecord signatures are kept as hidden overloads.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Crash reports
CrashReporter.networkCallsInReport,logsInReport,stepsInReport.CrashReporter.addSection(title) { … }adds app-specific context to every report.CrashReporter.unseenCrash,markSeen()).ApplicationExitInfoon the next launch.CrashPlugin(testCrashButton = true)adds Freeze the app (test ANR).SharedPreferences
PreferenceFileRules(app, library, hidden)viaStoragePlugin(preferenceRules = …)/SharedPreferencesBrowser(rules = …); names are exact or a prefix ending in*.Keyboard shortcut
Extension points
DeckHeaderChips.add(key) { DeckHeaderChip(...) }for app header chips (sample shows the active endpoint).PillandConfirmDeleteButtonare public.Fix
Compatibility
Old
StoragePlugin,SharedPreferencesBrowserandCrashRecordconstructor/copysignatures are kept as hidden overloads. Old crash files parse unchanged. The shortcut change is behavioural and is called out in the CHANGELOG.Checks
ktlintCheck lintDebug lintRelease assembleRelease testDebugUnitTest apiCheck :sample:assembleQapass locally; new tests for report parsing/formatting, preference rules and update version comparison.🤖 Generated with Claude Code