diff --git a/CHANGELOG.md b/CHANGELOG.md index abdef508a..e78a377ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co - Fix backup sharing from notifications not working when app is in background ([@JaymanR](https://github.com/JaymanR))([#1929](https://github.com/mihonapp/mihon/pull/1929)) - Fix mark existing duplicate read chapters as read option not working in some cases ([@AntsyLich](https://github.com/AntsyLich)) ([#1944](https://github.com/mihonapp/mihon/pull/1944)) - Fix app bar action tooltips blocking clicks ([@Bartuzen](https://github.com/Bartuzen)) ([#1928](https://github.com/mihonapp/mihon/pull/1928)) +- Fix unintended app permissions due to Firebase misconfiguration ([@AntsyLich](https://github.com/AntsyLich)) ([#1960](https://github.com/mihonapp/mihon/pull/1960)) ## [v0.18.0] - 2025-03-20 ### Added diff --git a/telemetry/build.gradle.kts b/telemetry/build.gradle.kts index b847d5f9d..9315a7842 100644 --- a/telemetry/build.gradle.kts +++ b/telemetry/build.gradle.kts @@ -10,9 +10,12 @@ android { sourceSets { getByName("main") { - val dir = if (Config.includeTelemetry) "firebase" else "noop" - kotlin.srcDirs("src/$dir/kotlin") - manifest.srcFile("src/$dir/AndroidManifext.xml") + if (Config.includeTelemetry) { + kotlin.srcDirs("src/firebase/kotlin") + } else { + kotlin.srcDirs("src/noop/kotlin") + manifest.srcFile("src/noop/AndroidManifext.xml") + } } } } diff --git a/telemetry/src/firebase/AndroidManifest.xml b/telemetry/src/main/AndroidManifest.xml similarity index 100% rename from telemetry/src/firebase/AndroidManifest.xml rename to telemetry/src/main/AndroidManifest.xml