From 2f4a62e03c2fb36195e31a5431272108067c970c Mon Sep 17 00:00:00 2001 From: zarzet Date: Fri, 26 Jun 2026 21:40:04 +0700 Subject: [PATCH] build(android): bump compileSdk to 37 and pin file_picker to beta.5 Pin file_picker to exact 12.0.0-beta.5 since beta.7's published artifact fails to compile on Android. Set compileSdk = 37 so receive_sharing_intent 1.9.0 (compiles against SDK 37) builds against a stable platform. --- android/app/build.gradle.kts | 2 +- pubspec.lock | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index e7350648..3832e25b 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -17,7 +17,7 @@ if (keystorePropertiesFile.exists()) { android { namespace = "com.zarz.spotiflac" - compileSdk = flutter.compileSdkVersion + compileSdk = 37 ndkVersion = flutter.ndkVersion buildFeatures { diff --git a/pubspec.lock b/pubspec.lock index 7dbc887a..b57b8d8a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -349,10 +349,10 @@ packages: dependency: "direct main" description: name: file_picker - sha256: fdc6a37f715d19f35b131decf1ce39242eeed5ddae18c0818c3eccb731ab76be + sha256: fc83774ce5bd7ce08168333b5e53dbe9090ec04eb21e7aa7cd7bac921032c934 url: "https://pub.dev" source: hosted - version: "12.0.0-beta.7" + version: "12.0.0-beta.5" fixnum: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 73ebe138..71db098e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -43,7 +43,7 @@ dependencies: permission_handler: ^12.0.3 # File Picker - file_picker: ^12.0.0-beta.5 + file_picker: 12.0.0-beta.5 # JSON Serialization json_annotation: ^4.12.0