diff --git a/androidApp/README.md b/androidApp/README.md new file mode 100644 index 0000000..6bf65ce --- /dev/null +++ b/androidApp/README.md @@ -0,0 +1,6 @@ +# Android app + +## Crash logging + +GlitchTip is configured in the project. It uses the open source solution Senstry to log crashes +generated by the app and send them to GlitchTip on a European server. diff --git a/androidApp/build.gradle.kts b/androidApp/build.gradle.kts index 32b6b8e..e3204c1 100644 --- a/androidApp/build.gradle.kts +++ b/androidApp/build.gradle.kts @@ -18,6 +18,9 @@ dependencies { implementation(libs.androidx.activity.compose) implementation(libs.compose.uiToolingPreview) debugImplementation(libs.compose.uiTooling) + + // Crash logging + implementation(libs.glitchtips) } android { diff --git a/androidApp/src/main/AndroidManifest.xml b/androidApp/src/main/AndroidManifest.xml index 4ef8eef..e0da81a 100644 --- a/androidApp/src/main/AndroidManifest.xml +++ b/androidApp/src/main/AndroidManifest.xml @@ -20,6 +20,10 @@ + + + + \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index ca59f14..d9531fd 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -10,6 +10,7 @@ media3 = "1.10.1" navigation3 = "1.1.1" composeMultiplatform = "1.11.1" composeIconsExtended = "1.7.3" +glitchtips = "8.47.0" kotlin = "2.4.0" kotlinWrappers = "2026.7.0" kotlinxBrowser = "0.5.0" @@ -41,6 +42,7 @@ compose-runtime = { module = "org.jetbrains.compose.runtime:runtime", version.re compose-ui = { module = "org.jetbrains.compose.ui:ui", version.ref = "composeMultiplatform" } compose-uiTooling = { module = "org.jetbrains.compose.ui:ui-tooling", version.ref = "composeMultiplatform" } compose-uiToolingPreview = { module = "org.jetbrains.compose.ui:ui-tooling-preview", version.ref = "composeMultiplatform" } +glitchtips = { module = "io.sentry:sentry-android", version.ref = "glitchtips" } koin-bom = { module = "io.insert-koin:koin-bom", version.ref = "koin" } koin-compose = { module = "io.insert-koin:koin-compose" } koin-compose-viewmodel = { module = "io.insert-koin:koin-compose-viewmodel" }