Skip to content

Commit

Permalink
chore: update Android target SDK to 34 (#1368)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored May 25, 2024
1 parent 430bd6f commit 7581576
Show file tree
Hide file tree
Showing 14 changed files with 51 additions and 24 deletions.
13 changes: 13 additions & 0 deletions .changes/target-sdk-34.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"barcode-scanner": patch
"biometric": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"nfc": patch
"notification": patch
"shell": patch
"store": patch
---

Updated Android target SDK to 34.
4 changes: 2 additions & 2 deletions examples/api/src-tauri/gen/android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ plugins {
}

android {
compileSdk = 33
compileSdk = 34
namespace = "com.tauri.api"
defaultConfig {
manifestPlaceholders["usesCleartextTraffic"] = "false"
applicationId = "com.tauri.api"
minSdk = 24
targetSdk = 33
targetSdk = 34
versionCode = 1
versionName = "1.0"
}
Expand Down
14 changes: 14 additions & 0 deletions examples/api/src-tauri/gen/schemas/desktop-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6319,6 +6319,13 @@
"window:allow-minimize"
]
},
{
"description": "window:allow-monitor-from-point -> Enables the monitor_from_point command without any pre-configured scope.",
"type": "string",
"enum": [
"window:allow-monitor-from-point"
]
},
{
"description": "window:allow-outer-position -> Enables the outer_position command without any pre-configured scope.",
"type": "string",
Expand Down Expand Up @@ -6753,6 +6760,13 @@
"window:deny-minimize"
]
},
{
"description": "window:deny-monitor-from-point -> Denies the monitor_from_point command without any pre-configured scope.",
"type": "string",
"enum": [
"window:deny-monitor-from-point"
]
},
{
"description": "window:deny-outer-position -> Denies the outer_position command without any pre-configured scope.",
"type": "string",
Expand Down
4 changes: 2 additions & 2 deletions plugins/barcode-scanner/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ plugins {

android {
namespace = "app.tauri.barcodescanner"
compileSdk = 32
compileSdk = 34

defaultConfig {
minSdk = 24
targetSdk = 32
targetSdk = 34

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand Down
4 changes: 2 additions & 2 deletions plugins/biometric/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ plugins {

android {
namespace = "app.tauri.biometric"
compileSdk = 32
compileSdk = 34

defaultConfig {
minSdk = 24
targetSdk = 32
targetSdk = 34

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand Down
4 changes: 2 additions & 2 deletions plugins/clipboard-manager/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ plugins {

android {
namespace = "app.tauri.clipboard"
compileSdk = 32
compileSdk = 34

defaultConfig {
minSdk = 24
targetSdk = 32
targetSdk = 34

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand Down
4 changes: 2 additions & 2 deletions plugins/deep-link/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ plugins {

android {
namespace = "app.tauri.deep_link"
compileSdk = 32
compileSdk = 34

defaultConfig {
minSdk = 24
targetSdk = 32
targetSdk = 34

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ plugins {
}

android {
compileSdk = 33
compileSdk = 34
namespace = "com.tauri.deep_link_example"
defaultConfig {
manifestPlaceholders["usesCleartextTraffic"] = "false"
applicationId = "com.tauri.deep_link_example"
minSdk = 24
targetSdk = 33
targetSdk = 34
versionCode = 1
versionName = "1.0"
}
Expand Down
4 changes: 2 additions & 2 deletions plugins/dialog/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ plugins {

android {
namespace = "app.tauri.dialog"
compileSdk = 32
compileSdk = 34

defaultConfig {
minSdk = 24
targetSdk = 32
targetSdk = 34

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand Down
4 changes: 2 additions & 2 deletions plugins/nfc/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ plugins {

android {
namespace = "app.tauri.nfc"
compileSdk = 33
compileSdk = 34

defaultConfig {
minSdk = 24
targetSdk = 33
targetSdk = 34

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand Down
4 changes: 2 additions & 2 deletions plugins/notification/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ plugins {

android {
namespace = "app.tauri.notification"
compileSdk = 33
compileSdk = 34

defaultConfig {
minSdk = 24
targetSdk = 33
targetSdk = 34

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand Down
4 changes: 2 additions & 2 deletions plugins/shell/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ plugins {

android {
namespace = "app.tauri.shell"
compileSdk = 33
compileSdk = 34

defaultConfig {
minSdk = 19
targetSdk = 33
targetSdk = 34

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand Down
4 changes: 2 additions & 2 deletions plugins/store/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ plugins {

android {
namespace = "app.tauri.store"
compileSdk = 33
compileSdk = 34

defaultConfig {
minSdk = 19
targetSdk = 33
targetSdk = 34

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand Down
4 changes: 2 additions & 2 deletions shared/template/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ plugins {

android {
namespace = "{{android_package_id}}"
compileSdk = 32
compileSdk = 34

defaultConfig {
minSdk = 24
targetSdk = 32
targetSdk = 34

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand Down

0 comments on commit 7581576

Please sign in to comment.