一些检查失败了
automerge / automerge (push) Has been cancelled
react-native-android-build-apk / AssembleRelease (push) Has been cancelled
Build macOS M1 / Main (push) Has been cancelled
Joplin Continuous Integration / Main (macos-15-intel) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-11-vs2026-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-2025) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04-arm) (push) Has been cancelled
Joplin UI tests / Main (ubuntu-22.04) (push) Has been cancelled
Joplin UI tests / Main (windows-2025) (push) Has been cancelled
Joplin UI tests / Mobile (push) Has been cancelled
Close stale issues / ProcessStaleIssues (push) Has been cancelled
22 行
865 B
Diff
22 行
865 B
Diff
# Add a minSdkVersion to prevent the dangerous READ_PHONE_STATE
|
|
# permission from being added.
|
|
# See:
|
|
# - Upstream issue report: https://github.com/oblador/react-native-vector-icons/issues/1861
|
|
# - About the permission: https://developer.android.com/reference/android/Manifest.permission#READ_PHONE_STATE
|
|
# - StackOverflow post with discussion and alternate workarounds: https://stackoverflow.com/questions/39668549/why-has-the-read-phone-state-permission-been-added
|
|
diff --git a/android/build.gradle b/android/build.gradle
|
|
index 3b22f9de66795ee01dbaa29655727ee7ddba3cc8..325daa88d33f066b3826e5031ce281793710af2d 100644
|
|
--- a/android/build.gradle
|
|
+++ b/android/build.gradle
|
|
@@ -37,6 +37,10 @@ android {
|
|
}
|
|
|
|
compileSdkVersion safeExtGet('compileSdkVersion', 31)
|
|
+
|
|
+ defaultConfig {
|
|
+ minSdkVersion safeExtGet('minSdkVersion', 24)
|
|
+ }
|
|
}
|
|
|
|
dependencies {
|