Skip to content

Releases: kseongbin/CrashWatcher

v1.0.0 - Initial Release

29 Dec 11:09

Choose a tag to compare

CrashLogger v1.0.0 - Initial Release 🚀

First stable release of CrashLogger, an Android crash and ANR detection library.

✨ Features

  • Crash Detection: Automatically captures all uncaught exceptions with detailed stack traces
  • ANR Detection: Monitors main thread responsiveness using watchdog pattern
  • No Permissions Required: Uses app-specific external storage
  • Automatic Log Rotation: Maintains configurable maximum number of log files
  • Rich Metadata: Device info, app version, thread states automatically collected
  • Thread-Safe: Safe log writing in concurrent environments
  • Lightweight: Minimal dependencies and small APK footprint

📦 Installation

Option 1: JitPack (Recommended)

Add JitPack repository to your `settings.gradle.kts`:

```kotlin
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
```

Add dependency:

```kotlin
dependencies {
implementation("com.github.kseongbin:StackTraceLibrary:1.0.0")
}
```

Option 2: Manual AAR Installation

Download `stacktrace-release-1.0.0.aar` from this release and add to your project:

  1. Place AAR in `app/libs/` directory
  2. Add dependency:

```kotlin
dependencies {
implementation(files("libs/stacktrace-release-1.0.0.aar"))
}
```

🚀 Quick Start

Initialize in your Application class:

```kotlin
class MyApplication : Application() {
override fun onCreate() {
super.onCreate()
CrashLogger.initialize(this)
}
}
```

📄 Requirements

  • Min SDK: API 26 (Android 8.0 Oreo)
  • Target SDK: API 36
  • Java: Version 17
  • Kotlin: 2.0.21+

📚 Documentation

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📝 License

Apache License 2.0