diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 4a7ac85..d6fa923 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -30,7 +30,7 @@ kotlin { } android { - compileSdk 34 + compileSdk flutter.compileSdkVersion sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -39,8 +39,8 @@ android { defaultConfig { applicationId "org.unifiedpush.flutter.example" - minSdk 16 - targetSdk 34 + minSdk flutter.minSdkVersion + targetSdk flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName // Required when setting minSdkVersion to 20 or lower diff --git a/unifiedpush_android/android/build.gradle b/unifiedpush_android/android/build.gradle index 159a052..5cf6a08 100644 --- a/unifiedpush_android/android/build.gradle +++ b/unifiedpush_android/android/build.gradle @@ -36,14 +36,14 @@ kotlin { } android { - compileSdk 34 + compileSdk flutter.compileSdkVersion sourceSets { main.java.srcDirs += 'src/main/kotlin' } defaultConfig { - minSdk 16 + minSdk flutter.minSdkVersion } namespace 'org.unifiedpush.flutter.connector' }