From 1629619f20929456718326835b81ea7170cc1076 Mon Sep 17 00:00:00 2001 From: sherlock Date: Sun, 8 Oct 2023 22:41:26 +0700 Subject: [PATCH] TW-731: add packages for copy/paste image --- android/app/build.gradle | 3 +- android/app/src/main/AndroidManifest.xml | 8 +++- pubspec.lock | 51 +++++++++++++++++++++--- pubspec.yaml | 7 +++- 4 files changed, 61 insertions(+), 8 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 23419542c..a985cab9c 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -33,6 +33,7 @@ if (keystorePropertiesFile.exists()) { android { compileSdkVersion 33 + ndkVersion flutter.ndkVersion sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -44,7 +45,7 @@ android { defaultConfig { applicationId "com.twake.twake" - minSdkVersion 21 + minSdkVersion 23 targetSdkVersion 33 versionCode flutterVersionCode.toInteger() versionName flutterVersionName diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 78d5c7eb2..700a8dbbc 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -40,7 +40,7 @@ android:requestLegacyExternalStorage="true" android:allowBackup="false" android:fullBackupContent="false" - > + > + + diff --git a/pubspec.lock b/pubspec.lock index f2b9fb4f9..1f0c0128c 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1043,11 +1043,12 @@ packages: flutter_typeahead: dependency: "direct main" description: - name: flutter_typeahead - sha256: f3a5f79d9a056e5108452dbec31d12bbd7f6d25e9097bf0f956e3f8d024e1747 - url: "https://pub.dev" - source: hosted - version: "4.7.0" + path: "." + ref: "improve/add-more-options-to-text-field-configuration" + resolved-ref: "5096d1a416606ea314f854dddcd4b575e4c85863" + url: "https://github.com/sherlockvn/flutter_typeahead.git" + source: git + version: "4.8.0" flutter_web_auth: dependency: "direct main" description: @@ -1367,6 +1368,22 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.4" + irondash_engine_context: + dependency: transitive + description: + name: irondash_engine_context + sha256: fea21bff36d44a5955beba90619f54b9169884014128ae75f50eba2db03c24a0 + url: "https://pub.dev" + source: hosted + version: "0.3.1" + irondash_message_channel: + dependency: transitive + description: + name: irondash_message_channel + sha256: "500daa1fbe679f7d28a5258df3ff47dab6de352e680dc93c1ca9eae1555d8db5" + url: "https://pub.dev" + source: hosted + version: "0.3.1" isolate: dependency: transitive description: @@ -1883,6 +1900,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.8.0" + pixel_snap: + dependency: transitive + description: + name: pixel_snap + sha256: "5de3662b926c9bc189578cf90f9d5b350ee61bc8e20e8a91fa1dfdd26c9f5ece" + url: "https://pub.dev" + source: hosted + version: "0.1.2" platform: dependency: transitive description: @@ -2425,6 +2450,22 @@ packages: url: "https://pub.dev" source: hosted version: "1.2.0" + super_clipboard: + dependency: "direct main" + description: + name: super_clipboard + sha256: "548642d62d691d2ba00850efe0f7a11ce5696e59111658abd4c6cb76b49aa61d" + url: "https://pub.dev" + source: hosted + version: "0.6.4" + super_native_extensions: + dependency: transitive + description: + name: super_native_extensions + sha256: "3bbb95899f848617b819eec1fa00c80a617f1bd469a480b1f0c4dd383da4c5ec" + url: "https://pub.dev" + source: hosted + version: "0.6.4" sync_http: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index b471a608a..25026da62 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -43,7 +43,11 @@ dependencies: flutter_ringtone_player: ^3.1.1 flutter_secure_storage: ^7.0.1 flutter_svg: ^0.22.0 - flutter_typeahead: ^4.7.0 + # FIXME: change to upstream when https://github.com/AbdulRahmanAlHamali/flutter_typeahead/pull/528 is merge + flutter_typeahead: + git: + url: https://github.com/sherlockvn/flutter_typeahead.git + ref: improve/add-more-options-to-text-field-configuration flutter_web_auth: ^0.5.0 # flutter_webrtc: # Until https://github.com/flutter-webrtc/flutter-webrtc/issues/1212 is fixed # git: https://github.com/radzio-it/flutter-webrtc.git @@ -149,6 +153,7 @@ dependencies: media_kit_libs_video: ^1.0.1 video_player: ^2.7.2 js: ^0.6.7 + super_clipboard: ^0.6.4 dev_dependencies: build_runner: ^2.3.3 dart_code_metrics: ^5.7.3