Unverified Commit fc209836 authored by Dan Field's avatar Dan Field Committed by GitHub

Bump the default minSdkVersion to 19 (#125515)

See https://docs.flutter.dev/reference/supported-platforms

I don't expect this to break anything, but if it does we can revert and figure out what else needs to happen first.

Without this change, engine changes upstream will get flagged in default flutter created apps.
parent 18e36dcb
......@@ -14,7 +14,7 @@ android {
defaultConfig {
applicationId "io.flutter.add2app"
minSdkVersion 16
minSdkVersion 19
targetSdkVersion 31
versionCode 1
versionName "1.0"
......
......@@ -14,7 +14,7 @@ android {
defaultConfig {
applicationId "io.flutter.add2app"
minSdkVersion 16
minSdkVersion 19
targetSdkVersion 31
versionCode 1
versionName "1.0"
......
......@@ -34,7 +34,7 @@ android {
}
defaultConfig {
minSdkVersion 16
minSdkVersion 19
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
......
......@@ -14,7 +14,7 @@ android {
defaultConfig {
applicationId "io.flutter.addtoapp"
minSdkVersion 16
minSdkVersion 19
targetSdkVersion 31
versionCode 1
versionName "1.0"
......
......@@ -47,7 +47,7 @@ class FlutterExtension {
static int compileSdkVersion = 33
/** Sets the minSdkVersion used by default in Flutter app projects. */
static int minSdkVersion = 16
static int minSdkVersion = 19
/** Sets the targetSdkVersion used by default in Flutter app projects. */
static int targetSdkVersion = 33
......
......@@ -39,7 +39,7 @@ const String templateKotlinGradlePluginVersion = '1.7.10';
// `.android` is always regenerated after flutter pub get, so new versions are picked up after a
// Flutter upgrade.
const String compileSdkVersion = '33';
const String minSdkVersion = '16';
const String minSdkVersion = '19';
const String targetSdkVersion = '33';
const String ndkVersion = '23.1.7779620';
......
......@@ -34,7 +34,7 @@ android {
}
defaultConfig {
minSdkVersion 16
minSdkVersion 19
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
......
......@@ -87,7 +87,7 @@ class DeferredComponentModule {
}
defaultConfig {
minSdkVersion 16
minSdkVersion 19
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
......
......@@ -162,7 +162,7 @@ class MultidexProject extends Project {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.multidextest2"
minSdkVersion 16
minSdkVersion 19
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
......
......@@ -34,7 +34,7 @@ android {
}
defaultConfig {
minSdkVersion 16
minSdkVersion 19
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment