Releases: kseongbin/CrashWatcher
v1.0.0 - Initial Release
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:
- Place AAR in `app/libs/` directory
- 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