summaryrefslogtreecommitdiff
path: root/android/app
diff options
context:
space:
mode:
Diffstat (limited to 'android/app')
-rw-r--r--android/app/build.gradle.kts22
1 files changed, 19 insertions, 3 deletions
diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts
index d6fe8c4..76f5b50 100644
--- a/android/app/build.gradle.kts
+++ b/android/app/build.gradle.kts
@@ -7,12 +7,28 @@ plugins {
android {
namespace = "org.terst.doot.widget"
- compileSdk = 34
+ // 36: this is a single-user app, sideloaded only onto the one phone it's
+ // built for, not distributed broadly -- so "what does the widest range
+ // of devices support" (the reasoning behind the 2026-08-05 pass that set
+ // this to 31/34) is the wrong question. The actual device runs Android
+ // 16 (API 36); targeting anything lower means writing around
+ // capabilities that are just... there. build-tools;36.0.0 and
+ // platforms;android-36 are installed locally (see
+ // project-doot-widget-build memory) so this compiles clean, no D8
+ // version warnings.
+ compileSdk = 36
defaultConfig {
applicationId = "org.terst.doot.widget"
- minSdk = 26
- targetSdk = 34
+ // minSdk == targetSdk == compileSdk == 36, matching the one real
+ // device this ships to exactly. No fallback path for anything
+ // older is needed or wanted -- corrected 2026-08-06 after
+ // discovering the prior pass's "most devices" framing didn't apply
+ // here. Verified this actually installs by building a real API 36
+ // AVD (doot_test_api36) and installing onto it directly, the same
+ // way the wrong-minSdk mistake was caught in the first place.
+ minSdk = 36
+ targetSdk = 36
versionCode = 1
versionName = "1.0"
}