From 37c368dca67c245a4ee5dc39fdc47b40c425baf5 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 1 Nov 2026 15:41:18 -0500 Subject: [PATCH] Pin receive_sharing_intent to 1.8.1 to fix android-37 compileSdk error --- mobile/android/build.gradle | 7 +++++++ mobile/pubspec.yaml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mobile/android/build.gradle b/mobile/android/build.gradle index bc157bd..4822a45 100644 --- a/mobile/android/build.gradle +++ b/mobile/android/build.gradle @@ -9,6 +9,13 @@ rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } +subprojects { subproject -> + subproject.plugins.withId("com.android.library") { + subproject.android { + compileSdk = 35 + } + } +} subprojects { project.evaluationDependsOn(':app') } diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml index 13993e6..ee0d62d 100644 --- a/mobile/pubspec.yaml +++ b/mobile/pubspec.yaml @@ -21,7 +21,7 @@ dependencies: flutter_secure_storage: ^9.2.2 # Share Target (Android ACTION_SEND & iOS Share Extension) - receive_sharing_intent: ^1.8.1 + receive_sharing_intent: 1.8.1 # Camera & Image Ingestion for Cookbook OCR camera: ^0.10.5+9