Fix unintended app permissions due to Firebase misconfiguration (#1960)

This commit is contained in:
AntsyLich
2025-04-03 18:45:16 +06:00
committed by GitHub
parent 80de032819
commit 2259164fde
3 changed files with 7 additions and 3 deletions

View File

@ -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 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 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 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 ## [v0.18.0] - 2025-03-20
### Added ### Added

View File

@ -10,9 +10,12 @@ android {
sourceSets { sourceSets {
getByName("main") { getByName("main") {
val dir = if (Config.includeTelemetry) "firebase" else "noop" if (Config.includeTelemetry) {
kotlin.srcDirs("src/$dir/kotlin") kotlin.srcDirs("src/firebase/kotlin")
manifest.srcFile("src/$dir/AndroidManifext.xml") } else {
kotlin.srcDirs("src/noop/kotlin")
manifest.srcFile("src/noop/AndroidManifext.xml")
}
} }
} }
} }