{"id":16628976,"url":"https://github.com/bobbyesp/crashy","last_synced_at":"2025-12-25T00:38:21.188Z","repository":{"id":232005315,"uuid":"783226213","full_name":"BobbyESP/Crashy","owner":"BobbyESP","description":"A crash handler for Android powered by Material 3 and Jetpack Compose","archived":false,"fork":false,"pushed_at":"2024-04-07T11:20:02.000Z","size":113,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T05:14:20.736Z","etag":null,"topics":["android-library","crash-handler","jetpack-compose","material-3"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BobbyESP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-07T09:40:47.000Z","updated_at":"2024-04-07T22:45:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"47072aa5-4466-4504-9a63-7f94ea1c3298","html_url":"https://github.com/BobbyESP/Crashy","commit_stats":null,"previous_names":["bobbyesp/crashy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BobbyESP%2FCrashy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BobbyESP%2FCrashy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BobbyESP%2FCrashy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BobbyESP%2FCrashy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BobbyESP","download_url":"https://codeload.github.com/BobbyESP/Crashy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243075654,"owners_count":20232426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android-library","crash-handler","jetpack-compose","material-3"],"created_at":"2024-10-12T04:38:32.245Z","updated_at":"2025-12-25T00:38:21.119Z","avatar_url":"https://github.com/BobbyESP.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crashy\n\n## Quick setup\n### 1. Add the library\nYou first have to add the library to your Android project. For this you have to add `Jitpack` to your repositories\n- In the `build.gradle.kts` at project level\n```kotlin\nallprojects {\n    repositories {\n        maven(\"https://jitpack.io\")\n    }\n}\n```\n- In the `build.gradle.kts` at module/app level\n\n```kotlin\ndependencies {\n    // ...\n    implementation(\"com.github.BobbyESP:Crashy:\u003cversion\u003e\")\n}\n```\n\n### 2. Setup the crash handler\nFirst, for being able to catch any non-caught exceptions you will have to create a class extending the `Application` class from Android\n\nFor this create, for example in the root folder of your app module source a class called `App`:\n\n```kotlin\nclass App: Application() {\n    override fun onCreate() {\n        super.onCreate()\n    }\n}\n```\n\nAnd now that you have the file like that, just leaves calling the `setupCrashHandler()` function in the `onCreate()` function\n\n```kotlin\nclass App: Application() {\n    override fun onCreate() {\n        super.onCreate()\n\n        setupCrashHandler()\n    }\n}\n```\n\n### 3. Adding the needed to the app manifest\nThe only changes that you have to do in your manifest for the library to work are:\n\n```xml\n\u003capplication\n    android:name=\".App\"\u003e\n    \u003c!-- The rest of your code --\u003e\n    \u003cactivity\n        android:name=\"com.bobbyesp.crashhandler.CrashHandlerActivity\"\n        android:label=\"CrashHandlerActivity\"\n        android:launchMode=\"singleTask\"\n        android:theme=\"@style/Theme.\u003cYour app theme\u003e\" /\u003e\n\u003c/application\u003e\n```\n\nAnd done!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobbyesp%2Fcrashy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbobbyesp%2Fcrashy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobbyesp%2Fcrashy/lists"}