Skip to content

Crash reporting#122

Merged
sameerasw merged 2 commits into
developfrom
crash-reporting
Jun 19, 2026
Merged

Crash reporting#122
sameerasw merged 2 commits into
developfrom
crash-reporting

Conversation

@sameerasw

Copy link
Copy Markdown
Owner

This pull request introduces a new in-app crash reporting and notification system to replace the previous Sentry-based solution. It adds custom crash handling, user notifications, and a user interface for viewing and sharing crash reports, while removing all Sentry dependencies and related code.

Crash reporting and notification system:

  • Introduced a custom crash handler (CrashHandler) that writes crash reports to a local file, checks user preferences for notification, and triggers a notification if enabled.
  • Added a notification helper (CrashNotificationHelper) to manage crash notification channels and display actionable notifications, including options to dismiss or report a crash.
  • Implemented a broadcast receiver (CrashNotificationReceiver) to handle notification dismissal actions.
  • Registered the new receiver and activity in AndroidManifest.xml, and removed Sentry auto-init configuration. [1] [2]

Crash report user interface:

  • Added a CrashReportActivity that displays the crash log in a bottom sheet, allowing users to copy, save, email, or open a GitHub issue with the report. [1] [2]

Dependency and code cleanup:

  • Removed all Sentry dependencies and initialization code from the project, including related DataStore preferences. [1] [2] [3] [4] [5] [6]
  • Added the new exceptionreport module as a dependency, and integrated it to trigger the custom crash handler from MainActivity. [1] [2] [3]

Preferences update:

  • Introduced a new DataStore preference (notify_on_crash) to control whether users receive crash notifications.

@sameerasw sameerasw self-assigned this Jun 19, 2026
@sameerasw sameerasw added the enhancement New feature or request label Jun 19, 2026
@sameerasw sameerasw merged commit d5bf7ba into develop Jun 19, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in AirSync Features and Bugs Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant