From 4864949c2a454bce40e1ad9d3928db2db2a21427 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 28 Jan 2026 00:34:05 +0100 Subject: [PATCH] Use Flutter's preferred Android compileSdkVersion Avoid relying on an old Android SDK for compiling the package. Flutter's preferred compileSdkVersion is higher than 34: https://github.com/flutter/flutter/blob/d93e2d4b82ba2cc1b730948a81f823d52374d5dc/packages/flutter_tools/lib/src/android/gradle_utils.dart#L52 --- share_handler_android/android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share_handler_android/android/build.gradle b/share_handler_android/android/build.gradle index 334fef6..9d79107 100644 --- a/share_handler_android/android/build.gradle +++ b/share_handler_android/android/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' android { namespace "com.shoutsocial.share_handler" - compileSdkVersion 34 + compileSdkVersion flutter.compileSdkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8