From b51c43f37190d92ea41de075ddddeef3b8cbcd15 Mon Sep 17 00:00:00 2001 From: jefry Date: Mon, 1 Aug 2022 14:58:29 +0700 Subject: [PATCH] ver 13 add full access external storage permit! --- android/app/build.gradle | 2 +- lib/home_page.dart | 2 +- pubspec.lock | 56 ++++++++++++++++++++++++------------------------ pubspec.yaml | 21 +++++++++--------- 4 files changed, 40 insertions(+), 41 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 100cacc..dd393b3 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -67,7 +67,7 @@ if (keystorePropertiesFile.exists()) { } android { - compileSdkVersion 31 + compileSdkVersion 33 sourceSets { main.java.srcDirs += 'src/main/kotlin' diff --git a/lib/home_page.dart b/lib/home_page.dart index be542b5..7125cef 100644 --- a/lib/home_page.dart +++ b/lib/home_page.dart @@ -124,7 +124,7 @@ class _HomePageState extends State { lastUpload = prefs.getString(keyClass.lastUpload)??''; WidgetsBinding.instance.addPostFrameCallback((_) async { await _check_Update(); - await util.permissionCheck(context,pHandler.Permission.manageExternalStorage,()async{print("storage permit granted!");},customMessage: " untuk menyimpan data backup"); + await util.permissionCheck(this.context,pHandler.Permission.manageExternalStorage,()async{print("storage permit granted!");},customMessage: " untuk menyimpan data backup"); }); } diff --git a/pubspec.lock b/pubspec.lock index bfe5d2a..4f9ad8f 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -28,7 +28,7 @@ packages: name: barcode_scan2 url: "https://pub.dartlang.org" source: hosted - version: "4.2.0" + version: "4.2.1" boolean_selector: dependency: transitive description: @@ -63,7 +63,7 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0" + version: "1.16.0" cross_file: dependency: transitive description: @@ -91,7 +91,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.0" ffi: dependency: transitive description: @@ -132,13 +132,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.9.2" - flutter_logs: - dependency: "direct dev" - description: - name: flutter_logs - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.5" flutter_plugin_android_lifecycle: dependency: transitive description: @@ -183,7 +176,7 @@ packages: name: image_picker url: "https://pub.dartlang.org" source: hosted - version: "0.8.4+9" + version: "0.8.4" image_picker_for_web: dependency: transitive description: @@ -218,14 +211,14 @@ packages: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.3" + version: "0.6.4" location: dependency: "direct main" description: name: location url: "https://pub.dartlang.org" source: hosted - version: "4.3.0" + version: "4.4.0" location_platform_interface: dependency: transitive description: @@ -247,6 +240,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: @@ -274,14 +274,14 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0" + version: "1.8.1" path_provider: dependency: "direct main" description: name: path_provider url: "https://pub.dartlang.org" source: hosted - version: "2.0.9" + version: "2.0.11" path_provider_android: dependency: transitive description: @@ -330,14 +330,14 @@ packages: name: permission_handler url: "https://pub.dartlang.org" source: hosted - version: "9.2.0" + version: "10.0.0" permission_handler_android: dependency: transitive description: name: permission_handler_android url: "https://pub.dartlang.org" source: hosted - version: "9.0.2" + version: "10.0.0" permission_handler_apple: dependency: transitive description: @@ -372,7 +372,7 @@ packages: name: photo_view url: "https://pub.dartlang.org" source: hosted - version: "0.13.0" + version: "0.14.0" platform: dependency: transitive description: @@ -407,7 +407,7 @@ packages: name: shared_preferences url: "https://pub.dartlang.org" source: hosted - version: "2.0.13" + version: "2.0.15" shared_preferences_android: dependency: transitive description: @@ -468,21 +468,21 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.8.2" sqflite: dependency: "direct main" description: name: sqflite url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "2.0.3" sqflite_common: dependency: transitive description: name: sqflite_common url: "https://pub.dartlang.org" source: hosted - version: "2.2.0" + version: "2.2.1+1" stack_trace: dependency: transitive description: @@ -524,7 +524,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.3" + version: "0.4.9" typed_data: dependency: transitive description: @@ -538,7 +538,7 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "6.0.20" + version: "6.1.5" url_launcher_android: dependency: transitive description: @@ -573,7 +573,7 @@ packages: 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: @@ -594,7 +594,7 @@ packages: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.1.2" win32: dependency: transitive description: @@ -624,5 +624,5 @@ packages: source: hosted version: "3.1.0" sdks: - dart: ">=2.15.0 <3.0.0" - flutter: ">=2.8.0" + dart: ">=2.17.0-0 <3.0.0" + flutter: ">=3.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index d85610d..98df43d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: unitstocks description: App to stock Thamrin Brothers Units # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.0.5+10 +version: 1.0.7+13 environment: sdk: ">=2.1.0 <3.0.0" @@ -13,28 +13,27 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: - image_picker: ^0.8.4+9 - photo_view: ^0.13.0 - sqflite: ^2.0.2 - path_provider: ^2.0.9 + image_picker: 0.8.4 #harus versi ini dak tu error + photo_view: ^0.14.0 + sqflite: ^2.0.3 + path_provider: ^2.0.11 flushbar: ^1.10.4 http: ^0.13.4 intl: ^0.17.0 - shared_preferences: ^2.0.13 - location: ^4.3.0 + shared_preferences: ^2.0.15 + location: ^4.4.0 # path: 'local_plugin/location-3.0.2' - permission_handler: ^9.2.0 + permission_handler: ^10.0.0 # app_settings: # autocomplete_textfield: - barcode_scan2: ^4.2.0 + barcode_scan2: ^4.2.1 oauth2: ^2.0.0 in_app_update: ^3.0.0 - url_launcher: ^6.0.20 + url_launcher: ^6.1.5 package_info: ^2.0.2 dev_dependencies: - flutter_logs: flutter_launcher_icons: flutter_test: sdk: flutter