Commit 8155960a58c7b41288aaa128c4d492e4699a467c

Authored by wdn127929
1 parent cdae640c

更换插件----网络监测

@@ -12,14 +12,14 @@ if (flutterRoot == null) { @@ -12,14 +12,14 @@ if (flutterRoot == null) {
12 } 12 }
13 13
14 14
15 -def flutterVersionCode = "408" 15 +def flutterVersionCode = "409"
16 if (flutterVersionCode == null) { 16 if (flutterVersionCode == null) {
17 - flutterVersionCode = '408' 17 + flutterVersionCode = '409'
18 } 18 }
19 19
20 -def flutterVersionName = "4.0.8" 20 +def flutterVersionName = "4.0.9"
21 if (flutterVersionName == null) { 21 if (flutterVersionName == null) {
22 - flutterVersionName = '4.0.8' 22 + flutterVersionName = '4.0.9'
23 } 23 }
24 apply plugin: 'com.android.application' 24 apply plugin: 'com.android.application'
25 apply plugin: 'kotlin-android' 25 apply plugin: 'kotlin-android'
@@ -12,6 +12,7 @@ import 'package:provider/provider.dart'; @@ -12,6 +12,7 @@ import 'package:provider/provider.dart';
12 12
13 import 'base_resp.dart'; 13 import 'base_resp.dart';
14 14
  15 +
15 /** 16 /**
16 * @Author: thl 17 * @Author: thl
17 * @GitHub: https://github.com/Sky24n 18 * @GitHub: https://github.com/Sky24n
@@ -444,6 +444,8 @@ class MyTableManagerHomePageState extends State<MyTableManagerHomePage> { @@ -444,6 +444,8 @@ class MyTableManagerHomePageState extends State<MyTableManagerHomePage> {
444 child: ExceptionPage( 444 child: ExceptionPage(
445 pageState: model.pageState, 445 pageState: model.pageState,
446 callback: () { 446 callback: () {
  447 + tableManagerModel.initTime(context);
  448 + tableManagerModel.getTabletype(context);
447 // if (tableManagerModel.tableOuterList.isEmpty) { 449 // if (tableManagerModel.tableOuterList.isEmpty) {
448 // tableManagerModel.getTableList(context); 450 // tableManagerModel.getTableList(context);
449 // } else { 451 // } else {
@@ -4,7 +4,8 @@ import 'dart:math'; @@ -4,7 +4,8 @@ import 'dart:math';
4 import 'dart:typed_data'; 4 import 'dart:typed_data';
5 5
6 import 'package:common_utils/common_utils.dart'; 6 import 'package:common_utils/common_utils.dart';
7 -import 'package:connectivity/connectivity.dart'; 7 +// import 'package:connectivity/connectivity.dart';
  8 +import 'package:connectivity_plus/connectivity_plus.dart';
8 import 'package:device_info/device_info.dart'; 9 import 'package:device_info/device_info.dart';
9 import 'package:flutter/cupertino.dart'; 10 import 'package:flutter/cupertino.dart';
10 import 'package:flutter/material.dart'; 11 import 'package:flutter/material.dart';
@@ -204,34 +204,20 @@ packages: @@ -204,34 +204,20 @@ packages:
204 url: "https://pub.flutter-io.cn" 204 url: "https://pub.flutter-io.cn"
205 source: hosted 205 source: hosted
206 version: "2.1.0" 206 version: "2.1.0"
207 - connectivity: 207 + connectivity_plus:
208 dependency: "direct main" 208 dependency: "direct main"
209 description: 209 description:
210 - name: connectivity 210 + name: connectivity_plus
211 url: "https://pub.flutter-io.cn" 211 url: "https://pub.flutter-io.cn"
212 source: hosted 212 source: hosted
213 - version: "3.0.6"  
214 - connectivity_for_web:  
215 - dependency: transitive  
216 - description:  
217 - name: connectivity_for_web  
218 - url: "https://pub.flutter-io.cn"  
219 - source: hosted  
220 - version: "0.4.0+1"  
221 - connectivity_macos:  
222 - dependency: transitive  
223 - description:  
224 - name: connectivity_macos  
225 - url: "https://pub.flutter-io.cn"  
226 - source: hosted  
227 - version: "0.2.1+2"  
228 - connectivity_platform_interface: 213 + version: "3.0.2"
  214 + connectivity_plus_platform_interface:
229 dependency: transitive 215 dependency: transitive
230 description: 216 description:
231 - name: connectivity_platform_interface 217 + name: connectivity_plus_platform_interface
232 url: "https://pub.flutter-io.cn" 218 url: "https://pub.flutter-io.cn"
233 source: hosted 219 source: hosted
234 - version: "2.0.0" 220 + version: "1.2.3"
235 contacts_service: 221 contacts_service:
236 dependency: "direct main" 222 dependency: "direct main"
237 description: 223 description:
@@ -288,6 +274,13 @@ packages: @@ -288,6 +274,13 @@ packages:
288 url: "https://pub.flutter-io.cn" 274 url: "https://pub.flutter-io.cn"
289 source: hosted 275 source: hosted
290 version: "2.2.3" 276 version: "2.2.3"
  277 + dbus:
  278 + dependency: transitive
  279 + description:
  280 + name: dbus
  281 + url: "https://pub.flutter-io.cn"
  282 + source: hosted
  283 + version: "0.7.4"
291 decimal: 284 decimal:
292 dependency: transitive 285 dependency: transitive
293 description: 286 description:
@@ -749,6 +742,13 @@ packages: @@ -749,6 +742,13 @@ packages:
749 url: "https://pub.flutter-io.cn" 742 url: "https://pub.flutter-io.cn"
750 source: hosted 743 source: hosted
751 version: "1.0.0" 744 version: "1.0.0"
  745 + nm:
  746 + dependency: transitive
  747 + description:
  748 + name: nm
  749 + url: "https://pub.flutter-io.cn"
  750 + source: hosted
  751 + version: "0.5.0"
752 octo_image: 752 octo_image:
753 dependency: transitive 753 dependency: transitive
754 description: 754 description:
@@ -882,6 +882,13 @@ packages: @@ -882,6 +882,13 @@ packages:
882 url: "https://pub.flutter-io.cn" 882 url: "https://pub.flutter-io.cn"
883 source: hosted 883 source: hosted
884 version: "0.1.0" 884 version: "0.1.0"
  885 + petitparser:
  886 + dependency: transitive
  887 + description:
  888 + name: petitparser
  889 + url: "https://pub.flutter-io.cn"
  890 + source: hosted
  891 + version: "5.1.0"
885 photo_manager: 892 photo_manager:
886 dependency: transitive 893 dependency: transitive
887 description: 894 description:
@@ -1400,6 +1407,13 @@ packages: @@ -1400,6 +1407,13 @@ packages:
1400 url: "https://pub.flutter-io.cn" 1407 url: "https://pub.flutter-io.cn"
1401 source: hosted 1408 source: hosted
1402 version: "0.2.0+1" 1409 version: "0.2.0+1"
  1410 + xml:
  1411 + dependency: transitive
  1412 + description:
  1413 + name: xml
  1414 + url: "https://pub.flutter-io.cn"
  1415 + source: hosted
  1416 + version: "6.1.0"
1403 yaml: 1417 yaml:
1404 dependency: transitive 1418 dependency: transitive
1405 description: 1419 description:
@@ -84,8 +84,9 @@ dependencies: @@ -84,8 +84,9 @@ dependencies:
84 flutter_picker: ^2.0.3 84 flutter_picker: ^2.0.3
85 # 网络状态 85 # 网络状态
86 # connectivity: ^0.4.8 86 # connectivity: ^0.4.8
87 - connectivity: ^3.0.6  
88 -# 信鸽推送 87 + # connectivity: ^3.0.6
  88 + connectivity_plus: ^3.0.2
  89 + # 信鸽推送
89 # tpns_flutter_plugin: 90 # tpns_flutter_plugin:
90 # git: 91 # git:
91 # url: https://git.code.tencent.com/tpns/XG-Flutter-Plugin.git 92 # url: https://git.code.tencent.com/tpns/XG-Flutter-Plugin.git