From 5a37c04c3466f6fe4fc5fb6e79b0f6318820c14c Mon Sep 17 00:00:00 2001 From: Anes Belfodil Date: Sat, 12 Sep 2020 20:29:46 -0400 Subject: [PATCH 1/2] Add base Flutter dependencies --- mobile/pubspec.lock | 120 ++++++++++++++++++++++++++++++++++++++++++++ mobile/pubspec.yaml | 8 +++ 2 files changed, 128 insertions(+) diff --git a/mobile/pubspec.lock b/mobile/pubspec.lock index 65a95a92..03161685 100644 --- a/mobile/pubspec.lock +++ b/mobile/pubspec.lock @@ -1,6 +1,20 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: + archive: + dependency: "direct main" + description: + name: archive + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.13" + args: + dependency: transitive + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "1.6.0" async: dependency: transitive description: @@ -8,6 +22,27 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.5.0-nullsafety" + battery: + dependency: "direct main" + description: + name: battery + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.5" + battery_platform_interface: + dependency: transitive + description: + name: battery_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + bloc: + dependency: "direct main" + description: + name: bloc + url: "https://pub.dartlang.org" + source: hosted + version: "6.0.3" boolean_selector: dependency: transitive description: @@ -43,6 +78,20 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.15.0-nullsafety.2" + convert: + dependency: transitive + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + crypto: + dependency: transitive + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.5" cupertino_icons: dependency: "direct main" description: @@ -69,11 +118,32 @@ packages: description: flutter source: sdk version: "0.0.0" + flutter_bloc: + dependency: "direct main" + description: + name: flutter_bloc + url: "https://pub.dartlang.org" + source: hosted + version: "6.0.5" + flutter_blue: + dependency: "direct main" + description: + name: flutter_blue + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.2" flutter_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" + hive: + dependency: "direct main" + description: + name: hive + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.4" matcher: dependency: transitive description: @@ -88,6 +158,20 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.3.0-nullsafety.2" + mime: + dependency: transitive + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "0.9.7" + nested: + dependency: transitive + description: + name: nested + url: "https://pub.dartlang.org" + source: hosted + version: "0.0.4" path: dependency: transitive description: @@ -95,6 +179,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.8.0-nullsafety" + plugin_platform_interface: + dependency: transitive + description: + name: plugin_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" protobuf: dependency: "direct main" description: @@ -102,6 +193,27 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.1" + provider: + dependency: transitive + description: + name: provider + url: "https://pub.dartlang.org" + source: hosted + version: "4.3.2+2" + rxdart: + dependency: transitive + description: + name: rxdart + url: "https://pub.dartlang.org" + source: hosted + version: "0.24.1" + share: + dependency: "direct main" + description: + name: share + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.5" sky_engine: dependency: transitive description: flutter @@ -156,6 +268,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.3.0-nullsafety.2" + usb_serial: + dependency: "direct main" + description: + name: usb_serial + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.4" vector_math: dependency: transitive description: @@ -165,3 +284,4 @@ packages: version: "2.1.0-nullsafety.2" sdks: dart: ">=2.10.0-0.0.dev <2.10.0" + flutter: ">=1.16.0 <2.0.0" diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml index 4c083390..5409c88d 100644 --- a/mobile/pubspec.yaml +++ b/mobile/pubspec.yaml @@ -28,6 +28,14 @@ dependencies: # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^0.1.3 protobuf: ^1.0.1 + hive: ^1.4.4 + usb_serial: ^0.2.4 + flutter_blue: ^0.7.2 + bloc: ^6.0.3 + flutter_bloc: ^6.0.5 + battery: ^1.0.5 + share: ^0.6.5 + archive: ^2.0.13 dev_dependencies: flutter_test: From 65cf38dfe9c451307cceca67321d613183cb7a4a Mon Sep 17 00:00:00 2001 From: Anes Belfodil Date: Mon, 14 Sep 2020 16:11:13 -0400 Subject: [PATCH 2/2] Bump minimal android sdk version --- mobile/android/app/build.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mobile/android/app/build.gradle b/mobile/android/app/build.gradle index fb5a1026..4e62f489 100644 --- a/mobile/android/app/build.gradle +++ b/mobile/android/app/build.gradle @@ -37,9 +37,8 @@ android { } defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.example.Polydodo" - minSdkVersion 16 + applicationId "com.PolyCortex.Polydodo" + minSdkVersion 19 targetSdkVersion 28 versionCode flutterVersionCode.toInteger() versionName flutterVersionName