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

(cherry picked from commit 2259164fde4135cdd2d756fbec2d671d475ebb37)
This commit is contained in:
AntsyLich 2025-04-03 18:45:16 +06:00 committed by Cuong-Tran
parent 50d31978b2
commit d19c37596b
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
3 changed files with 7 additions and 3 deletions

View file

@ -29,6 +29,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")
}
} }
} }
} }