Skip to content

Commit

Permalink
example: don't hardcode minSdk/compileSdk/targetSdk
Browse files Browse the repository at this point in the history
  • Loading branch information
emersion committed Aug 11, 2024
1 parent 09a36b0 commit 7c7377d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ kotlin {
}

android {
compileSdk 34
compileSdk flutter.compileSdkVersion

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand All @@ -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
Expand Down

0 comments on commit 7c7377d

Please sign in to comment.