Update android templates to use target sdk 34 (#144641)

We should always target the newest, and 34 is the newest. This isn't a requirement yet (like it is for 33+) but presumably it will be made required in the nearish future.
This commit is contained in:
Gray Mackall 2024-03-06 11:15:07 -08:00 committed by GitHub
parent 8f84f3f32d
commit 9973771cc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View file

@ -15,7 +15,7 @@ android {
defaultConfig {
applicationId "io.flutter.add2app"
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 34
versionCode 1
versionName "1.0"
}

View file

@ -15,7 +15,7 @@ android {
defaultConfig {
applicationId "io.flutter.add2app"
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 34
versionCode 1
versionName "1.0"
}

View file

@ -15,7 +15,7 @@ android {
defaultConfig {
applicationId "io.flutter.addtoapp"
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 34
versionCode 1
versionName "1.0"
}

View file

@ -53,7 +53,7 @@ class FlutterExtension {
*
* See https://developer.android.com/guide/topics/manifest/uses-sdk-element.
*/
public final int targetSdkVersion = 33
public final int targetSdkVersion = 34
/**
* Sets the ndkVersion used by default in Flutter app projects.

View file

@ -41,7 +41,7 @@ const String templateKotlinGradlePluginVersion = '1.7.10';
// Please see the README before changing any of these values.
const String compileSdkVersion = '34';
const String minSdkVersion = '21';
const String targetSdkVersion = '33';
const String targetSdkVersion = '34';
const String ndkVersion = '23.1.7779620';