fix(cli): readd targetSdk to Android app template, closes #10712 (#10791)

Regression from #10558
This commit is contained in:
Lucas Fernandes Nogueira 2024-08-27 10:04:43 -03:00 committed by GitHub
parent 1e441811ee
commit 9718dc9e8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Reintroduce the `targetSdk` value in the Android application template.

View File

@ -22,6 +22,7 @@ android {
manifestPlaceholders["usesCleartextTraffic"] = "false"
applicationId = "{{app.identifier}}"
minSdk = {{android.min-sdk-version}}
targetSdk = 34
versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
}