diff --git a/android/build.gradle b/android/build.gradle index baaf5430d..c90ce0a80 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -7,30 +7,6 @@ allprojects { rootProject.buildDir = '../build' -// Workaround for building with Flutter 3.24 -// See: https://github.com/flutter/flutter/issues/153281#issuecomment-2292201697 -subprojects { - afterEvaluate { project -> - if (project.extensions.findByName("android") != null) { - Integer pluginCompileSdk = project.android.compileSdk - if (pluginCompileSdk != null && pluginCompileSdk < 31) { - project.logger.error( - "Warning: Overriding compileSdk version in Flutter plugin: " - + project.name - + " from " - + pluginCompileSdk - + " to 31 (to work around https://issuetracker.google.com/issues/199180389)." - + "\nIf there is not a new version of " + project.name + ", consider filing an issue against " - + project.name - + " to increase their compileSdk to the latest (otherwise try updating to the latest version)." - ) - project.android { - compileSdk 31 - } - } - } - } -} subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" project.evaluationDependsOn(":app") diff --git a/pubspec.lock b/pubspec.lock index 6be69ac46..24894acbe 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1196,10 +1196,11 @@ packages: native_imaging: dependency: "direct main" description: - name: native_imaging - sha256: "182ccd8e0815a8a2158500ef66c828c030f6b9e05783e41e22f33bbcfd46a3d5" - url: "https://pub.dev" - source: hosted + path: "." + ref: HEAD + resolved-ref: d76335e2039c041585df8103f5d4f5924e9e2add + url: "https://github.com/famedly/dart_native_imaging.git" + source: git version: "0.1.1" nested: dependency: transitive diff --git a/pubspec.yaml b/pubspec.yaml index c96ef2dbd..57dd053d4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -61,7 +61,8 @@ dependencies: linkify: ^5.0.0 matrix: ^0.38.0 mime: ^1.0.6 - native_imaging: ^0.1.1 + native_imaging: + git: https://github.com/famedly/dart_native_imaging.git opus_caf_converter_dart: ^1.0.1 package_info_plus: ^8.0.2 pasteboard: ^0.2.0