From bf7b4cd37c92bb4aca36195bdf32d602c521b1d0 Mon Sep 17 00:00:00 2001 From: ryleedavis Date: Fri, 22 Jul 2022 15:33:51 -0600 Subject: [PATCH 1/3] about page added --- assets/svg/ellipsis.svg | 3 + .../settings_subviews/about_view.dart | 159 ++++++++++++++++++ lib/pages/settings_view/settings_view.dart | 20 +++ pubspec.yaml | 2 + 4 files changed, 184 insertions(+) create mode 100644 assets/svg/ellipsis.svg create mode 100644 lib/pages/settings_view/settings_subviews/about_view.dart diff --git a/assets/svg/ellipsis.svg b/assets/svg/ellipsis.svg new file mode 100644 index 0000000..bde6094 --- /dev/null +++ b/assets/svg/ellipsis.svg @@ -0,0 +1,3 @@ + + + diff --git a/lib/pages/settings_view/settings_subviews/about_view.dart b/lib/pages/settings_view/settings_subviews/about_view.dart new file mode 100644 index 0000000..d7db53e --- /dev/null +++ b/lib/pages/settings_view/settings_subviews/about_view.dart @@ -0,0 +1,159 @@ +import 'package:flutter/material.dart'; +import 'package:google_fonts/google_fonts.dart'; +import 'package:package_info_plus/package_info_plus.dart'; +import 'package:paymint/pages/settings_view/helpers/builders.dart'; +import 'package:paymint/utilities/cfcolors.dart'; + +class AboutView extends StatelessWidget { + const AboutView({Key key}) : super(key: key); + + static const String routeName = "/about"; + + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: CFColors.white, + appBar: buildSettingsAppBar( + context, + "About", + ), + body: Padding( + padding: const EdgeInsets.all(16), + child: LayoutBuilder( + builder: (context, constraints) { + return SingleChildScrollView( + child: ConstrainedBox( + constraints: BoxConstraints( + minHeight: constraints.maxHeight, + ), + child: IntrinsicHeight( + child: Column( + crossAxisAlignment: CrossAxisAlignment.stretch, + children: [ + SizedBox( + height: 24, + ), + FutureBuilder( + future: PackageInfo.fromPlatform(), + builder: + (context, AsyncSnapshot snapshot) { + String version = ""; + String appName = ""; + String build = ""; + + if (snapshot.connectionState == + ConnectionState.done && + snapshot.hasData) { + version = snapshot.data.version; + build = snapshot.data.buildNumber; + appName = snapshot.data.appName; + } + + return Column( + crossAxisAlignment: CrossAxisAlignment.stretch, + children: [ + Container( + child: Column( + crossAxisAlignment: + CrossAxisAlignment.stretch, + children: [ + Text( + "Name", + style: GoogleFonts.workSans( + color: CFColors.twilight, + fontWeight: FontWeight.w500, + fontSize: 12, + ), + ), + SizedBox( + height: 4, + ), + SelectableText( + appName, + style: GoogleFonts.workSans( + color: CFColors.dusk, + fontWeight: FontWeight.w600, + fontSize: 14, + letterSpacing: 0.25, + ), + ), + ], + ), + ), + SizedBox( + height: 12, + ), + Container( + child: Column( + crossAxisAlignment: + CrossAxisAlignment.stretch, + children: [ + Text( + "Version", + style: GoogleFonts.workSans( + color: CFColors.twilight, + fontWeight: FontWeight.w500, + fontSize: 12, + ), + ), + SizedBox( + height: 4, + ), + SelectableText( + version, + style: GoogleFonts.workSans( + color: CFColors.dusk, + fontWeight: FontWeight.w600, + fontSize: 14, + letterSpacing: 0.25, + ), + ), + ], + ), + ), + SizedBox( + height: 12, + ), + Container( + child: Column( + crossAxisAlignment: + CrossAxisAlignment.stretch, + children: [ + Text( + "Build number", + style: GoogleFonts.workSans( + color: CFColors.twilight, + fontWeight: FontWeight.w500, + fontSize: 12, + ), + ), + SizedBox( + height: 4, + ), + SelectableText( + build, + style: GoogleFonts.workSans( + color: CFColors.dusk, + fontWeight: FontWeight.w600, + fontSize: 14, + letterSpacing: 0.25, + ), + ), + ], + ), + ), + ], + ); + }, + ), + ], + ), + ), + ), + ); + }, + ), + ), + ); + } +} diff --git a/lib/pages/settings_view/settings_view.dart b/lib/pages/settings_view/settings_view.dart index 07f4da9..d39666d 100644 --- a/lib/pages/settings_view/settings_view.dart +++ b/lib/pages/settings_view/settings_view.dart @@ -5,6 +5,7 @@ import 'package:google_fonts/google_fonts.dart'; import 'package:paymint/notifications/modal_popup_dialog.dart'; import 'package:paymint/pages/address_book_view/address_book_view.dart'; import 'package:paymint/pages/lockscreen_view.dart'; +import 'package:paymint/pages/settings_view/settings_subviews/about_view.dart'; import 'package:paymint/pages/settings_view/settings_subviews/currency_view.dart'; import 'package:paymint/pages/settings_view/settings_subviews/network_settings_view.dart'; import 'package:paymint/pages/settings_view/settings_subviews/wallet_settings_view.dart'; @@ -303,6 +304,25 @@ class SettingsView extends StatelessWidget { color: CFColors.fog, ), // address book item + _buildItem( + "assets/svg/ellipsis.svg", + "About", + () { + Navigator.push( + context, + CupertinoPageRoute( + builder: (_) => AboutView(), + settings: RouteSettings(name: "/settings/about"), + ), + ); + }, + Key("settingsOptionAbout"), + ), + Container( + height: 1, + width: double.infinity, + color: CFColors.fog, + ), _buildItem( "assets/svg/usd-circle.svg", "Currency", diff --git a/pubspec.yaml b/pubspec.yaml index 7751bb7..e43e410 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -70,6 +70,7 @@ dependencies: intl: ^0.17.0 devicelocale: ^0.5.0 keyboard_dismisser: ^2.0.1 + package_info_plus: ^1.4.2 dev_dependencies: flutter_test: @@ -121,6 +122,7 @@ flutter: - assets/svg/chevron-right.svg - assets/svg/close.svg - assets/svg/copy.svg + - assets/svg/ellipsis.svg - assets/svg/groupLogo.svg - assets/svg/menu.svg - assets/svg/radio.svg From c6e5d5b2ad90fcbb6b9d5f1485ea4c53b16e3bcd Mon Sep 17 00:00:00 2001 From: marco Date: Mon, 25 Jul 2022 21:48:43 +0800 Subject: [PATCH 2/3] update for flutter 3.0, add about page for users --- android/app/build.gradle | 4 +- pubspec.lock | 266 +++++++++++++++++++++++---------------- pubspec.yaml | 4 +- 3 files changed, 165 insertions(+), 109 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 9fb17cb..f6511ae 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -32,7 +32,7 @@ if (keystorePropertiesFile.exists()) { } android { - compileSdkVersion 31 + compileSdkVersion 33 sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -46,7 +46,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.cypherstack.campfire" minSdkVersion 23 - targetSdkVersion 31 + targetSdkVersion 33 versionCode flutterVersionCode.toInteger() versionName flutterVersionName testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/pubspec.lock b/pubspec.lock index 442aa0c..20cac2a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,42 +7,42 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "31.0.0" + version: "42.0.0" analyzer: dependency: transitive description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "2.8.0" + version: "4.3.0" animations: dependency: "direct main" description: name: animations url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "2.0.3" app_settings: dependency: "direct main" description: name: app_settings url: "https://pub.dartlang.org" source: hosted - version: "4.1.1" + version: "4.1.8" archive: dependency: transitive description: name: archive url: "https://pub.dartlang.org" source: hosted - version: "3.1.6" + version: "3.1.11" args: dependency: transitive description: name: args url: "https://pub.dartlang.org" source: hosted - version: "2.3.0" + version: "2.3.1" async: dependency: transitive description: @@ -56,7 +56,7 @@ packages: name: barcode_scan2 url: "https://pub.dartlang.org" source: hosted - version: "4.2.0" + version: "4.2.1" bech32: dependency: transitive description: @@ -98,35 +98,35 @@ packages: name: build url: "https://pub.dartlang.org" source: hosted - version: "2.2.1" + version: "2.3.0" build_config: dependency: transitive description: name: build_config url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.1.0" build_daemon: dependency: transitive description: name: build_daemon url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.1.0" build_resolvers: dependency: transitive description: name: build_resolvers url: "https://pub.dartlang.org" source: hosted - version: "2.0.6" + version: "2.0.9" build_runner: dependency: "direct dev" description: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "2.1.7" + version: "2.2.0" build_runner_core: dependency: transitive description: @@ -147,7 +147,7 @@ packages: name: built_value url: "https://pub.dartlang.org" source: hosted - version: "8.1.4" + version: "8.4.0" characters: dependency: transitive description: @@ -169,13 +169,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.0.1" - cli_util: - dependency: transitive - description: - name: cli_util - url: "https://pub.dartlang.org" - source: hosted - version: "0.3.5" clock: dependency: transitive description: @@ -196,21 +189,21 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0" + version: "1.16.0" convert: dependency: transitive description: name: convert url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.0.2" coverage: dependency: transitive description: name: coverage url: "https://pub.dartlang.org" source: hosted - version: "1.0.3" + version: "1.2.0" crypto: dependency: "direct main" description: @@ -224,35 +217,35 @@ packages: name: dart_style url: "https://pub.dartlang.org" source: hosted - version: "2.2.1" + version: "2.2.3" dbus: dependency: transitive description: name: dbus url: "https://pub.dartlang.org" source: hosted - version: "0.6.8" + version: "0.7.3" decimal: dependency: "direct main" description: name: decimal url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.2.0" dependency_validator: dependency: "direct dev" description: name: dependency_validator url: "https://pub.dartlang.org" source: hosted - version: "3.1.2" + version: "3.2.2" devicelocale: dependency: "direct main" description: name: devicelocale url: "https://pub.dartlang.org" source: hosted - version: "0.5.0" + version: "0.5.4" event_bus: dependency: "direct main" description: @@ -266,14 +259,14 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.0" ffi: dependency: "direct main" description: name: ffi url: "https://pub.dartlang.org" source: hosted - version: "1.1.2" + version: "1.2.1" file: dependency: transitive description: @@ -296,7 +289,7 @@ packages: name: fixnum url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.0.1" flare_flutter: dependency: "direct main" description: @@ -327,21 +320,21 @@ packages: name: flutter_launcher_icons url: "https://pub.dartlang.org" source: hosted - version: "0.9.2" + version: "0.9.3" flutter_local_notifications: dependency: "direct main" description: name: flutter_local_notifications url: "https://pub.dartlang.org" source: hosted - version: "9.4.0" + version: "9.7.0" flutter_local_notifications_linux: dependency: transitive description: name: flutter_local_notifications_linux url: "https://pub.dartlang.org" source: hosted - version: "0.4.1+1" + version: "0.5.0+1" flutter_local_notifications_platform_interface: dependency: transitive description: @@ -355,14 +348,14 @@ packages: name: flutter_native_splash url: "https://pub.dartlang.org" source: hosted - version: "1.3.2" + version: "1.3.3" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle url: "https://pub.dartlang.org" source: hosted - version: "2.0.5" + version: "2.0.7" flutter_rounded_date_picker: dependency: "direct main" description: @@ -425,7 +418,7 @@ packages: name: flutter_svg url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.0.3" flutter_test: dependency: "direct dev" description: flutter @@ -442,7 +435,7 @@ packages: name: frontend_server_client url: "https://pub.dartlang.org" source: hosted - version: "2.1.2" + version: "2.1.3" fuchsia_remote_debug_protocol: dependency: transitive description: flutter @@ -454,14 +447,14 @@ packages: name: glob url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "2.1.0" google_fonts: dependency: "direct main" description: name: google_fonts url: "https://pub.dartlang.org" source: hosted - version: "2.2.0" + version: "2.3.3" graphs: dependency: transitive description: @@ -482,7 +475,7 @@ packages: name: hive url: "https://pub.dartlang.org" source: hosted - version: "2.0.5" + version: "2.2.3" hive_flutter: dependency: "direct main" description: @@ -496,7 +489,7 @@ packages: name: hive_generator url: "https://pub.dartlang.org" source: hosted - version: "1.1.2" + version: "1.1.3" hive_test: dependency: "direct dev" description: @@ -517,21 +510,21 @@ packages: name: http_multi_server url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.2.1" http_parser: dependency: transitive description: name: http_parser url: "https://pub.dartlang.org" source: hosted - version: "4.0.0" + version: "4.0.1" image: dependency: transitive description: name: image url: "https://pub.dartlang.org" source: hosted - version: "3.1.1" + version: "3.1.3" integration_test: dependency: "direct dev" description: flutter @@ -557,14 +550,14 @@ packages: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.3" + version: "0.6.4" json_annotation: dependency: transitive description: name: json_annotation url: "https://pub.dartlang.org" source: hosted - version: "4.4.0" + version: "4.6.0" jsonrpc2: dependency: "direct main" description: @@ -592,7 +585,7 @@ packages: name: local_auth url: "https://pub.dartlang.org" source: hosted - version: "1.1.10" + version: "1.1.11" logging: dependency: transitive description: @@ -607,6 +600,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.12.11" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.4" meta: dependency: transitive description: @@ -620,7 +620,7 @@ packages: name: mime url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.0.2" mockingjay: dependency: "direct dev" description: @@ -634,7 +634,7 @@ packages: name: mockito url: "https://pub.dartlang.org" source: hosted - version: "5.1.0" + version: "5.2.0" mocktail: dependency: transitive description: @@ -662,14 +662,56 @@ packages: name: package_config url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "2.1.0" + package_info_plus: + dependency: "direct main" + description: + name: package_info_plus + url: "https://pub.dartlang.org" + source: hosted + version: "1.4.2" + package_info_plus_linux: + dependency: transitive + description: + name: package_info_plus_linux + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.5" + package_info_plus_macos: + dependency: transitive + description: + name: package_info_plus_macos + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.0" + package_info_plus_platform_interface: + dependency: transitive + description: + name: package_info_plus_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + package_info_plus_web: + dependency: transitive + description: + name: package_info_plus_web + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.5" + package_info_plus_windows: + dependency: transitive + description: + name: package_info_plus_windows + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.5" path: dependency: transitive description: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0" + version: "1.8.1" path_drawing: dependency: transitive description: @@ -690,63 +732,70 @@ packages: name: path_provider url: "https://pub.dartlang.org" source: hosted - version: "2.0.8" + version: "2.0.11" path_provider_android: dependency: transitive description: name: path_provider_android url: "https://pub.dartlang.org" source: hosted - version: "2.0.11" + version: "2.0.16" path_provider_ios: dependency: transitive description: name: path_provider_ios url: "https://pub.dartlang.org" source: hosted - version: "2.0.7" + version: "2.0.10" path_provider_linux: dependency: transitive description: name: path_provider_linux url: "https://pub.dartlang.org" source: hosted - version: "2.1.5" + version: "2.1.7" path_provider_macos: dependency: transitive description: name: path_provider_macos url: "https://pub.dartlang.org" source: hosted - version: "2.0.5" + version: "2.0.6" path_provider_platform_interface: dependency: transitive description: name: path_provider_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.3" + version: "2.0.4" path_provider_windows: dependency: transitive description: name: path_provider_windows url: "https://pub.dartlang.org" source: hosted - version: "2.0.5" - pedantic: + version: "2.0.7" + permission_handler: + dependency: "direct main" + description: + name: permission_handler + url: "https://pub.dartlang.org" + source: hosted + version: "10.0.0" + permission_handler_android: dependency: transitive description: - name: pedantic + name: permission_handler_android url: "https://pub.dartlang.org" source: hosted - version: "1.11.1" - permission_handler: - dependency: "direct main" + version: "10.0.0" + permission_handler_apple: + dependency: transitive description: - name: permission_handler + name: permission_handler_apple url: "https://pub.dartlang.org" source: hosted - version: "8.3.0" + version: "9.0.4" permission_handler_platform_interface: dependency: transitive description: @@ -754,20 +803,27 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "3.7.0" + permission_handler_windows: + dependency: transitive + description: + name: permission_handler_windows + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0" petitparser: dependency: transitive description: name: petitparser url: "https://pub.dartlang.org" source: hosted - version: "4.4.0" + version: "5.0.0" platform: dependency: transitive description: name: platform url: "https://pub.dartlang.org" source: hosted - version: "3.0.2" + version: "3.1.0" plugin_platform_interface: dependency: transitive description: @@ -781,14 +837,14 @@ packages: name: pointycastle url: "https://pub.dartlang.org" source: hosted - version: "3.5.0" + version: "3.6.1" pool: dependency: transitive description: name: pool url: "https://pub.dartlang.org" source: hosted - version: "1.5.0" + version: "1.5.1" pretty_qr_code: dependency: "direct main" description: @@ -809,21 +865,21 @@ packages: name: protobuf url: "https://pub.dartlang.org" source: hosted - version: "2.0.1" + version: "2.1.0" provider: dependency: "direct main" description: name: provider url: "https://pub.dartlang.org" source: hosted - version: "6.0.2" + version: "6.0.3" pub_semver: dependency: transitive description: name: pub_semver url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.1.1" pubspec_parse: dependency: transitive description: @@ -844,7 +900,7 @@ packages: name: rational url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.2.0" rpc_dispatcher: dependency: transitive description: @@ -865,35 +921,35 @@ packages: name: rxdart url: "https://pub.dartlang.org" source: hosted - version: "0.27.3" + version: "0.27.5" shelf: dependency: transitive description: name: shelf url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.1" shelf_packages_handler: dependency: transitive description: name: shelf_packages_handler url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.0.1" shelf_static: dependency: transitive description: name: shelf_static url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.1.1" shelf_web_socket: dependency: transitive description: name: shelf_web_socket url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.0.2" sky_engine: dependency: transitive description: flutter @@ -905,14 +961,14 @@ packages: name: source_gen url: "https://pub.dartlang.org" source: hosted - version: "1.2.1" + version: "1.2.2" source_helper: dependency: transitive description: name: source_helper url: "https://pub.dartlang.org" source: hosted - version: "1.3.1" + version: "1.3.2" source_map_stack_trace: dependency: transitive description: @@ -933,7 +989,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.8.2" stack_trace: dependency: transitive description: @@ -982,21 +1038,21 @@ packages: name: test url: "https://pub.dartlang.org" source: hosted - version: "1.17.12" + version: "1.21.1" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.3" + version: "0.4.9" test_core: dependency: transitive description: name: test_core url: "https://pub.dartlang.org" source: hosted - version: "0.4.2" + version: "0.4.13" timezone: dependency: transitive description: @@ -1038,84 +1094,84 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "6.0.18" + version: "6.1.5" url_launcher_android: dependency: transitive description: name: url_launcher_android url: "https://pub.dartlang.org" source: hosted - version: "6.0.14" + version: "6.0.17" url_launcher_ios: dependency: transitive description: name: url_launcher_ios url: "https://pub.dartlang.org" source: hosted - version: "6.0.14" + version: "6.0.17" url_launcher_linux: dependency: transitive description: name: url_launcher_linux url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "3.0.1" url_launcher_macos: dependency: transitive description: name: url_launcher_macos url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "3.0.1" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.5" + version: "2.1.0" url_launcher_web: dependency: transitive description: name: url_launcher_web url: "https://pub.dartlang.org" source: hosted - version: "2.0.6" + version: "2.0.12" url_launcher_windows: dependency: transitive description: name: url_launcher_windows url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "3.0.1" uuid: dependency: "direct main" description: name: uuid url: "https://pub.dartlang.org" source: hosted - version: "3.0.5" + version: "3.0.6" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.1.2" vm_service: dependency: transitive description: name: vm_service url: "https://pub.dartlang.org" source: hosted - version: "7.3.0" + version: "8.2.2" wakelock: dependency: "direct main" description: name: wakelock url: "https://pub.dartlang.org" source: hosted - version: "0.6.1+2" + version: "0.6.2" wakelock_macos: dependency: transitive description: @@ -1157,7 +1213,7 @@ packages: name: web_socket_channel url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.2.0" webdriver: dependency: transitive description: @@ -1171,35 +1227,35 @@ packages: name: webkit_inspection_protocol url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.1.0" win32: dependency: transitive description: name: win32 url: "https://pub.dartlang.org" source: hosted - version: "2.3.6" + version: "2.6.1" xdg_directories: dependency: transitive description: name: xdg_directories url: "https://pub.dartlang.org" source: hosted - version: "0.2.0" + version: "0.2.0+1" xml: dependency: transitive description: name: xml url: "https://pub.dartlang.org" source: hosted - version: "5.3.1" + version: "5.4.1" yaml: dependency: transitive description: name: yaml url: "https://pub.dartlang.org" source: hosted - version: "3.1.0" + version: "3.1.1" sdks: - dart: ">=2.14.0 <3.0.0" - flutter: ">=2.5.0" + dart: ">=2.17.0 <3.0.0" + flutter: ">=3.0.1" diff --git a/pubspec.yaml b/pubspec.yaml index e43e410..9cbad54 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: Paymint client # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.3.2+20 +version: 1.3.3+21 environment: sdk: ">=2.2.2 <3.0.0" @@ -34,7 +34,7 @@ dependencies: provider: ^6.0.1 http: ^0.13.4 local_auth: ^1.1.10 - permission_handler: ^8.3.0 + permission_handler: ^10.0.0 flutter_local_notifications: ^9.4.0 rxdart: ^0.27.3 From 49944d57bc6835c47655a7677255b9a8d631dfcb Mon Sep 17 00:00:00 2001 From: marco Date: Mon, 25 Jul 2022 21:56:25 +0800 Subject: [PATCH 3/3] new pubspec.lock --- pubspec.lock | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index d147edc..20cac2a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,14 +7,14 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "40.0.0" + version: "42.0.0" analyzer: dependency: transitive description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "4.1.0" + version: "4.3.0" animations: dependency: "direct main" description: @@ -126,7 +126,7 @@ packages: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "2.1.11" + version: "2.2.0" build_runner_core: dependency: transitive description: @@ -147,7 +147,7 @@ packages: name: built_value url: "https://pub.dartlang.org" source: hosted - version: "8.3.3" + version: "8.4.0" characters: dependency: transitive description: @@ -238,14 +238,14 @@ packages: name: dependency_validator url: "https://pub.dartlang.org" source: hosted - version: "3.2.0" + version: "3.2.2" devicelocale: dependency: "direct main" description: name: devicelocale url: "https://pub.dartlang.org" source: hosted - version: "0.5.2" + version: "0.5.4" event_bus: dependency: "direct main" description: @@ -327,7 +327,7 @@ packages: name: flutter_local_notifications url: "https://pub.dartlang.org" source: hosted - version: "9.6.1" + version: "9.7.0" flutter_local_notifications_linux: dependency: transitive description: @@ -355,7 +355,7 @@ packages: name: flutter_plugin_android_lifecycle url: "https://pub.dartlang.org" source: hosted - version: "2.0.6" + version: "2.0.7" flutter_rounded_date_picker: dependency: "direct main" description: @@ -475,7 +475,7 @@ packages: name: hive url: "https://pub.dartlang.org" source: hosted - version: "2.2.2" + version: "2.2.3" hive_flutter: dependency: "direct main" description: @@ -557,7 +557,7 @@ packages: name: json_annotation url: "https://pub.dartlang.org" source: hosted - version: "4.5.0" + version: "4.6.0" jsonrpc2: dependency: "direct main" description: @@ -739,7 +739,7 @@ packages: name: path_provider_android url: "https://pub.dartlang.org" source: hosted - version: "2.0.15" + version: "2.0.16" path_provider_ios: dependency: transitive description: @@ -837,7 +837,7 @@ packages: name: pointycastle url: "https://pub.dartlang.org" source: hosted - version: "3.6.0" + version: "3.6.1" pool: dependency: transitive description: @@ -921,7 +921,7 @@ packages: name: rxdart url: "https://pub.dartlang.org" source: hosted - version: "0.27.4" + version: "0.27.5" shelf: dependency: transitive description: @@ -1094,7 +1094,7 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "6.1.3" + version: "6.1.5" url_launcher_android: dependency: transitive description: