Skip to content

Commit e3de934

Browse files
committed
set compileSdkVersion 34 to fix build errors
Newer versions of Flutter require newer compileSdkVersion
1 parent 3739275 commit e3de934

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ rootProject.allprojects {
2222
apply plugin: 'com.android.library'
2323

2424
android {
25-
compileSdkVersion 28
25+
compileSdkVersion 34
2626
// Condition for namespace compatibility in AGP <4.2
2727
if (project.android.hasProperty("namespace")) {
2828
namespace 'com.onesignal.flutter'

example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ apply plugin: 'com.android.application'
1515
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
1616

1717
android {
18-
compileSdkVersion 33
18+
compileSdkVersion 34
1919

2020
lintOptions {
2121
disable 'InvalidPackage'

0 commit comments

Comments
 (0)