# Ereza/CustomActivityOnCrash

Android library that allows launching a custom activity when your app crashes, instead of showing the hated "Unfortunately, X has stopped" dialog.

Repository: https://github.com/Ereza/CustomActivityOnCrash
Canonical: https://ross.abutalabs.com/products/customactivityoncrash
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2024-05-17T08:29:02+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4443, "days_push": 838, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3757, forks 540 (observed 2026-08-28T04:08:17.846599+00:00)

## What it is
An Android library that launches a custom error activity when the app crashes, replacing the default 'Unfortunately, X has stopped' system dialog. It is configurable via a builder API and can be combined with crash reporters like Firebase Crashlytics or ACRA.

## Use cases
- show a custom screen when my android app crashes
- replace the unfortunately app has stopped dialog
- let users restart the app after a crash
- collect crash details in a custom error activity
- combine a custom crash screen with Firebase Crashlytics
- silently handle crashes that happen in the background

## When to choose
- you want a branded, user-friendly crash screen on Android instead of the system dialog
- you need configurable crash behavior such as restart buttons, error details, or background crash modes
- you already use Crashlytics or ACRA and want to add a custom UI on top

## When to avoid
- you only need crash reporting/analytics without a custom UI - use Crashlytics or ACRA alone
- you are not building an Android app
- you need a cross-platform crash handler covering iOS or desktop

## Facets
- artifact type: library
- maturity: maintenance
- function: error-handling, ui-components, logging
- domain: android-tools, mobile-development, developer-tools
- platform: jvm
- tags: crash-handler, android-library, uncaught-exception, error-activity, crash-reporting, android, mobile

## Member repositories
- Ereza/CustomActivityOnCrash (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:17.846599+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:28:55.610241+00:00, confidence not recorded.
  - readme: https://github.com/Ereza/CustomActivityOnCrash (fetched 2026-08-28T04:08:17.846599+00:00, sha c227bd798dc5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
