Skip to content

Commit 9dbfd52

Browse files
authored
Force exclude "android.permission.READ_MEDIA_IMAGES" permission (#400)
1 parent a7b827c commit 9dbfd52

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ android {
4141
buildConfigField("String", "SWARM_UI_INFO_URL", "\"https://github.com/mcmonkeyprojects/SwarmUI/tree/master/docs\"")
4242

4343
resourceConfigurations += listOf("en", "ru", "uk", "tr", "zh")
44+
manifestPlaceholders["excludePermissions"] = "true"
4445
}
4546

4647
val hasPropertiesFile = File("app/keystore/signing.properties").exists()

app/src/playstore/AndroidManifest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,8 @@
2323
android:maxSdkVersion="31"
2424
tools:ignore="ScopedStorage" />
2525

26+
<uses-permission
27+
android:name="android.permission.READ_MEDIA_IMAGES"
28+
tools:node="remove" />
29+
2630
</manifest>

0 commit comments

Comments
 (0)