From 9a5017fdbf47a75d39795b08de45c63c3b32adb5 Mon Sep 17 00:00:00 2001 From: idealclover Date: Sun, 1 Nov 2020 04:17:30 +0800 Subject: [PATCH] :tada: v2.0.3 --- .flutter-plugins-dependencies | 2 +- api/android.json | 12 ++++++------ ios/Runner/Info.plist | 2 -- lib/Utils/UpdateUtil.dart | 1 + pubspec.yaml | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index fd36621..f8a0002 100644 --- a/.flutter-plugins-dependencies +++ b/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"barcode_scan","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/barcode_scan-2.0.2/","dependencies":[]},{"name":"fluttertoast","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/","dependencies":[]},{"name":"image_picker","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/image_picker-0.6.7+12/","dependencies":[]},{"name":"package_info","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/package_info-0.4.3/","dependencies":[]},{"name":"path_provider","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider-1.6.21/","dependencies":[]},{"name":"shared_preferences","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-0.5.12+2/","dependencies":[]},{"name":"sqflite","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/sqflite-1.3.1+1/","dependencies":[]},{"name":"url_launcher","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher-5.7.5/","dependencies":[]},{"name":"webview_flutter","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/webview_flutter-1.0.3/","dependencies":[]}],"android":[{"name":"barcode_scan","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/barcode_scan-2.0.2/","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_plugin_android_lifecycle-1.0.11/","dependencies":[]},{"name":"fluttertoast","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/","dependencies":[]},{"name":"image_picker","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/image_picker-0.6.7+12/","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"package_info","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/package_info-0.4.3/","dependencies":[]},{"name":"path_provider","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider-1.6.21/","dependencies":[]},{"name":"shared_preferences","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-0.5.12+2/","dependencies":[]},{"name":"sqflite","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/sqflite-1.3.1+1/","dependencies":[]},{"name":"url_launcher","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher-5.7.5/","dependencies":[]},{"name":"webview_flutter","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/webview_flutter-1.0.3/","dependencies":[]}],"macos":[{"name":"package_info","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/package_info-0.4.3/","dependencies":[]},{"name":"path_provider_macos","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider_macos-0.0.4+4/","dependencies":[]},{"name":"shared_preferences_macos","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_macos-0.0.1+10/","dependencies":[]},{"name":"sqflite","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/sqflite-1.3.1+1/","dependencies":[]},{"name":"url_launcher_macos","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_macos-0.0.1+8/","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider_linux-0.0.1+2/","dependencies":[]},{"name":"shared_preferences_linux","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_linux-0.0.2+2/","dependencies":["path_provider_linux"]},{"name":"url_launcher_linux","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_linux-0.0.1+1/","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider_windows-0.0.4+1/","dependencies":[]},{"name":"shared_preferences_windows","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_windows-0.0.1+1/","dependencies":["path_provider_windows"]},{"name":"url_launcher_windows","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_windows-0.0.1+1/","dependencies":[]}],"web":[{"name":"fluttertoast","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/","dependencies":[]},{"name":"shared_preferences_web","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_web-0.1.2+7/","dependencies":[]},{"name":"url_launcher_web","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_web-0.1.4+1/","dependencies":[]}]},"dependencyGraph":[{"name":"barcode_scan","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"fluttertoast","dependencies":[]},{"name":"image_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"package_info","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_linux","shared_preferences_macos","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"sqflite","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_web","url_launcher_linux","url_launcher_macos","url_launcher_windows"]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"webview_flutter","dependencies":[]}],"date_created":"2020-11-01 02:32:26.569932","version":"1.22.0"} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"barcode_scan","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/barcode_scan-2.0.2/","dependencies":[]},{"name":"fluttertoast","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/","dependencies":[]},{"name":"image_picker","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/image_picker-0.6.7+12/","dependencies":[]},{"name":"package_info","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/package_info-0.4.3/","dependencies":[]},{"name":"path_provider","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider-1.6.21/","dependencies":[]},{"name":"shared_preferences","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-0.5.12+2/","dependencies":[]},{"name":"sqflite","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/sqflite-1.3.1+1/","dependencies":[]},{"name":"url_launcher","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher-5.7.5/","dependencies":[]},{"name":"webview_flutter","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/webview_flutter-1.0.3/","dependencies":[]}],"android":[{"name":"barcode_scan","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/barcode_scan-2.0.2/","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_plugin_android_lifecycle-1.0.11/","dependencies":[]},{"name":"fluttertoast","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/","dependencies":[]},{"name":"image_picker","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/image_picker-0.6.7+12/","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"package_info","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/package_info-0.4.3/","dependencies":[]},{"name":"path_provider","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider-1.6.21/","dependencies":[]},{"name":"shared_preferences","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-0.5.12+2/","dependencies":[]},{"name":"sqflite","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/sqflite-1.3.1+1/","dependencies":[]},{"name":"url_launcher","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher-5.7.5/","dependencies":[]},{"name":"webview_flutter","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/webview_flutter-1.0.3/","dependencies":[]}],"macos":[{"name":"package_info","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/package_info-0.4.3/","dependencies":[]},{"name":"path_provider_macos","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider_macos-0.0.4+4/","dependencies":[]},{"name":"shared_preferences_macos","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_macos-0.0.1+10/","dependencies":[]},{"name":"sqflite","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/sqflite-1.3.1+1/","dependencies":[]},{"name":"url_launcher_macos","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_macos-0.0.1+8/","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider_linux-0.0.1+2/","dependencies":[]},{"name":"shared_preferences_linux","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_linux-0.0.2+2/","dependencies":["path_provider_linux"]},{"name":"url_launcher_linux","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_linux-0.0.1+1/","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider_windows-0.0.4+1/","dependencies":[]},{"name":"shared_preferences_windows","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_windows-0.0.1+1/","dependencies":["path_provider_windows"]},{"name":"url_launcher_windows","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_windows-0.0.1+1/","dependencies":[]}],"web":[{"name":"fluttertoast","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/","dependencies":[]},{"name":"shared_preferences_web","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_web-0.1.2+7/","dependencies":[]},{"name":"url_launcher_web","path":"/Users/idealclover/Development/flutter/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_web-0.1.4+1/","dependencies":[]}]},"dependencyGraph":[{"name":"barcode_scan","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"fluttertoast","dependencies":[]},{"name":"image_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"package_info","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_linux","shared_preferences_macos","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"sqflite","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_web","url_launcher_linux","url_launcher_macos","url_launcher_windows"]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"webview_flutter","dependencies":[]}],"date_created":"2020-11-01 04:04:31.416216","version":"1.22.3"} \ No newline at end of file diff --git a/api/android.json b/api/android.json index 18644a5..c3673cf 100644 --- a/api/android.json +++ b/api/android.json @@ -1,10 +1,10 @@ { - "version": 20, - "title": "1.6.0 更新", - "content": "试验更新", - "isForce": true, + "version": 25, + "title": "南哪课表2.0.3更新", + "content": "支持了统一认证登录~20级同学也可以用啦!快来更新吧w", + "isForce": false, "confirm_text": "立刻更新", "cancel_text": "下次再说", "url": "https://www.coolapk.com/apk/218862", - "coolDownTime": 600 -} \ No newline at end of file + "coolDownTime": 86400 +} diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 46bcc46..0e55955 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -26,8 +26,6 @@ 南哪课表需要相机权限,才能扫码导入课程。 NSPhotoLibraryUsageDescription 南哪课表需要相册权限,才能选择背景图片。 - io.flutter.embedded_views_preview - YES NSAppTransportSecurity NSAllowsArbitraryLoads diff --git a/lib/Utils/UpdateUtil.dart b/lib/Utils/UpdateUtil.dart index 7cd84ff..3f54b52 100644 --- a/lib/Utils/UpdateUtil.dart +++ b/lib/Utils/UpdateUtil.dart @@ -77,6 +77,7 @@ class UpdateUtil { } showDialog( context: context, + barrierDismissible: !info['isForce'], builder: (context) => mDialog( info['title'], Text(info['content']), diff --git a/pubspec.yaml b/pubspec.yaml index b1e184b..967206e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,7 @@ description: wheretosleepinnju # pub.dev using `pub publish`. This is preferred for private packages. publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 2.0.2+24 +version: 2.0.3+25 environment: sdk: ">=2.7.0 <3.0.0"