From 7c7377d905af0508721ba126b684fc8a3eb9a8f0 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 11 Aug 2024 18:16:26 +0200 Subject: [PATCH] example: don't hardcode minSdk/compileSdk/targetSdk --- example/android/app/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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