Commit 2c6deb8b3ed717d3d66aa196f861008f6191ee7c

Authored by weixin_45529955
1 parent b4411373

分经理数据为空的时候页面UI显示没数据

Showing 100 changed files with 2494 additions and 29 deletions

Too many changes to show.

To preserve performance only 100 of 100+ files are displayed.

@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 4 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 "version": "0.2.0", 5 "version": "0.2.0",
6 "configurations": [ 6 "configurations": [
7 - 7 +
8 { 8 {
9 "name": "Flutter-ReserveApp", 9 "name": "Flutter-ReserveApp",
10 "request": "launch", 10 "request": "launch",
@@ -23,6 +23,26 @@ @@ -23,6 +23,26 @@
23 "flutterMode": "release" 23 "flutterMode": "release"
24 }, 24 },
25 { 25 {
  26 + "name": "TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435",
  27 + "cwd": "library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435",
  28 + "request": "launch",
  29 + "type": "dart"
  30 + },
  31 + {
  32 + "name": "TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435 (profile mode)",
  33 + "cwd": "library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435",
  34 + "request": "launch",
  35 + "type": "dart",
  36 + "flutterMode": "profile"
  37 + },
  38 + {
  39 + "name": "TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435 (release mode)",
  40 + "cwd": "library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435",
  41 + "request": "launch",
  42 + "type": "dart",
  43 + "flutterMode": "release"
  44 + },
  45 + {
26 "name": "azlistview_plus-3.0.0", 46 "name": "azlistview_plus-3.0.0",
27 "cwd": "library/azlistview_plus-3.0.0", 47 "cwd": "library/azlistview_plus-3.0.0",
28 "request": "launch", 48 "request": "launch",
@@ -63,6 +83,26 @@ @@ -63,6 +83,26 @@
63 "flutterMode": "release" 83 "flutterMode": "release"
64 }, 84 },
65 { 85 {
  86 + "name": "csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad",
  87 + "cwd": "library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad",
  88 + "request": "launch",
  89 + "type": "dart"
  90 + },
  91 + {
  92 + "name": "csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad (profile mode)",
  93 + "cwd": "library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad",
  94 + "request": "launch",
  95 + "type": "dart",
  96 + "flutterMode": "profile"
  97 + },
  98 + {
  99 + "name": "csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad (release mode)",
  100 + "cwd": "library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad",
  101 + "request": "launch",
  102 + "type": "dart",
  103 + "flutterMode": "release"
  104 + },
  105 + {
66 "name": "device_utils_my", 106 "name": "device_utils_my",
67 "cwd": "library/device_utils_my", 107 "cwd": "library/device_utils_my",
68 "request": "launch", 108 "request": "launch",
@@ -83,6 +123,46 @@ @@ -83,6 +123,46 @@
83 "flutterMode": "release" 123 "flutterMode": "release"
84 }, 124 },
85 { 125 {
  126 + "name": "flutter_lunar_datetime_picker-1.0.6",
  127 + "cwd": "library/flutter_lunar_datetime_picker-1.0.6",
  128 + "request": "launch",
  129 + "type": "dart"
  130 + },
  131 + {
  132 + "name": "flutter_lunar_datetime_picker-1.0.6 (profile mode)",
  133 + "cwd": "library/flutter_lunar_datetime_picker-1.0.6",
  134 + "request": "launch",
  135 + "type": "dart",
  136 + "flutterMode": "profile"
  137 + },
  138 + {
  139 + "name": "flutter_lunar_datetime_picker-1.0.6 (release mode)",
  140 + "cwd": "library/flutter_lunar_datetime_picker-1.0.6",
  141 + "request": "launch",
  142 + "type": "dart",
  143 + "flutterMode": "release"
  144 + },
  145 + {
  146 + "name": "fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405",
  147 + "cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405",
  148 + "request": "launch",
  149 + "type": "dart"
  150 + },
  151 + {
  152 + "name": "fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405 (profile mode)",
  153 + "cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405",
  154 + "request": "launch",
  155 + "type": "dart",
  156 + "flutterMode": "profile"
  157 + },
  158 + {
  159 + "name": "fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405 (release mode)",
  160 + "cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405",
  161 + "request": "launch",
  162 + "type": "dart",
  163 + "flutterMode": "release"
  164 + },
  165 + {
86 "name": "sendsms-1.0.3", 166 "name": "sendsms-1.0.3",
87 "cwd": "library/sendsms-1.0.3", 167 "cwd": "library/sendsms-1.0.3",
88 "request": "launch", 168 "request": "launch",
@@ -164,6 +244,166 @@ @@ -164,6 +244,166 @@
164 }, 244 },
165 { 245 {
166 "name": "example", 246 "name": "example",
  247 + "cwd": "library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435/example",
  248 + "request": "launch",
  249 + "type": "dart"
  250 + },
  251 + {
  252 + "name": "example (profile mode)",
  253 + "cwd": "library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435/example",
  254 + "request": "launch",
  255 + "type": "dart",
  256 + "flutterMode": "profile"
  257 + },
  258 + {
  259 + "name": "example (release mode)",
  260 + "cwd": "library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435/example",
  261 + "request": "launch",
  262 + "type": "dart",
  263 + "flutterMode": "release"
  264 + },
  265 + {
  266 + "name": "example",
  267 + "cwd": "library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad/example",
  268 + "request": "launch",
  269 + "type": "dart"
  270 + },
  271 + {
  272 + "name": "example (profile mode)",
  273 + "cwd": "library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad/example",
  274 + "request": "launch",
  275 + "type": "dart",
  276 + "flutterMode": "profile"
  277 + },
  278 + {
  279 + "name": "example (release mode)",
  280 + "cwd": "library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad/example",
  281 + "request": "launch",
  282 + "type": "dart",
  283 + "flutterMode": "release"
  284 + },
  285 + {
  286 + "name": "example",
  287 + "cwd": "library/flutter_lunar_datetime_picker-1.0.6/example",
  288 + "request": "launch",
  289 + "type": "dart"
  290 + },
  291 + {
  292 + "name": "example (profile mode)",
  293 + "cwd": "library/flutter_lunar_datetime_picker-1.0.6/example",
  294 + "request": "launch",
  295 + "type": "dart",
  296 + "flutterMode": "profile"
  297 + },
  298 + {
  299 + "name": "example (release mode)",
  300 + "cwd": "library/flutter_lunar_datetime_picker-1.0.6/example",
  301 + "request": "launch",
  302 + "type": "dart",
  303 + "flutterMode": "release"
  304 + },
  305 + {
  306 + "name": "example",
  307 + "cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/example",
  308 + "request": "launch",
  309 + "type": "dart"
  310 + },
  311 + {
  312 + "name": "example (profile mode)",
  313 + "cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/example",
  314 + "request": "launch",
  315 + "type": "dart",
  316 + "flutterMode": "profile"
  317 + },
  318 + {
  319 + "name": "example (release mode)",
  320 + "cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/example",
  321 + "request": "launch",
  322 + "type": "dart",
  323 + "flutterMode": "release"
  324 + },
  325 + {
  326 + "name": "ohos",
  327 + "cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos",
  328 + "request": "launch",
  329 + "type": "dart"
  330 + },
  331 + {
  332 + "name": "ohos (profile mode)",
  333 + "cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos",
  334 + "request": "launch",
  335 + "type": "dart",
  336 + "flutterMode": "profile"
  337 + },
  338 + {
  339 + "name": "ohos (release mode)",
  340 + "cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos",
  341 + "request": "launch",
  342 + "type": "dart",
  343 + "flutterMode": "release"
  344 + },
  345 + {
  346 + "name": "image_cropper",
  347 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper",
  348 + "request": "launch",
  349 + "type": "dart"
  350 + },
  351 + {
  352 + "name": "image_cropper (profile mode)",
  353 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper",
  354 + "request": "launch",
  355 + "type": "dart",
  356 + "flutterMode": "profile"
  357 + },
  358 + {
  359 + "name": "image_cropper (release mode)",
  360 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper",
  361 + "request": "launch",
  362 + "type": "dart",
  363 + "flutterMode": "release"
  364 + },
  365 + {
  366 + "name": "image_cropper_for_web",
  367 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_for_web",
  368 + "request": "launch",
  369 + "type": "dart"
  370 + },
  371 + {
  372 + "name": "image_cropper_for_web (profile mode)",
  373 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_for_web",
  374 + "request": "launch",
  375 + "type": "dart",
  376 + "flutterMode": "profile"
  377 + },
  378 + {
  379 + "name": "image_cropper_for_web (release mode)",
  380 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_for_web",
  381 + "request": "launch",
  382 + "type": "dart",
  383 + "flutterMode": "release"
  384 + },
  385 + {
  386 + "name": "image_cropper_platform_interface",
  387 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_platform_interface",
  388 + "request": "launch",
  389 + "type": "dart"
  390 + },
  391 + {
  392 + "name": "image_cropper_platform_interface (profile mode)",
  393 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_platform_interface",
  394 + "request": "launch",
  395 + "type": "dart",
  396 + "flutterMode": "profile"
  397 + },
  398 + {
  399 + "name": "image_cropper_platform_interface (release mode)",
  400 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_platform_interface",
  401 + "request": "launch",
  402 + "type": "dart",
  403 + "flutterMode": "release"
  404 + },
  405 + {
  406 + "name": "example",
167 "cwd": "library/table_calendar-3.1.3/example", 407 "cwd": "library/table_calendar-3.1.3/example",
168 "request": "launch", 408 "request": "launch",
169 "type": "dart" 409 "type": "dart"
@@ -201,6 +441,66 @@ @@ -201,6 +441,66 @@
201 "request": "launch", 441 "request": "launch",
202 "type": "dart", 442 "type": "dart",
203 "flutterMode": "release" 443 "flutterMode": "release"
  444 + },
  445 + {
  446 + "name": "example",
  447 + "cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos/example",
  448 + "request": "launch",
  449 + "type": "dart"
  450 + },
  451 + {
  452 + "name": "example (profile mode)",
  453 + "cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos/example",
  454 + "request": "launch",
  455 + "type": "dart",
  456 + "flutterMode": "profile"
  457 + },
  458 + {
  459 + "name": "example (release mode)",
  460 + "cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos/example",
  461 + "request": "launch",
  462 + "type": "dart",
  463 + "flutterMode": "release"
  464 + },
  465 + {
  466 + "name": "example",
  467 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper/example",
  468 + "request": "launch",
  469 + "type": "dart"
  470 + },
  471 + {
  472 + "name": "example (profile mode)",
  473 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper/example",
  474 + "request": "launch",
  475 + "type": "dart",
  476 + "flutterMode": "profile"
  477 + },
  478 + {
  479 + "name": "example (release mode)",
  480 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper/example",
  481 + "request": "launch",
  482 + "type": "dart",
  483 + "flutterMode": "release"
  484 + },
  485 + {
  486 + "name": "example",
  487 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_for_web/example",
  488 + "request": "launch",
  489 + "type": "dart"
  490 + },
  491 + {
  492 + "name": "example (profile mode)",
  493 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_for_web/example",
  494 + "request": "launch",
  495 + "type": "dart",
  496 + "flutterMode": "profile"
  497 + },
  498 + {
  499 + "name": "example (release mode)",
  500 + "cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_for_web/example",
  501 + "request": "launch",
  502 + "type": "dart",
  503 + "flutterMode": "release"
204 } 504 }
205 ] 505 ]
206 } 506 }
1 -  
2 import 'dart:convert'; 1 import 'dart:convert';
3 import 'dart:ui'; 2 import 'dart:ui';
4 3
@@ -66,7 +65,7 @@ class _StoreCustomerHomeRightPageState @@ -66,7 +65,7 @@ class _StoreCustomerHomeRightPageState
66 if (widget.customerProvider!.storeSunmodel == null) { 65 if (widget.customerProvider!.storeSunmodel == null) {
67 _getSellerGuestManage(); 66 _getSellerGuestManage();
68 } else { 67 } else {
69 - widget.customerProvider!.storeSunmodel!.sellerUser!.forEach((element) { 68 + widget.customerProvider!.storeSunmodel!.sellerUser?.forEach((element) {
70 MessageMenuModel messageMenuModel = MessageMenuModel(); 69 MessageMenuModel messageMenuModel = MessageMenuModel();
71 messageMenuModel.uid = element!.uid; 70 messageMenuModel.uid = element!.uid;
72 messageMenuModel.title = element.nickName ?? element.account; 71 messageMenuModel.title = element.nickName ?? element.account;
@@ -77,12 +76,16 @@ class _StoreCustomerHomeRightPageState @@ -77,12 +76,16 @@ class _StoreCustomerHomeRightPageState
77 }); 76 });
78 if (menuTitle.length > 0) { 77 if (menuTitle.length > 0) {
79 menuTitle[0].select = true; 78 menuTitle[0].select = true;
80 - }  
81 - // _couponNetworkData();  
82 - _getGuestManageData(isShowLoading: true); 79 + // _couponNetworkData();
  80 + _getGuestManageData(isShowLoading: true);
83 81
84 - // _getMarketingByUid();  
85 - _getSellerCountsList(); 82 + // _getMarketingByUid();
  83 + _getSellerCountsList();
  84 + } else {
  85 + //页面数据为空
  86 + widget.customerProvider!.pageStateMyHome = PageState.Empty;
  87 + setState(() {});
  88 + }
86 } 89 }
87 }); 90 });
88 bus.on("refresh_my_customer_home", (arg) { 91 bus.on("refresh_my_customer_home", (arg) {
@@ -113,12 +116,16 @@ class _StoreCustomerHomeRightPageState @@ -113,12 +116,16 @@ class _StoreCustomerHomeRightPageState
113 }); 116 });
114 if (menuTitle.length > 0) { 117 if (menuTitle.length > 0) {
115 menuTitle[0].select = true; 118 menuTitle[0].select = true;
116 - }  
117 - // _couponNetworkData();  
118 - _getGuestManageData(isShowLoading: true); 119 + // _couponNetworkData();
  120 + _getGuestManageData(isShowLoading: true);
119 121
120 - // _getMarketingByUid();  
121 - _getSellerCountsList(); 122 + // _getMarketingByUid();
  123 + _getSellerCountsList();
  124 + } else {
  125 + //没数据
  126 + widget.customerProvider!.pageStateMyHome = PageState.Empty;
  127 + setState(() {});
  128 + }
122 } 129 }
123 130
124 _getSellerCountsList({isShowLoading = false, VoidCallback? callback}) async { 131 _getSellerCountsList({isShowLoading = false, VoidCallback? callback}) async {
@@ -602,7 +609,7 @@ class _StoreCustomerHomeRightPageState @@ -602,7 +609,7 @@ class _StoreCustomerHomeRightPageState
602 // _getMarketingByUid(); 609 // _getMarketingByUid();
603 _getSellerCountsList(); 610 _getSellerCountsList();
604 }, 611 },
605 - emptyMsg: "暂时没有我的客情哦", 612 + emptyMsg: "暂时没有分经理的客情哦",
606 emptyImg: "empty_search", 613 emptyImg: "empty_search",
607 showMsg: "加载中,请稍候...", 614 showMsg: "加载中,请稍候...",
608 )); 615 ));
@@ -996,7 +1003,8 @@ class _StoreCustomerHomeRightPageState @@ -996,7 +1003,8 @@ class _StoreCustomerHomeRightPageState
996 padding: EdgeInsets.symmetric(horizontal: w(10)), 1003 padding: EdgeInsets.symmetric(horizontal: w(10)),
997 itemBuilder: (context, index) { 1004 itemBuilder: (context, index) {
998 SellerCountsListSunModel countsListSunModel = widget 1005 SellerCountsListSunModel countsListSunModel = widget
999 - .customerProvider!.managerStatisticsList![index]; 1006 + .customerProvider!
  1007 + .managerStatisticsList![index];
1000 return InkWell( 1008 return InkWell(
1001 onTap: () { 1009 onTap: () {
1002 String? uid = ''; 1010 String? uid = '';
@@ -9,8 +9,9 @@ import 'package:call_log/call_log.dart'; @@ -9,8 +9,9 @@ import 'package:call_log/call_log.dart';
9 import 'package:common_utils/common_utils.dart'; 9 import 'package:common_utils/common_utils.dart';
10 import 'package:connectivity_plus/connectivity_plus.dart'; 10 import 'package:connectivity_plus/connectivity_plus.dart';
11 // import 'package:contacts_service/contacts_service.dart'; 11 // import 'package:contacts_service/contacts_service.dart';
12 -// import 'package:connectivity_plus/connectivity_plus.dart'; 12 +
13 import 'package:device_info/device_info.dart'; 13 import 'package:device_info/device_info.dart';
  14 +// import 'package:device_info_plus/device_info_plus.dart';
14 import 'package:dio/dio.dart'; 15 import 'package:dio/dio.dart';
15 import 'package:flutter/cupertino.dart'; 16 import 'package:flutter/cupertino.dart';
16 import 'package:flutter/material.dart'; 17 import 'package:flutter/material.dart';
@@ -23,6 +24,7 @@ import 'package:fluwx/fluwx.dart'; @@ -23,6 +24,7 @@ import 'package:fluwx/fluwx.dart';
23 import 'package:one_key/provider/my_model.dart'; 24 import 'package:one_key/provider/my_model.dart';
24 import 'package:one_key/provider/user_model.dart'; 25 import 'package:one_key/provider/user_model.dart';
25 import 'package:one_key/res/colors.dart'; 26 import 'package:one_key/res/colors.dart';
  27 +// import 'package:one_key/utils/crop_image_utils.dart';
26 import 'package:one_key/utils/dialog_util.dart'; 28 import 'package:one_key/utils/dialog_util.dart';
27 import 'package:one_key/utils/lunar_calendar.dart'; 29 import 'package:one_key/utils/lunar_calendar.dart';
28 import 'package:one_key/utils/misc.dart'; 30 import 'package:one_key/utils/misc.dart';
@@ -31,6 +33,8 @@ import 'package:one_key/utils/screen_util.dart'; @@ -31,6 +33,8 @@ import 'package:one_key/utils/screen_util.dart';
31 import 'package:one_key/utils/wx_sdk.dart'; 33 import 'package:one_key/utils/wx_sdk.dart';
32 import 'package:one_key/widgets/loading.dart'; 34 import 'package:one_key/widgets/loading.dart';
33 import 'package:package_info/package_info.dart'; 35 import 'package:package_info/package_info.dart';
  36 +
  37 +// import 'package:package_info_plus/package_info_plus.dart';
34 import 'package:permission_handler/permission_handler.dart'; 38 import 'package:permission_handler/permission_handler.dart';
35 import 'package:provider/provider.dart'; 39 import 'package:provider/provider.dart';
36 import 'package:url_launcher/url_launcher.dart'; 40 import 'package:url_launcher/url_launcher.dart';
@@ -39,7 +43,7 @@ import 'package:flutter_image_compress/flutter_image_compress.dart'; @@ -39,7 +43,7 @@ import 'package:flutter_image_compress/flutter_image_compress.dart';
39 43
40 import 'package:image/image.dart' as IMG; 44 import 'package:image/image.dart' as IMG;
41 import 'dart:ui' as ui; 45 import 'dart:ui' as ui;
42 -import 'package:permission_handler/permission_handler.dart'; 46 +
43 import 'package:path_provider/path_provider.dart'; 47 import 'package:path_provider/path_provider.dart';
44 import 'package:image_cropper/image_cropper.dart'; 48 import 'package:image_cropper/image_cropper.dart';
45 import 'dart:math'; 49 import 'dart:math';
@@ -55,12 +59,80 @@ import 'package:path/path.dart' as path; // 如果你也想获取文件扩展名 @@ -55,12 +59,80 @@ import 'package:path/path.dart' as path; // 如果你也想获取文件扩展名
55 // import 'dart:typed_data'; 59 // import 'dart:typed_data';
56 // import 'dart:typed_data'; 60 // import 'dart:typed_data';
57 // import 'package:image/image.dart' as Img; 61 // import 'package:image/image.dart' as Img;
  62 +import 'package:path/path.dart' as p; // 导入path包
  63 +// import 'package:flutter_udid/flutter_udid.dart';
  64 +// import 'package:package_info/package_info.dart';
  65 +// import 'package:package_info_plus/package_info_plus.dart';
  66 +// import 'package:app_update_check_plugin/app_update_check_plugin.dart';
58 67
59 // import 'dart:io'; // 如果你处理的是文件系统中的文件 68 // import 'dart:io'; // 如果你处理的是文件系统中的文件
60 69
61 typedef BookTimeSetCallback = void Function(bool needChange); 70 typedef BookTimeSetCallback = void Function(bool needChange);
62 71
63 class Utils { 72 class Utils {
  73 +
  74 +// static Future<bool> checkUpdateOhos()async{
  75 +// // 鸿蒙商城是否有新版本
  76 +// final _appUpdateCheckPlugin = AppUpdateCheckPlugin();
  77 +// try {
  78 +// bool hasUpdate = await _appUpdateCheckPlugin.checkAppUpdate();
  79 +// if (hasUpdate) {
  80 +// //跳转应用商城
  81 +
  82 +// return true;
  83 +// } else {
  84 +
  85 +// return false;
  86 +// }
  87 +// } on PlatformException {
  88 +// return false;
  89 +// // platformVersion = 'Failed to get platform version.';
  90 +// }
  91 +
  92 +
  93 +// }
  94 +
  95 +
  96 +
  97 + // 跳转到华为应用商城更新的方法
  98 +// static void launchAppGallery() async{
  99 +// final appid =Constant.ohos_app_id; //可以是应用id、也可以是鸿蒙应用包名
  100 +// // final url='store://appgallery.huawei.com/app/detail?id=$appid';
  101 +
  102 +// final url= 'store://appgallery.huawei.com/app/detail?id=com.jd.hm.mall&channelId=LAUNCHERSHARE';
  103 +
  104 +
  105 +// try{
  106 +// await launchUrl(Uri.parse(url));
  107 +// print('打开成功');
  108 +// }catch(err){
  109 +// print('打开失败');
  110 +// }
  111 +
  112 +// }
  113 +
  114 +
  115 +
  116 +
  117 +
  118 +
  119 +
  120 +
  121 +
  122 +
  123 +
  124 +
  125 +
  126 + static String extractFileNameFromUrl(String url) {
  127 + try {
  128 + Uri uri = Uri.parse(url);
  129 + return p.basename(uri.path); // 使用basename函数提取文件名
  130 + } catch (e) {
  131 + print("Error parsing URL: $e");
  132 + return ""; // 或者返回null或抛出异常,根据你的需求处理错误情况
  133 + }
  134 +
  135 + }
64 static String? getMimeType(String filePath) { 136 static String? getMimeType(String filePath) {
65 return lookupMimeType(filePath); // 使用文件扩展名查找,或者传入文件头字节查找更准确的结果 137 return lookupMimeType(filePath); // 使用文件扩展名查找,或者传入文件头字节查找更准确的结果
66 } 138 }
@@ -1226,7 +1298,7 @@ class Utils { @@ -1226,7 +1298,7 @@ class Utils {
1226 * @return 1298 * @return
1227 */ 1299 */
1228 static String getPicSuffix(String img_path) { 1300 static String getPicSuffix(String img_path) {
1229 - if (img_path == null || img_path.indexOf(".") == -1) { 1301 + if (img_path.indexOf(".") == -1) {
1230 return ""; //如果图片地址为null或者地址中没有"."就返回"" 1302 return ""; //如果图片地址为null或者地址中没有"."就返回""
1231 } 1303 }
1232 return img_path 1304 return img_path
@@ -1291,7 +1363,7 @@ class Utils { @@ -1291,7 +1363,7 @@ class Utils {
1291 static getPickPermission(BuildContext context, VoidCallback callback, 1363 static getPickPermission(BuildContext context, VoidCallback callback,
1292 Permission permissionGroup) async { 1364 Permission permissionGroup) async {
1293 if (!(await checkPermission(permissionGroup))) { 1365 if (!(await checkPermission(permissionGroup))) {
1294 - String title = Platform.isAndroid ? '存储' : '相册'; 1366 + String title = Platform.isAndroid ? '存储' : Platform.isIOS ? '相册':'图片和视频';
1295 if (permissionGroup == Permission.camera) { 1367 if (permissionGroup == Permission.camera) {
1296 title = '相机'; 1368 title = '相机';
1297 } else if (permissionGroup == Permission.location) { 1369 } else if (permissionGroup == Permission.location) {
@@ -1731,7 +1803,7 @@ class Utils { @@ -1731,7 +1803,7 @@ class Utils {
1731 NavigatorUtil.goWebviewPage(context); 1803 NavigatorUtil.goWebviewPage(context);
1732 } 1804 }
1733 1805
1734 - //获取应用版本昊 1806 + //获取应用版本h号
1735 static getCurrVersion() async { 1807 static getCurrVersion() async {
1736 PackageInfo packageInfo = await PackageInfo.fromPlatform(); 1808 PackageInfo packageInfo = await PackageInfo.fromPlatform();
1737 String version = packageInfo.version; 1809 String version = packageInfo.version;
@@ -1745,6 +1817,45 @@ class Utils { @@ -1745,6 +1817,45 @@ class Utils {
1745 } 1817 }
1746 1818
1747 //获取唯一标识 1819 //获取唯一标识
  1820 + // static Future<String> getUUID() async {
  1821 + // DeviceInfoPlugin deviceInfoPlugin = DeviceInfoPlugin();
  1822 + // if (Platform.isAndroid) {
  1823 + // AndroidDeviceInfo androidDeviceInfo = await deviceInfoPlugin.androidInfo;
  1824 + // return androidDeviceInfo.androidId;
  1825 + // } else if (Platform.isIOS) {
  1826 + // IosDeviceInfo iosDeviceInfo = await deviceInfoPlugin.iosInfo;
  1827 + // return iosDeviceInfo.identifierForVendor;
  1828 + // } else if (Platform.isOhos) {
  1829 + // String udid;
  1830 + // try {
  1831 + // udid = await FlutterUdid.udid;
  1832 + // } on PlatformException {
  1833 + // udid = 'Failed to get UDID.';
  1834 + // }
  1835 +
  1836 + // return udid;
  1837 + // }
  1838 + // return '';
  1839 + // }
  1840 +
  1841 + //获取唯一标识
  1842 +// //获取唯一标识
  1843 + // static Future<String?> getUUID() async {
  1844 + // DeviceInfoPlugin deviceInfoPlugin = DeviceInfoPlugin();
  1845 + // if (Platform.isAndroid) {
  1846 + // AndroidDeviceInfo androidDeviceInfo = await deviceInfoPlugin.androidInfo;
  1847 + // return androidDeviceInfo.serialNumber;
  1848 + // } else if (Platform.isIOS) {
  1849 + // IosDeviceInfo iosDeviceInfo = await deviceInfoPlugin.iosInfo;
  1850 + // return iosDeviceInfo.identifierForVendor;
  1851 + // } else {
  1852 +
  1853 + // OhosDeviceInfo ohosDeviceInfo = await deviceInfoPlugin.ohosInfo;
  1854 + // return ohosDeviceInfo.udid;
  1855 + // }
  1856 + // }
  1857 +
  1858 + //获取唯一标识
1748 static Future<String> getUUID() async { 1859 static Future<String> getUUID() async {
1749 DeviceInfoPlugin deviceInfoPlugin = DeviceInfoPlugin(); 1860 DeviceInfoPlugin deviceInfoPlugin = DeviceInfoPlugin();
1750 if (Platform.isAndroid) { 1861 if (Platform.isAndroid) {
@@ -3607,14 +3718,29 @@ class Utils { @@ -3607,14 +3718,29 @@ class Utils {
3607 } else if (connectivityResult == ConnectivityResult.wifi) { 3718 } else if (connectivityResult == ConnectivityResult.wifi) {
3608 // I am connected to a wifi network. 3719 // I am connected to a wifi network.
3609 return true; 3720 return true;
  3721 + } else if (connectivityResult == ConnectivityResult.ethernet) {
  3722 + return true;
3610 } 3723 }
3611 return false; 3724 return false;
3612 } 3725 }
3613 3726
  3727 + //检查网络连接
  3728 +// static Future<bool> checkConnectiviy() async {
  3729 +// List<ConnectivityResult> connectivityResult= await (new Connectivity().checkConnectivity());
  3730 +// if(connectivityResult.length >0){
  3731 +// if (connectivityResult[0] == ConnectivityResult.mobile) {
  3732 +// // I am connected to a mobile network.
  3733 +// return true;
  3734 +// } else if (connectivityResult[0] == ConnectivityResult.wifi) {
  3735 +// // I am connected to a wifi network.
  3736 +// return true;
  3737 +// }
  3738 +// }
  3739 +
  3740 +// return false;
  3741 +// }
  3742 +
3614 static String? listToString(List<String?> list) { 3743 static String? listToString(List<String?> list) {
3615 - if (list == null) {  
3616 - return null;  
3617 - }  
3618 String? result; 3744 String? result;
3619 list.forEach((string) { 3745 list.forEach((string) {
3620 if (result == null) { 3746 if (result == null) {
@@ -3627,9 +3753,6 @@ class Utils { @@ -3627,9 +3753,6 @@ class Utils {
3627 } 3753 }
3628 3754
3629 static String listToStringEnglish1(List<dynamic> list) { 3755 static String listToStringEnglish1(List<dynamic> list) {
3630 - if (list == null) {  
3631 - return '';  
3632 - }  
3633 String? result; 3756 String? result;
3634 list.forEach((string) { 3757 list.forEach((string) {
3635 if (result == null) { 3758 if (result == null) {
@@ -3657,9 +3780,6 @@ class Utils { @@ -3657,9 +3780,6 @@ class Utils {
3657 } 3780 }
3658 3781
3659 static String listToStringEnglish(List<String?> list) { 3782 static String listToStringEnglish(List<String?> list) {
3660 - if (list == null) {  
3661 - return '';  
3662 - }  
3663 String? result; 3783 String? result;
3664 list.forEach((string) { 3784 list.forEach((string) {
3665 if (result == null) { 3785 if (result == null) {
  1 +Subproject commit a5349371525462b1d1b6cfa4cf4d2a59503f1435
  1 +package io.flutter.plugins;
  2 +
  3 +import androidx.annotation.Keep;
  4 +import androidx.annotation.NonNull;
  5 +import io.flutter.Log;
  6 +
  7 +import io.flutter.embedding.engine.FlutterEngine;
  8 +
  9 +/**
  10 + * Generated file. Do not edit.
  11 + * This file is generated by the Flutter tool based on the
  12 + * plugins that support the Android platform.
  13 + */
  14 +@Keep
  15 +public final class GeneratedPluginRegistrant {
  16 + private static final String TAG = "GeneratedPluginRegistrant";
  17 + public static void registerWith(@NonNull FlutterEngine flutterEngine) {
  18 + try {
  19 + flutterEngine.getPlugins().add(new com.example.app_update_check_plugin.AppUpdateCheckPlugin());
  20 + } catch (Exception e) {
  21 + Log.e(TAG, "Error registering plugin app_update_check_plugin, com.example.app_update_check_plugin.AppUpdateCheckPlugin", e);
  22 + }
  23 + try {
  24 + flutterEngine.getPlugins().add(new dev.flutter.plugins.integration_test.IntegrationTestPlugin());
  25 + } catch (Exception e) {
  26 + Log.e(TAG, "Error registering plugin integration_test, dev.flutter.plugins.integration_test.IntegrationTestPlugin", e);
  27 + }
  28 + }
  29 +}
  1 +sdk.dir=/Users/wangdongni/Library/Android/sdk
  2 +flutter.sdk=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev
  1 +// This is a generated file; do not edit or check into version control.
  2 +FLUTTER_ROOT=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev
  3 +FLUTTER_APPLICATION_PATH=/Users/wangdongni/Desktop/Flutter-ReserveApp/library/app_update_check_plugin/example
  4 +COCOAPODS_PARALLEL_CODE_SIGN=true
  5 +FLUTTER_TARGET=lib/main.dart
  6 +FLUTTER_BUILD_DIR=build
  7 +FLUTTER_BUILD_NAME=1.0.0
  8 +FLUTTER_BUILD_NUMBER=1
  9 +EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386
  10 +EXCLUDED_ARCHS[sdk=iphoneos*]=armv7
  11 +DART_OBFUSCATION=false
  12 +TRACK_WIDGET_CREATION=true
  13 +TREE_SHAKE_ICONS=false
  14 +PACKAGE_CONFIG=.dart_tool/package_config.json
  1 +#!/bin/sh
  2 +# This is a generated file; do not edit or check into version control.
  3 +export "FLUTTER_ROOT=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev"
  4 +export "FLUTTER_APPLICATION_PATH=/Users/wangdongni/Desktop/Flutter-ReserveApp/library/app_update_check_plugin/example"
  5 +export "COCOAPODS_PARALLEL_CODE_SIGN=true"
  6 +export "FLUTTER_TARGET=lib/main.dart"
  7 +export "FLUTTER_BUILD_DIR=build"
  8 +export "FLUTTER_BUILD_NAME=1.0.0"
  9 +export "FLUTTER_BUILD_NUMBER=1"
  10 +export "DART_OBFUSCATION=false"
  11 +export "TRACK_WIDGET_CREATION=true"
  12 +export "TREE_SHAKE_ICONS=false"
  13 +export "PACKAGE_CONFIG=.dart_tool/package_config.json"
  1 +//
  2 +// Generated file. Do not edit.
  3 +//
  4 +
  5 +// clang-format off
  6 +
  7 +#ifndef GeneratedPluginRegistrant_h
  8 +#define GeneratedPluginRegistrant_h
  9 +
  10 +#import <Flutter/Flutter.h>
  11 +
  12 +NS_ASSUME_NONNULL_BEGIN
  13 +
  14 +@interface GeneratedPluginRegistrant : NSObject
  15 ++ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry;
  16 +@end
  17 +
  18 +NS_ASSUME_NONNULL_END
  19 +#endif /* GeneratedPluginRegistrant_h */
  1 +//
  2 +// Generated file. Do not edit.
  3 +//
  4 +
  5 +// clang-format off
  6 +
  7 +#import "GeneratedPluginRegistrant.h"
  8 +
  9 +#if __has_include(<app_update_check_plugin/AppUpdateCheckPlugin.h>)
  10 +#import <app_update_check_plugin/AppUpdateCheckPlugin.h>
  11 +#else
  12 +@import app_update_check_plugin;
  13 +#endif
  14 +
  15 +#if __has_include(<integration_test/IntegrationTestPlugin.h>)
  16 +#import <integration_test/IntegrationTestPlugin.h>
  17 +#else
  18 +@import integration_test;
  19 +#endif
  20 +
  21 +@implementation GeneratedPluginRegistrant
  22 +
  23 ++ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {
  24 + [AppUpdateCheckPlugin registerWithRegistrar:[registry registrarForPlugin:@"AppUpdateCheckPlugin"]];
  25 + [IntegrationTestPlugin registerWithRegistrar:[registry registrarForPlugin:@"IntegrationTestPlugin"]];
  26 +}
  27 +
  28 +@end
  1 +import { FlutterEngine, Log } from '@ohos/flutter_ohos';
  2 +import AppUpdateCheckPlugin from 'app_update_check_plugin';
  3 +import IntegrationTestPlugin from 'integration_test';
  4 +
  5 +/**
  6 + * Generated file. Do not edit.
  7 + * This file is generated by the Flutter tool based on the
  8 + * plugins that support the Ohos platform.
  9 + */
  10 +
  11 +const TAG = "GeneratedPluginRegistrant";
  12 +
  13 +export class GeneratedPluginRegistrant {
  14 +
  15 + static registerWith(flutterEngine: FlutterEngine) {
  16 + try {
  17 + flutterEngine.getPlugins()?.add(new AppUpdateCheckPlugin());
  18 + flutterEngine.getPlugins()?.add(new IntegrationTestPlugin());
  19 + } catch (e) {
  20 + Log.e(
  21 + TAG,
  22 + "Tried to register plugins with FlutterEngine ("
  23 + + flutterEngine
  24 + + ") failed.");
  25 + Log.e(TAG, "Received exception while registering", e);
  26 + }
  27 + }
  28 +}
  1 +hwsdk.dir=/Applications/DevEco-Studio.app/Contents/sdk
  2 +flutter.sdk=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev
  1 +{
  2 + "name": "ohos",
  3 + "lockfileVersion": 3,
  4 + "requires": true,
  5 + "packages": {
  6 + "../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor": {
  7 + "version": "1.0.0",
  8 + "license": "ISC",
  9 + "devDependencies": {
  10 + "@ohos/hvigor": "5.2.2"
  11 + }
  12 + },
  13 + "node_modules/flutter-hvigor-plugin": {
  14 + "resolved": "../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor",
  15 + "link": true
  16 + }
  17 + }
  18 +}
  1 +../../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor
  1 +{
  2 + "name": "ohos",
  3 + "lockfileVersion": 3,
  4 + "requires": true,
  5 + "packages": {
  6 + "": {
  7 + "dependencies": {
  8 + "flutter-hvigor-plugin": "file:/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor"
  9 + }
  10 + },
  11 + "../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor": {
  12 + "version": "1.0.0",
  13 + "license": "ISC",
  14 + "devDependencies": {
  15 + "@ohos/hvigor": "5.2.2"
  16 + }
  17 + },
  18 + "node_modules/flutter-hvigor-plugin": {
  19 + "resolved": "../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor",
  20 + "link": true
  21 + }
  22 + }
  23 +}
  1 +{
  2 + "dependencies": {
  3 + "flutter-hvigor-plugin": "file:/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor"
  4 + }
  5 +}
  1 +{
  2 + "meta": {
  3 + "stableOrder": true,
  4 + "enableUnifiedLockfile": false
  5 + },
  6 + "lockfileVersion": 3,
  7 + "ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.",
  8 + "specifiers": {
  9 + "@ohos/flutter_ohos@../../../../../fvm/versions/custom_oh_3.27.4-dev/bin/cache/artifacts/engine/ohos-arm64/flutter.har": "@ohos/flutter_ohos@../../../../../fvm/versions/custom_oh_3.27.4-dev/bin/cache/artifacts/engine/ohos-arm64/flutter.har"
  10 + },
  11 + "packages": {
  12 + "@ohos/flutter_ohos@../../../../../fvm/versions/custom_oh_3.27.4-dev/bin/cache/artifacts/engine/ohos-arm64/flutter.har": {
  13 + "name": "@ohos/flutter_ohos",
  14 + "version": "1.0.0-2317265cd5",
  15 + "resolved": "../../../../../fvm/versions/custom_oh_3.27.4-dev/bin/cache/artifacts/engine/ohos-arm64/flutter.har",
  16 + "registryType": "local"
  17 + }
  18 + }
  19 +}
  1 +../../../../../ohos/oh_modules/.ohpm/@ohos+flutter_ohos@z+esrfzju6x1o3bcfuku8xtvaawms8gp1tiq996zf1o=/oh_modules/@ohos/flutter_ohos
  1 +# Generated by pub
  2 +# See https://dart.dev/tools/pub/glossary#lockfile
  3 +packages:
  4 + async:
  5 + dependency: transitive
  6 + description:
  7 + name: async
  8 + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
  9 + url: "https://pub.flutter-io.cn"
  10 + source: hosted
  11 + version: "2.11.0"
  12 + boolean_selector:
  13 + dependency: transitive
  14 + description:
  15 + name: boolean_selector
  16 + sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
  17 + url: "https://pub.flutter-io.cn"
  18 + source: hosted
  19 + version: "2.1.1"
  20 + characters:
  21 + dependency: transitive
  22 + description:
  23 + name: characters
  24 + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
  25 + url: "https://pub.flutter-io.cn"
  26 + source: hosted
  27 + version: "1.3.0"
  28 + clock:
  29 + dependency: transitive
  30 + description:
  31 + name: clock
  32 + sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
  33 + url: "https://pub.flutter-io.cn"
  34 + source: hosted
  35 + version: "1.1.1"
  36 + collection:
  37 + dependency: transitive
  38 + description:
  39 + name: collection
  40 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
  41 + url: "https://pub.flutter-io.cn"
  42 + source: hosted
  43 + version: "1.18.0"
  44 + fake_async:
  45 + dependency: transitive
  46 + description:
  47 + name: fake_async
  48 + sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
  49 + url: "https://pub.flutter-io.cn"
  50 + source: hosted
  51 + version: "1.3.1"
  52 + flutter:
  53 + dependency: "direct main"
  54 + description: flutter
  55 + source: sdk
  56 + version: "0.0.0"
  57 + flutter_lints:
  58 + dependency: "direct dev"
  59 + description:
  60 + name: flutter_lints
  61 + sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
  62 + url: "https://pub.flutter-io.cn"
  63 + source: hosted
  64 + version: "3.0.2"
  65 + flutter_test:
  66 + dependency: "direct dev"
  67 + description: flutter
  68 + source: sdk
  69 + version: "0.0.0"
  70 + leak_tracker:
  71 + dependency: transitive
  72 + description:
  73 + name: leak_tracker
  74 + sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
  75 + url: "https://pub.flutter-io.cn"
  76 + source: hosted
  77 + version: "10.0.4"
  78 + leak_tracker_flutter_testing:
  79 + dependency: transitive
  80 + description:
  81 + name: leak_tracker_flutter_testing
  82 + sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
  83 + url: "https://pub.flutter-io.cn"
  84 + source: hosted
  85 + version: "3.0.3"
  86 + leak_tracker_testing:
  87 + dependency: transitive
  88 + description:
  89 + name: leak_tracker_testing
  90 + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
  91 + url: "https://pub.flutter-io.cn"
  92 + source: hosted
  93 + version: "3.0.1"
  94 + lints:
  95 + dependency: transitive
  96 + description:
  97 + name: lints
  98 + sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
  99 + url: "https://pub.flutter-io.cn"
  100 + source: hosted
  101 + version: "3.0.0"
  102 + matcher:
  103 + dependency: transitive
  104 + description:
  105 + name: matcher
  106 + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
  107 + url: "https://pub.flutter-io.cn"
  108 + source: hosted
  109 + version: "0.12.16+1"
  110 + material_color_utilities:
  111 + dependency: transitive
  112 + description:
  113 + name: material_color_utilities
  114 + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
  115 + url: "https://pub.flutter-io.cn"
  116 + source: hosted
  117 + version: "0.8.0"
  118 + meta:
  119 + dependency: transitive
  120 + description:
  121 + name: meta
  122 + sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
  123 + url: "https://pub.flutter-io.cn"
  124 + source: hosted
  125 + version: "1.12.0"
  126 + path:
  127 + dependency: transitive
  128 + description:
  129 + name: path
  130 + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
  131 + url: "https://pub.flutter-io.cn"
  132 + source: hosted
  133 + version: "1.9.0"
  134 + plugin_platform_interface:
  135 + dependency: "direct main"
  136 + description:
  137 + name: plugin_platform_interface
  138 + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
  139 + url: "https://pub.flutter-io.cn"
  140 + source: hosted
  141 + version: "2.1.8"
  142 + sky_engine:
  143 + dependency: transitive
  144 + description: flutter
  145 + source: sdk
  146 + version: "0.0.99"
  147 + source_span:
  148 + dependency: transitive
  149 + description:
  150 + name: source_span
  151 + sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
  152 + url: "https://pub.flutter-io.cn"
  153 + source: hosted
  154 + version: "1.10.0"
  155 + stack_trace:
  156 + dependency: transitive
  157 + description:
  158 + name: stack_trace
  159 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
  160 + url: "https://pub.flutter-io.cn"
  161 + source: hosted
  162 + version: "1.11.1"
  163 + stream_channel:
  164 + dependency: transitive
  165 + description:
  166 + name: stream_channel
  167 + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
  168 + url: "https://pub.flutter-io.cn"
  169 + source: hosted
  170 + version: "2.1.2"
  171 + string_scanner:
  172 + dependency: transitive
  173 + description:
  174 + name: string_scanner
  175 + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
  176 + url: "https://pub.flutter-io.cn"
  177 + source: hosted
  178 + version: "1.2.0"
  179 + term_glyph:
  180 + dependency: transitive
  181 + description:
  182 + name: term_glyph
  183 + sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
  184 + url: "https://pub.flutter-io.cn"
  185 + source: hosted
  186 + version: "1.2.1"
  187 + test_api:
  188 + dependency: transitive
  189 + description:
  190 + name: test_api
  191 + sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
  192 + url: "https://pub.flutter-io.cn"
  193 + source: hosted
  194 + version: "0.7.0"
  195 + vector_math:
  196 + dependency: transitive
  197 + description:
  198 + name: vector_math
  199 + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
  200 + url: "https://pub.flutter-io.cn"
  201 + source: hosted
  202 + version: "2.1.4"
  203 + vm_service:
  204 + dependency: transitive
  205 + description:
  206 + name: vm_service
  207 + sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
  208 + url: "https://pub.flutter-io.cn"
  209 + source: hosted
  210 + version: "14.2.1"
  211 +sdks:
  212 + dart: ">=3.4.0 <4.0.0"
  213 + flutter: ">=3.18.0-18.0.pre.54"
  1 +Subproject commit 10106fa7e336393b5af648e3441d9a19d0ad7bad
  1 +package io.flutter.plugins;
  2 +
  3 +import androidx.annotation.Keep;
  4 +import androidx.annotation.NonNull;
  5 +import io.flutter.Log;
  6 +
  7 +import io.flutter.embedding.engine.FlutterEngine;
  8 +
  9 +/**
  10 + * Generated file. Do not edit.
  11 + * This file is generated by the Flutter tool based on the
  12 + * plugins that support the Android platform.
  13 + */
  14 +@Keep
  15 +public final class GeneratedPluginRegistrant {
  16 + private static final String TAG = "GeneratedPluginRegistrant";
  17 + public static void registerWith(@NonNull FlutterEngine flutterEngine) {
  18 + try {
  19 + flutterEngine.getPlugins().add(new com.example.file_document_saver.FileDocumentSaverPlugin());
  20 + } catch (Exception e) {
  21 + Log.e(TAG, "Error registering plugin file_document_saver, com.example.file_document_saver.FileDocumentSaverPlugin", e);
  22 + }
  23 + try {
  24 + flutterEngine.getPlugins().add(new dev.flutter.plugins.integration_test.IntegrationTestPlugin());
  25 + } catch (Exception e) {
  26 + Log.e(TAG, "Error registering plugin integration_test, dev.flutter.plugins.integration_test.IntegrationTestPlugin", e);
  27 + }
  28 + }
  29 +}
  1 +sdk.dir=/Users/wangdongni/Library/Android/sdk
  2 +flutter.sdk=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev
  1 +// This is a generated file; do not edit or check into version control.
  2 +FLUTTER_ROOT=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev
  3 +FLUTTER_APPLICATION_PATH=/Users/wangdongni/Desktop/Flutter-ReserveApp/library/file_document_saver/example
  4 +COCOAPODS_PARALLEL_CODE_SIGN=true
  5 +FLUTTER_TARGET=lib/main.dart
  6 +FLUTTER_BUILD_DIR=build
  7 +FLUTTER_BUILD_NAME=1.0.0
  8 +FLUTTER_BUILD_NUMBER=1
  9 +EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386
  10 +EXCLUDED_ARCHS[sdk=iphoneos*]=armv7
  11 +DART_OBFUSCATION=false
  12 +TRACK_WIDGET_CREATION=true
  13 +TREE_SHAKE_ICONS=false
  14 +PACKAGE_CONFIG=.dart_tool/package_config.json
  1 +#!/bin/sh
  2 +# This is a generated file; do not edit or check into version control.
  3 +export "FLUTTER_ROOT=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev"
  4 +export "FLUTTER_APPLICATION_PATH=/Users/wangdongni/Desktop/Flutter-ReserveApp/library/file_document_saver/example"
  5 +export "COCOAPODS_PARALLEL_CODE_SIGN=true"
  6 +export "FLUTTER_TARGET=lib/main.dart"
  7 +export "FLUTTER_BUILD_DIR=build"
  8 +export "FLUTTER_BUILD_NAME=1.0.0"
  9 +export "FLUTTER_BUILD_NUMBER=1"
  10 +export "DART_OBFUSCATION=false"
  11 +export "TRACK_WIDGET_CREATION=true"
  12 +export "TREE_SHAKE_ICONS=false"
  13 +export "PACKAGE_CONFIG=.dart_tool/package_config.json"
  1 +//
  2 +// Generated file. Do not edit.
  3 +//
  4 +
  5 +// clang-format off
  6 +
  7 +#ifndef GeneratedPluginRegistrant_h
  8 +#define GeneratedPluginRegistrant_h
  9 +
  10 +#import <Flutter/Flutter.h>
  11 +
  12 +NS_ASSUME_NONNULL_BEGIN
  13 +
  14 +@interface GeneratedPluginRegistrant : NSObject
  15 ++ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry;
  16 +@end
  17 +
  18 +NS_ASSUME_NONNULL_END
  19 +#endif /* GeneratedPluginRegistrant_h */
  1 +//
  2 +// Generated file. Do not edit.
  3 +//
  4 +
  5 +// clang-format off
  6 +
  7 +#import "GeneratedPluginRegistrant.h"
  8 +
  9 +#if __has_include(<file_document_saver/FileDocumentSaverPlugin.h>)
  10 +#import <file_document_saver/FileDocumentSaverPlugin.h>
  11 +#else
  12 +@import file_document_saver;
  13 +#endif
  14 +
  15 +#if __has_include(<integration_test/IntegrationTestPlugin.h>)
  16 +#import <integration_test/IntegrationTestPlugin.h>
  17 +#else
  18 +@import integration_test;
  19 +#endif
  20 +
  21 +@implementation GeneratedPluginRegistrant
  22 +
  23 ++ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {
  24 + [FileDocumentSaverPlugin registerWithRegistrar:[registry registrarForPlugin:@"FileDocumentSaverPlugin"]];
  25 + [IntegrationTestPlugin registerWithRegistrar:[registry registrarForPlugin:@"IntegrationTestPlugin"]];
  26 +}
  27 +
  28 +@end
  1 +import { FlutterEngine, Log } from '@ohos/flutter_ohos';
  2 +import FileDocumentSaverPlugin from 'file_document_saver';
  3 +import IntegrationTestPlugin from 'integration_test';
  4 +
  5 +/**
  6 + * Generated file. Do not edit.
  7 + * This file is generated by the Flutter tool based on the
  8 + * plugins that support the Ohos platform.
  9 + */
  10 +
  11 +const TAG = "GeneratedPluginRegistrant";
  12 +
  13 +export class GeneratedPluginRegistrant {
  14 +
  15 + static registerWith(flutterEngine: FlutterEngine) {
  16 + try {
  17 + flutterEngine.getPlugins()?.add(new FileDocumentSaverPlugin());
  18 + flutterEngine.getPlugins()?.add(new IntegrationTestPlugin());
  19 + } catch (e) {
  20 + Log.e(
  21 + TAG,
  22 + "Tried to register plugins with FlutterEngine ("
  23 + + flutterEngine
  24 + + ") failed.");
  25 + Log.e(TAG, "Received exception while registering", e);
  26 + }
  27 + }
  28 +}
  1 +hwsdk.dir=/Applications/DevEco-Studio.app/Contents/sdk
  2 +flutter.sdk=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev
  1 +{
  2 + "name": "ohos",
  3 + "lockfileVersion": 3,
  4 + "requires": true,
  5 + "packages": {
  6 + "../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor": {
  7 + "name": "flutter-hvigor-plugin",
  8 + "version": "1.0.0",
  9 + "license": "ISC",
  10 + "devDependencies": {
  11 + "@ohos/hvigor": "5.2.2"
  12 + }
  13 + },
  14 + "node_modules/flutter-hvigor-plugin": {
  15 + "resolved": "../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor",
  16 + "link": true
  17 + }
  18 + }
  19 +}
  1 +../../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor
  1 +{
  2 + "name": "ohos",
  3 + "lockfileVersion": 3,
  4 + "requires": true,
  5 + "packages": {
  6 + "": {
  7 + "dependencies": {
  8 + "flutter-hvigor-plugin": "file:/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor"
  9 + }
  10 + },
  11 + "../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor": {
  12 + "name": "flutter-hvigor-plugin",
  13 + "version": "1.0.0",
  14 + "license": "ISC",
  15 + "devDependencies": {
  16 + "@ohos/hvigor": "5.2.2"
  17 + }
  18 + },
  19 + "node_modules/flutter-hvigor-plugin": {
  20 + "resolved": "../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor",
  21 + "link": true
  22 + }
  23 + }
  24 +}
  1 +{
  2 + "dependencies": {
  3 + "flutter-hvigor-plugin": "file:/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor"
  4 + }
  5 +}
  1 +# Generated by pub
  2 +# See https://dart.dev/tools/pub/glossary#lockfile
  3 +packages:
  4 + async:
  5 + dependency: transitive
  6 + description:
  7 + name: async
  8 + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
  9 + url: "https://pub.flutter-io.cn"
  10 + source: hosted
  11 + version: "2.11.0"
  12 + boolean_selector:
  13 + dependency: transitive
  14 + description:
  15 + name: boolean_selector
  16 + sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
  17 + url: "https://pub.flutter-io.cn"
  18 + source: hosted
  19 + version: "2.1.1"
  20 + characters:
  21 + dependency: transitive
  22 + description:
  23 + name: characters
  24 + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
  25 + url: "https://pub.flutter-io.cn"
  26 + source: hosted
  27 + version: "1.3.0"
  28 + clock:
  29 + dependency: transitive
  30 + description:
  31 + name: clock
  32 + sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
  33 + url: "https://pub.flutter-io.cn"
  34 + source: hosted
  35 + version: "1.1.1"
  36 + collection:
  37 + dependency: transitive
  38 + description:
  39 + name: collection
  40 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
  41 + url: "https://pub.flutter-io.cn"
  42 + source: hosted
  43 + version: "1.18.0"
  44 + fake_async:
  45 + dependency: transitive
  46 + description:
  47 + name: fake_async
  48 + sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
  49 + url: "https://pub.flutter-io.cn"
  50 + source: hosted
  51 + version: "1.3.1"
  52 + flutter:
  53 + dependency: "direct main"
  54 + description: flutter
  55 + source: sdk
  56 + version: "0.0.0"
  57 + flutter_lints:
  58 + dependency: "direct dev"
  59 + description:
  60 + name: flutter_lints
  61 + sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
  62 + url: "https://pub.flutter-io.cn"
  63 + source: hosted
  64 + version: "3.0.2"
  65 + flutter_test:
  66 + dependency: "direct dev"
  67 + description: flutter
  68 + source: sdk
  69 + version: "0.0.0"
  70 + leak_tracker:
  71 + dependency: transitive
  72 + description:
  73 + name: leak_tracker
  74 + sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
  75 + url: "https://pub.flutter-io.cn"
  76 + source: hosted
  77 + version: "10.0.4"
  78 + leak_tracker_flutter_testing:
  79 + dependency: transitive
  80 + description:
  81 + name: leak_tracker_flutter_testing
  82 + sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
  83 + url: "https://pub.flutter-io.cn"
  84 + source: hosted
  85 + version: "3.0.3"
  86 + leak_tracker_testing:
  87 + dependency: transitive
  88 + description:
  89 + name: leak_tracker_testing
  90 + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
  91 + url: "https://pub.flutter-io.cn"
  92 + source: hosted
  93 + version: "3.0.1"
  94 + lints:
  95 + dependency: transitive
  96 + description:
  97 + name: lints
  98 + sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
  99 + url: "https://pub.flutter-io.cn"
  100 + source: hosted
  101 + version: "3.0.0"
  102 + matcher:
  103 + dependency: transitive
  104 + description:
  105 + name: matcher
  106 + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
  107 + url: "https://pub.flutter-io.cn"
  108 + source: hosted
  109 + version: "0.12.16+1"
  110 + material_color_utilities:
  111 + dependency: transitive
  112 + description:
  113 + name: material_color_utilities
  114 + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
  115 + url: "https://pub.flutter-io.cn"
  116 + source: hosted
  117 + version: "0.8.0"
  118 + meta:
  119 + dependency: transitive
  120 + description:
  121 + name: meta
  122 + sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
  123 + url: "https://pub.flutter-io.cn"
  124 + source: hosted
  125 + version: "1.12.0"
  126 + path:
  127 + dependency: transitive
  128 + description:
  129 + name: path
  130 + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
  131 + url: "https://pub.flutter-io.cn"
  132 + source: hosted
  133 + version: "1.9.0"
  134 + plugin_platform_interface:
  135 + dependency: "direct main"
  136 + description:
  137 + name: plugin_platform_interface
  138 + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
  139 + url: "https://pub.flutter-io.cn"
  140 + source: hosted
  141 + version: "2.1.8"
  142 + sky_engine:
  143 + dependency: transitive
  144 + description: flutter
  145 + source: sdk
  146 + version: "0.0.99"
  147 + source_span:
  148 + dependency: transitive
  149 + description:
  150 + name: source_span
  151 + sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
  152 + url: "https://pub.flutter-io.cn"
  153 + source: hosted
  154 + version: "1.10.0"
  155 + stack_trace:
  156 + dependency: transitive
  157 + description:
  158 + name: stack_trace
  159 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
  160 + url: "https://pub.flutter-io.cn"
  161 + source: hosted
  162 + version: "1.11.1"
  163 + stream_channel:
  164 + dependency: transitive
  165 + description:
  166 + name: stream_channel
  167 + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
  168 + url: "https://pub.flutter-io.cn"
  169 + source: hosted
  170 + version: "2.1.2"
  171 + string_scanner:
  172 + dependency: transitive
  173 + description:
  174 + name: string_scanner
  175 + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
  176 + url: "https://pub.flutter-io.cn"
  177 + source: hosted
  178 + version: "1.2.0"
  179 + term_glyph:
  180 + dependency: transitive
  181 + description:
  182 + name: term_glyph
  183 + sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
  184 + url: "https://pub.flutter-io.cn"
  185 + source: hosted
  186 + version: "1.2.1"
  187 + test_api:
  188 + dependency: transitive
  189 + description:
  190 + name: test_api
  191 + sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
  192 + url: "https://pub.flutter-io.cn"
  193 + source: hosted
  194 + version: "0.7.0"
  195 + vector_math:
  196 + dependency: transitive
  197 + description:
  198 + name: vector_math
  199 + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
  200 + url: "https://pub.flutter-io.cn"
  201 + source: hosted
  202 + version: "2.1.4"
  203 + vm_service:
  204 + dependency: transitive
  205 + description:
  206 + name: vm_service
  207 + sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
  208 + url: "https://pub.flutter-io.cn"
  209 + source: hosted
  210 + version: "14.2.1"
  211 +sdks:
  212 + dart: ">=3.4.0 <4.0.0"
  213 + flutter: ">=3.18.0-18.0.pre.54"
  1 +Subproject commit af5d0e6d2bc53977f979c4f2b852f46274dc8405
  1 +Subproject commit 65c2c99891882ea59732959a672f3d5993a837bb
  1 +{
  2 + "meta": {
  3 + "stableOrder": true,
  4 + "enableUnifiedLockfile": false
  5 + },
  6 + "lockfileVersion": 3,
  7 + "ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.",
  8 + "specifiers": {
  9 + "@ohos/flutter_ohos@../../../../../fvm/versions/custom_oh_3.27.4-dev/bin/cache/artifacts/engine/ohos-arm64/flutter.har": "@ohos/flutter_ohos@../../../../../fvm/versions/custom_oh_3.27.4-dev/bin/cache/artifacts/engine/ohos-arm64/flutter.har"
  10 + },
  11 + "packages": {
  12 + "@ohos/flutter_ohos@../../../../../fvm/versions/custom_oh_3.27.4-dev/bin/cache/artifacts/engine/ohos-arm64/flutter.har": {
  13 + "name": "@ohos/flutter_ohos",
  14 + "version": "1.0.0-2317265cd5",
  15 + "resolved": "../../../../../fvm/versions/custom_oh_3.27.4-dev/bin/cache/artifacts/engine/ohos-arm64/flutter.har",
  16 + "registryType": "local"
  17 + }
  18 + }
  19 +}
  1 +../../../../../ohos/oh_modules/.ohpm/@ohos+flutter_ohos@z+esrfzju6x1o3bcfuku8xtvaawms8gp1tiq996zf1o=/oh_modules/@ohos/flutter_ohos
  1 +# Generated by pub
  2 +# See https://dart.dev/tools/pub/glossary#lockfile
  3 +packages:
  4 + async:
  5 + dependency: transitive
  6 + description:
  7 + name: async
  8 + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
  9 + url: "https://pub.flutter-io.cn"
  10 + source: hosted
  11 + version: "2.11.0"
  12 + boolean_selector:
  13 + dependency: transitive
  14 + description:
  15 + name: boolean_selector
  16 + sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
  17 + url: "https://pub.flutter-io.cn"
  18 + source: hosted
  19 + version: "2.1.1"
  20 + characters:
  21 + dependency: transitive
  22 + description:
  23 + name: characters
  24 + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
  25 + url: "https://pub.flutter-io.cn"
  26 + source: hosted
  27 + version: "1.3.0"
  28 + clock:
  29 + dependency: transitive
  30 + description:
  31 + name: clock
  32 + sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
  33 + url: "https://pub.flutter-io.cn"
  34 + source: hosted
  35 + version: "1.1.1"
  36 + collection:
  37 + dependency: transitive
  38 + description:
  39 + name: collection
  40 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
  41 + url: "https://pub.flutter-io.cn"
  42 + source: hosted
  43 + version: "1.18.0"
  44 + fake_async:
  45 + dependency: transitive
  46 + description:
  47 + name: fake_async
  48 + sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
  49 + url: "https://pub.flutter-io.cn"
  50 + source: hosted
  51 + version: "1.3.1"
  52 + flutter:
  53 + dependency: "direct main"
  54 + description: flutter
  55 + source: sdk
  56 + version: "0.0.0"
  57 + flutter_lints:
  58 + dependency: "direct dev"
  59 + description:
  60 + name: flutter_lints
  61 + sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
  62 + url: "https://pub.flutter-io.cn"
  63 + source: hosted
  64 + version: "3.0.2"
  65 + flutter_test:
  66 + dependency: "direct dev"
  67 + description: flutter
  68 + source: sdk
  69 + version: "0.0.0"
  70 + leak_tracker:
  71 + dependency: transitive
  72 + description:
  73 + name: leak_tracker
  74 + sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
  75 + url: "https://pub.flutter-io.cn"
  76 + source: hosted
  77 + version: "10.0.4"
  78 + leak_tracker_flutter_testing:
  79 + dependency: transitive
  80 + description:
  81 + name: leak_tracker_flutter_testing
  82 + sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
  83 + url: "https://pub.flutter-io.cn"
  84 + source: hosted
  85 + version: "3.0.3"
  86 + leak_tracker_testing:
  87 + dependency: transitive
  88 + description:
  89 + name: leak_tracker_testing
  90 + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
  91 + url: "https://pub.flutter-io.cn"
  92 + source: hosted
  93 + version: "3.0.1"
  94 + lints:
  95 + dependency: transitive
  96 + description:
  97 + name: lints
  98 + sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
  99 + url: "https://pub.flutter-io.cn"
  100 + source: hosted
  101 + version: "3.0.0"
  102 + matcher:
  103 + dependency: transitive
  104 + description:
  105 + name: matcher
  106 + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
  107 + url: "https://pub.flutter-io.cn"
  108 + source: hosted
  109 + version: "0.12.16+1"
  110 + material_color_utilities:
  111 + dependency: transitive
  112 + description:
  113 + name: material_color_utilities
  114 + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
  115 + url: "https://pub.flutter-io.cn"
  116 + source: hosted
  117 + version: "0.8.0"
  118 + meta:
  119 + dependency: transitive
  120 + description:
  121 + name: meta
  122 + sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
  123 + url: "https://pub.flutter-io.cn"
  124 + source: hosted
  125 + version: "1.12.0"
  126 + path:
  127 + dependency: transitive
  128 + description:
  129 + name: path
  130 + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
  131 + url: "https://pub.flutter-io.cn"
  132 + source: hosted
  133 + version: "1.9.0"
  134 + plugin_platform_interface:
  135 + dependency: "direct main"
  136 + description:
  137 + name: plugin_platform_interface
  138 + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
  139 + url: "https://pub.flutter-io.cn"
  140 + source: hosted
  141 + version: "2.1.8"
  142 + sky_engine:
  143 + dependency: transitive
  144 + description: flutter
  145 + source: sdk
  146 + version: "0.0.99"
  147 + source_span:
  148 + dependency: transitive
  149 + description:
  150 + name: source_span
  151 + sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
  152 + url: "https://pub.flutter-io.cn"
  153 + source: hosted
  154 + version: "1.10.0"
  155 + stack_trace:
  156 + dependency: transitive
  157 + description:
  158 + name: stack_trace
  159 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
  160 + url: "https://pub.flutter-io.cn"
  161 + source: hosted
  162 + version: "1.11.1"
  163 + stream_channel:
  164 + dependency: transitive
  165 + description:
  166 + name: stream_channel
  167 + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
  168 + url: "https://pub.flutter-io.cn"
  169 + source: hosted
  170 + version: "2.1.2"
  171 + string_scanner:
  172 + dependency: transitive
  173 + description:
  174 + name: string_scanner
  175 + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
  176 + url: "https://pub.flutter-io.cn"
  177 + source: hosted
  178 + version: "1.2.0"
  179 + term_glyph:
  180 + dependency: transitive
  181 + description:
  182 + name: term_glyph
  183 + sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
  184 + url: "https://pub.flutter-io.cn"
  185 + source: hosted
  186 + version: "1.2.1"
  187 + test_api:
  188 + dependency: transitive
  189 + description:
  190 + name: test_api
  191 + sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
  192 + url: "https://pub.flutter-io.cn"
  193 + source: hosted
  194 + version: "0.7.0"
  195 + vector_math:
  196 + dependency: transitive
  197 + description:
  198 + name: vector_math
  199 + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
  200 + url: "https://pub.flutter-io.cn"
  201 + source: hosted
  202 + version: "2.1.4"
  203 + vm_service:
  204 + dependency: transitive
  205 + description:
  206 + name: vm_service
  207 + sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
  208 + url: "https://pub.flutter-io.cn"
  209 + source: hosted
  210 + version: "14.2.1"
  211 +sdks:
  212 + dart: ">=3.4.0 <4.0.0"
  213 + flutter: ">=3.18.0-18.0.pre.54"
  1 +{"name":"app_update_check_plugin","version":"1.0.0","description":"Please describe the basic information.","main":"index.ets","author":"","license":"Apache-2.0","dependencies":{"@ohos/flutter_ohos":""}}
  1 +{"name":"csp_amap_flutter_location","version":"1.0.0","description":"Please describe the basic information.","main":"index.ets","author":"","license":"Apache-2.0","dependencies":{"@ohos/flutter_ohos":"file:./har/flutter.har","@amap/amap_lbs_common":">=1.2.3","@amap/amap_lbs_location":">=1.2.2","@amap/amap_lbs_search":">=1.0.1"}}
  1 +{"name":"csp_amap_flutter_map","version":"1.0.0","description":"Please describe the basic information.","main":"index.ets","author":"","license":"Apache-2.0","dependencies":{"@ohos/flutter_ohos":"file:./har/flutter.har","@amap/amap_lbs_map3d":">=2.2.3","@amap/amap_lbs_common":">=1.2.2","@amap/amap_lbs_search":">=1.0.1"}}
  1 +{"name":"flutter_app_icon_badge","version":"1.0.0","description":"Flutter app icon badge plugin to change the badge on the icon of your app","main":"index.ets","author":"nutpi","license":"Apache-2.0","dependencies":{"@ohos/flutter_ohos":"file:./har/flutter.har"}}
  1 +{"name":"flutter_barcode_scanner_ohos","version":"1.0.0","description":"Please describe the basic information.","main":"index.ets","author":"","license":"Apache-2.0","dependencies":{"@ohos/flutter_ohos":"file:./har/flutter.har"}}
  1 +{"name":"flutter_document_picker","version":"1.0.0","description":"Please describe the basic information.","main":"Index.ets","author":"","license":"Apache-2.0","dependencies":{"@ohos/flutter_ohos":""}}
  1 +{"name":"flutter_udid","version":"1.0.0","description":"Please describe the basic information.","main":"Index.ets","author":"","license":"Apache-2.0","dependencies":{"@ohos/flutter_ohos":""}}
  1 +{"name":"permission_handler_ohos","version":"1.0.0","description":"Please describe the basic information.","main":"index.ets","author":"","license":"","dependencies":{"@ohos/flutter_ohos":"file:./har/flutter.har"}}
  1 +{"name":"save_file","version":"1.0.0","description":"Please describe the basic information.","main":"index.ets","author":"","license":"Apache-2.0","dependencies":{"@ohos/flutter_ohos":""}}
  1 +{"name":"tpns_flutter_plugin","version":"1.0.0","description":"Please describe the basic information.","main":"index.ets","author":"","license":"Apache-2.0","dependencies":{"tpns":"file:libs/tpns-1.0.5.har","@ohos/flutter_ohos":""},"devDependencies":{},"dynamicDependencies":{}}
  1 +{"name":"video_thumbnail","version":"1.0.0","description":"Please describe the basic information.","main":"index.ets","author":"","license":"Apache-2.0","dependencies":{"@ohos/flutter_ohos":"file:./har/flutter.har"}}
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
  1 +../../../library/app_update_check_plugin/ohos
  1 +../../../library/csp_amap_flutter_location-1.0.2/ohos
  1 +../../../library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad/ohos
  1 +../../../../../.pub-cache/git/flutter_app_icon_badge-87a21b24a2d160623c74ff705c01ae5e29be7d25/ohos
  1 +../../../library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos/ohos
  1 +../../../../../.pub-cache/git/fluttertpc_flutter_document_picker-ffd471d268656455a776e11d43ea86f8f500b9eb/ohos
  1 +../../../../../.pub-cache/git/fluttertpc_flutter_udid-6b4b0306efd2b981b38baaf3ae0c8a38048fc244/ohos
  1 +../../../../../.pub-cache/git/flutter_permission_handler-89666c740781ddf81498e55040e252a40dfdf926/permission_handler_ohos/ohos
  1 +../../../library/save_file/ohos
  1 +../../../library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435/ohos
  1 +../../../../../.pub-cache/git/fluttertpc_video_thumbnail-fcc799b3af65f1679ebf0582e5a402564a147a18/ohos
  1 +# Changelog
  2 +## [v1.0.0]
  3 +
  4 +2024-03-21
  5 +
  6 +### 变更
  7 +
  8 +基础库发布
  9 +
  10 +## [v1.0.1]
  11 +
  12 +2024-03-26
  13 +
  14 +### 变更
  15 +
  16 +混淆适配
  17 +
  18 +## [v1.0.2]
  19 +
  20 +2024-07-01
  21 +
  22 +### 变更
  23 +
  24 +混淆适配
  25 +
  26 +## [v1.0.3]
  27 +
  28 +2024-07-04
  29 +
  30 +### 变更
  31 +
  32 +修复崩溃问题
  33 +
  34 +## [v1.0.4]
  35 +
  36 +2024-08-23
  37 +
  38 +### 变更
  39 +
  40 +编译选项byteCodeHar=true
  41 +
  42 +## [v1.1.0]
  43 +
  44 +2024-09-18
  45 +
  46 +### 变更
  47 +
  48 +适配 DevEco Studio: NEXT Beta1-5.0.3.800, SDK: API12 Release(5.0.0.65)
  49 +
  50 +## [v1.2.0]
  51 +
  52 +2025-04-01
  53 +
  54 +### 变更
  55 +- **混淆开关不导出**
  56 +
  57 +
  58 +- **适配 DevEco Studio: NEXT 5.0.11.100, SDK: API16(5.0.4), 系统版本 5.0.0.150**
  59 +
  60 +## [v1.2.1]
  61 +
  62 +2025-08-30
  63 +
  64 +### 变更
  65 +- **修复已知问题**
  66 +
  67 +## [v1.2.2]
  68 +
  69 +2025-09-30
  70 +
  71 +### 变更
  72 +- **修复已知问题**
  73 +
  74 +## [v1.2.3]
  75 +
  76 +2025-11-15
  77 +
  78 +### 变更
  79 +- **修复已知问题**
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +export { o } from './src/main/ets/components/mainpage/MainPage';
  4 +export { NetManager } from './src/main/ets/com/amap/util/core/net/NetManager';
  5 +export { IRequest } from './src/main/ets/com/amap/util/core/net/IRequest';
  6 +export { IResponse } from './src/main/ets/com/amap/util/core/net/IResponse';
  7 +export { AMapResourceManager } from './src/main/ets/com/amap/util/core/AMapResourceManager';
  8 +export { LogUtil } from './src/main/ets/com/amap/util/core/utils/LogUtil';
  9 +export { SDKInfo } from './src/main/ets/com/amap/util/core/SDKInfo';
  10 +export { AMapCoreException } from './src/main/ets/com/amap/util/core/AMapCoreException';
  11 +export { TextUtils } from './src/main/ets/com/amap/util/core/TextUtils';
  12 +export { authManager } from './src/main/ets/com/amap/util/core/utils/auth/AuthManagerImpl';
  13 +export { IAuthResponse, IAMapCloudListener, IAuthManager } from './src/main/ets/com/amap/util/core/interface/IAuth';
  14 +export { AMapPrivacyShowStatus, AMapPrivacyInfoStatus, AMapPrivacyAgreeStatus, IPrivacy } from './src/main/ets/com/amap/util/core/interface/IPrivacy';
  15 +export { privacyImpl } from './src/main/ets/com/amap/util/core/utils/Privacy/PrivacyImpl';
  16 +export { KVUtil } from './src/main/ets/com/amap/util/core/utils/KVUtil';
  17 +export { PreferencesUtil } from './src/main/ets/com/amap/util/core/utils/PreferencesUtil';
  18 +export { RomIdentifier } from './src/main/ets/com/amap/util/core/rom/RomIdentifier';
  19 +export { AdiuManager } from './src/main/ets/com/amap/util/core/id/AdiuManager';
  20 +export { Base64Util } from './src/main/ets/com/amap/util/core/utils/Base64Util';
  21 +export { Utils } from './src/main/ets/com/amap/util/core/utils/Utils';
  22 +export { MD5 } from './src/main/ets/com/amap/util/core/utils/MD5';
  23 +export { boolValueWithAuthResponse } from './src/main/ets/com/amap/util/core/utils/AuthUtil';
  24 +export { SecurityUtil } from './src/main/ets/com/amap/util/core/utils/SecurityUtil';
  25 +export { AppInfo } from './src/main/ets/com/amap/util/core/utils/AppInfo';
  26 +export { PermissionUtil } from './src/main/ets/com/amap/util/core/utils/PermissionUtil';
  27 +export { cloudManager } from './src/main/ets/com/amap/util/core/utils/auth/CloudManager';
  28 +export { LocationOffsetUtils } from './src/main/ets/com/amap/util/core/utils/LocationOffsetUtils';
  29 +export { getRandomUUID } from './src/main/ets/com/amap/util/core/utils/SysUtils';
  30 +export { t } from './src/main/ets/com/amap/util/core/utils/TimeUtil';
  31 +export { XXTEA } from './src/main/ets/com/amap/util/core/utils/XXTEA';
  32 +export { DeviceInfo } from './src/main/ets/com/amap/util/core/DeviceInfo';
  33 +export { ClientInfo } from './src/main/ets/com/amap/util/core/utils/ClientInfo';
  34 +export { ThreadPool } from './src/main/ets/com/amap/util/core/threads/ThreadPool';
  1 +Copyright 2024 Amap
  2 +
  3 +Licensed under the Apache License, Version 2.0 (the "License");
  4 +you may not use this file except in compliance with the License.
  5 +You may obtain a copy of the License at
  6 +
  7 + http://www.apache.org/licenses/LICENSE-2.0
  8 +
  9 +Unless required by applicable law or agreed to in writing, software
  10 +distributed under the License is distributed on an "AS IS" BASIS,
  11 +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12 +See the License for the specific language governing permissions and
  13 +limitations under the License.
  1 +# 高德开放平台基础库
  2 +## 简介
  3 +高德开放平台基础库,为其他开放平台SDK提供基础能力
  4 +## 系统API要求
  5 +鸿蒙NEXT API11及以上stage模式的普通应用
  6 +## 快速开始
  7 +### 安装
  8 +```shell
  9 +ohpm install @amap/amap_lbs_common
  10 +```
  11 +### 使用
  12 +使用参考高德开放平台官网 https://lbs.amap.com/
  1 +-keep-global-name
  2 +AdiuManager
  3 +AMapCoreException
  4 +AMapPrivacyAgreeStatus
  5 +AMapPrivacyInfoStatus
  6 +AMapPrivacyShowStatus
  7 +AMapResourceManager
  8 +AppInfo
  9 +authManager
  10 +AuthManagerImpl
  11 +Base64Util
  12 +boolValueWithAuthResponse
  13 +ClientInfo
  14 +cloudManager
  15 +DeviceInfo
  16 +getRandomUUID
  17 +IAMapCloudListener
  18 +IAuthManager
  19 +IAuthResponse
  20 +IPrivacy
  21 +IRequest
  22 +IResponse
  23 +KVUtil
  24 +LocationOffsetUtils
  25 +LogUtil
  26 +MD5
  27 +NetManager
  28 +PermissionUtil
  29 +PreferencesUtil
  30 +privacyImpl
  31 +RomIdentifier
  32 +SDKInfo
  33 +SecurityUtil
  34 +TextUtils
  35 +ThreadPool
  36 +Utils
  37 +XXTEA
  38 +-keep-property-name
  39 +addTask
  40 +adiuRunner
  41 +AMapCoreException
  42 +checkPrivacyStatus
  43 +commonResponseResult
  44 +d
  45 +decodeBase642Uint8Array
  46 +DidAgree
  47 +DidContain
  48 +DidShow
  49 +e
  50 +encodeBase64Uint8ArrayToString
  51 +encryptedData
  52 +encryptUint8Array
  53 +fromSelfBase64
  54 +getAdiu
  55 +getADIU
  56 +getApiKey
  57 +getApplicationVersion
  58 +getCsid
  59 +getErrorMessage
  60 +getGsid
  61 +getInstance
  62 +getMd5StandardString
  63 +getMD5StringSync
  64 +getNetworkCode
  65 +getNetworkType
  66 +getPackageName
  67 +getRawfileContent
  68 +getScode
  69 +getSDKVersion
  70 +getStatusMessage
  71 +hasPerminssion
  72 +header
  73 +i
  74 +infocode
  75 +infoStr
  76 +ioNumbererrupted
  77 +IRequest
  78 +isGettingADIU
  79 +isLocalADIUExist
  80 +isPandoraBody
  81 +isREST
  82 +logVersion
  83 +mAdiu
  84 +makeRequestGet
  85 +makeRequestPost
  86 +mContext
  87 +mKey
  88 +needParseData
  89 +NotAgree
  90 +NotContain
  91 +NotShow
  92 +onCloudChanged
  93 +params
  94 +platform
  95 +platInfo
  96 +registerAuthWithComponent
  97 +registerWithComponent
  98 +requestAuthWithComponent
  99 +setAdiu
  100 +setApiKey
  101 +setCloudListener
  102 +setUpdateLog
  103 +stringToUint8Array
  104 +uint8ArrayToString
  105 +Unknown
  106 +updateADIUFromNet
  107 +updatePrivacyAgree
  108 +updatePrivacyShow
  109 +url
  110 +w
  111 +wgs84ToGcj02
  1 +{"license":"Apache-2.0","devDependencies":{},"author":"amap","name":"@amap/amap_lbs_common","description":"高德开放平台基础库,为开放平台其他SDK提供基础能力","version":"1.2.3","homepage":"https://lbs.amap.com/","keywords":["工具","高德","地图","定位","基础库"],"dependencies":{"@ohos/crypto-js":"2.0.4"},"types":"Index.d.ets","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"dependencyPkgVersion":{"@ohos/crypto-js":"2.0.4"},"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import HashMap from '@ohos.util.HashMap';
  4 +import ArrayList from '@ohos.util.ArrayList';
  5 +export declare class AMapCoreException extends Error {
  6 + static readonly f1: string;
  7 + static readonly g1: string;
  8 + static readonly h1: string;
  9 + static readonly i1: string;
  10 + static readonly j1: string;
  11 + static readonly l1: string;
  12 + static readonly m1: string;
  13 + static readonly n1: string;
  14 + static readonly o1: string;
  15 + static readonly q1: string;
  16 + static readonly s1: string;
  17 + static readonly t1: string;
  18 + static readonly u1: string;
  19 + static readonly v1: string;
  20 + static readonly w1: string;
  21 + static readonly z1: string;
  22 + static readonly a2: string;
  23 + static readonly b2: string;
  24 + static readonly c2: string;
  25 + static readonly NETWORK_TYPE_UNKNOWN: string;
  26 + static readonly d2: string;
  27 + static readonly e2: string;
  28 + static readonly f2: string;
  29 + static readonly g2: string;
  30 + static readonly h2: string;
  31 + static readonly i2: string;
  32 + static readonly j2: string;
  33 + static readonly l2: string;
  34 + static readonly m2: string;
  35 + static readonly n2: string;
  36 + static readonly o2: string;
  37 + static readonly q2: string;
  38 + static readonly s2: string;
  39 + static readonly t2: string;
  40 + static readonly u2: string;
  41 + static readonly v2: string;
  42 + static readonly w2: string;
  43 + static readonly z2: string;
  44 + static readonly a3: string;
  45 + static readonly b3: string;
  46 + static readonly c3: string;
  47 + static readonly ERROR_UNKNOWN: string;
  48 + static readonly d3: string;
  49 + static readonly e3: string;
  50 + static readonly f3: string;
  51 + static readonly g3: string;
  52 + static readonly h3: string;
  53 + static readonly i3: string;
  54 + static readonly j3: number;
  55 + static readonly l3: number;
  56 + static readonly m3: number;
  57 + static readonly n3: number;
  58 + static readonly q3: number;
  59 + static readonly r3: number;
  60 + static readonly s3: number;
  61 + static readonly t3: number;
  62 + static readonly u3: number;
  63 + static readonly v3: number;
  64 + static readonly w3: number;
  65 + static readonly x3: number;
  66 + static readonly y3: number;
  67 + static readonly z3: number;
  68 + static readonly a4: number;
  69 + static readonly b4: number;
  70 + static readonly c4: number;
  71 + static readonly d4: number;
  72 + static readonly e4: number;
  73 + static readonly f4: number;
  74 + static readonly g4: number;
  75 + static readonly h4: number;
  76 + private i4;
  77 + private j4;
  78 + private l4;
  79 + private m4;
  80 + private n4;
  81 + private o4;
  82 + private q4;
  83 + static readonly r4: number;
  84 + static readonly s4: number;
  85 + static readonly t4: number;
  86 + static readonly u4: number;
  87 + static readonly v4: number;
  88 + static readonly w4: number;
  89 + static readonly x4: number;
  90 + static readonly y4: number;
  91 + static readonly z4: number;
  92 + static readonly a5: number;
  93 + static readonly b5: number;
  94 + static readonly c5: number;
  95 + static readonly d5: number;
  96 + static readonly e5: number;
  97 + static readonly f5: number;
  98 + static readonly g5: number;
  99 + static readonly h5: number;
  100 + static readonly i5: number;
  101 + static readonly j5: number;
  102 + constructor(errorMessage: string);
  103 + constructor(errorMessage: string, d1: string, e1: string);
  104 + getErrorMessage(): string;
  105 + getNetworkCode(): string;
  106 + getNetworkType(): string;
  107 + getGsid(): string;
  108 + getCsid(): string;
  109 + m5(errorCode: number): void;
  110 + getErrorCode(): number;
  111 + n5(): number;
  112 + o5(errorCode: number): number;
  113 + private p5;
  114 + get ioNumbererrupted(): boolean;
  115 + set ioNumbererrupted(flag: boolean);
  116 + private k5;
  117 + private l5;
  118 + private statusMessage;
  119 + private q5;
  120 + getStatusMessage(): string;
  121 + r5(a1: string): void;
  122 + s5(): HashMap<string, ArrayList<string>>;
  123 + t5(u: HashMap<string, ArrayList<string>>): void;
  124 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +export declare class AMapResourceManager {
  4 + private context;
  5 + constructor(context: Context);
  6 + getRawfileContent(path: string): Uint8Array;
  7 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +export declare class DeviceInfo {
  4 + static c9(context: Context): string;
  5 + static d9(context: Context): string;
  6 + static e9(context: Context, b9: boolean): string;
  7 + static f9(context: Context): string;
  8 + static getADIU(context: Context): string;
  9 + static g9(context: Context): string;
  10 + static h9(context: Context): string;
  11 + static i9(context: Context): string;
  12 + static j9(context: Context): string;
  13 + static k9(context: Context): string;
  14 + static l9(context: Context): string;
  15 + static m9(context: Context): string;
  16 + static n9(context: Context): string[];
  17 + static o9(): string;
  18 + static p9(context: Context): string;
  19 + static getOAID(context: Context): string;
  20 + static q9(context: Context, divider: string | null, a9: boolean): string;
  21 + static r9(context: Context): string;
  22 + static s9(context: Context): string;
  23 + static t9(context: Context): string;
  24 + static u9(context: Context): string;
  25 + static v9(): string;
  26 + static w9(): string;
  27 + static platform(): string;
  28 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +export declare class SDKInfo {
  4 + private n17;
  5 + private o17;
  6 + private p17;
  7 + private q17;
  8 + private r17;
  9 + private s17;
  10 + constructor(version: string, k17: string, l17: string, m17: string, packages: string[]);
  11 + t17(): string;
  12 + getSDKVersion(): string;
  13 + u17(): string;
  14 + v17(): string;
  15 + w17(): string[];
  16 + setUpdateLog(j17: boolean): void;
  17 + x17(): boolean;
  18 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +export declare class TextUtils {
  4 + static isEmpty(text: string | undefined): boolean;
  5 + static equals(y17: string, z17: string): boolean;
  6 + /**
  7 + * 判断该字符串是否仅数字
  8 + * @param text
  9 + * @returns
  10 + */
  11 + static a18(text: string | undefined): Boolean;
  12 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import { IRequest } from '../net/IRequest';
  4 +import { w5 } from './INetDataProcess';
  5 +/**
  6 + * 网络请求阻断相关数据处理
  7 + */
  8 +export declare class x5 implements w5 {
  9 + y5(request: IRequest): IRequest;
  10 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import HashMap from '@ohos.util.HashMap';
  4 +import { IRequest } from '../net/IRequest';
  5 +import { w5 } from './INetDataProcess';
  6 +/**
  7 + * 网络请求域名交换相关数据处理
  8 + */
  9 +export declare class a6 implements w5 {
  10 + static y6?: HashMap<string, string>;
  11 + isREST?: boolean;
  12 + z6(request: IRequest): Promise<IRequest>;
  13 + a7(request: IRequest): void;
  14 + b7(j6: string, getParams: HashMap<string, string> | undefined): Promise<string>;
  15 + d7(getParams: HashMap<string, string>): Promise<void>;
  16 + e7(b6: HashMap<string, string> | undefined): string;
  17 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import { IRequest } from '../net/IRequest';
  4 +import { w5 } from './INetDataProcess';
  5 +/**
  6 + * 网络请求云控相关数据处理
  7 + */
  8 +export declare class g7 implements w5 {
  9 + private p7;
  10 + y5(request: IRequest): IRequest;
  11 + /**
  12 + * 检测业务请求header中是否携带云控相关信息
  13 + *
  14 + * @param 网络请求
  15 + * @return 处理后的请求
  16 + * @since 1.0.0
  17 + */
  18 + r7(request: IRequest): IRequest;
  19 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import { IRequest } from '../net/IRequest';
  4 +/**
  5 + * 网络请求相关数据处理接口
  6 + */
  7 +export interface w5 {
  8 + y5?(request: IRequest): IRequest;
  9 + z6?(request: IRequest): Promise<IRequest>;
  10 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import ArrayList from '@ohos.util.ArrayList';
  4 +import { IRequest } from '../net/IRequest';
  5 +import { w5 } from './INetDataProcess';
  6 +/**
  7 + * 网络请求XInfo相关数据处理
  8 + */
  9 +export declare class c8 implements w5 {
  10 + z6(request: IRequest): Promise<IRequest>;
  11 + t8(request: IRequest): Promise<IRequest>;
  12 + u8(request: IRequest): ArrayList<Uint8Array>;
  13 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import { f13 } from '../net/IRunner';
  4 +export interface x9 extends f13 {
  5 + b13(): string;
  6 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import { x9 } from './ADIURunner';
  4 +export declare class AdiuManager {
  5 + private mKey;
  6 + private mContext;
  7 + private static isGettingADIU;
  8 + private static isLocalADIUExist;
  9 + mAdiu: string;
  10 + private adiuRunner;
  11 + private static instance?;
  12 + constructor(context: Context);
  13 + static getInstance(context: Context): AdiuManager;
  14 + getAdiu(): Promise<string>;
  15 + /**
  16 + * 更新adiu
  17 + * @param context
  18 + * @param adiuRunner
  19 + * @returns
  20 + */
  21 + updateADIUFromNet(i10: x9): Promise<string>;
  22 + setAdiu(context: Context, h10: string): void;
  23 + private q10;
  24 + private w10;
  25 + private x10;
  26 + private r10;
  27 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import HashMap from '@ohos.util.HashMap';
  4 +import { x9 } from './ADIURunner';
  5 +import { IRequest } from '../net/IRequest';
  6 +export declare class e11 {
  7 + private static r12;
  8 + private static s12;
  9 + /**
  10 + * parse adiu data
  11 + * @param context
  12 + * @param result
  13 + * @returns
  14 + */
  15 + v10(context: Context, result: string): string;
  16 + /**
  17 + * 获取拼接的query string参数
  18 + * @returns
  19 + */
  20 + s10(): Promise<HashMap<string, string> | null>;
  21 + t12(f12: Uint8Array, data: Uint8Array): Uint8Array;
  22 + private u12;
  23 + private v12;
  24 + /**
  25 + * 获取请求body数据
  26 + * @param tid
  27 + * @param imei
  28 + * @param mac
  29 + * @param imsi
  30 + * @returns
  31 + */
  32 + t10(tid: string, m11: string, mac: string, n11: string): Promise<string>;
  33 + stringToUint8Array(str: string): Uint8Array;
  34 + b13(): string;
  35 +}
  36 +export declare class y9 implements x9 {
  37 + c13: e11;
  38 + b13(): string;
  39 + v10(context: Context, result: string | Object | ArrayBuffer | undefined): string;
  40 + s10(): Promise<HashMap<string, string> | null>;
  41 + u10(body: Uint8Array, i11: HashMap<string, string>): IRequest;
  42 + t10(tid: string, g11: string, mac: string, h11: string): Promise<string>;
  43 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +export declare class d13 {
  4 + code: number;
  5 + data: e13 | undefined;
  6 +}
  7 +export declare class e13 {
  8 + adiu: string;
  9 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +/**
  4 + * Adiu存储组件类
  5 + *
  6 + * @author dong.sun
  7 + * @see #syncGetAdiu()
  8 + * @see #syncSetAdiu(String, int)
  9 + */
  10 +import ArrayList from '@ohos.util.ArrayList';
  11 +export declare class g13 {
  12 + /**
  13 + * 内存缓存adius
  14 + */
  15 + private i13;
  16 + /**
  17 + * 存储adiu字段KEY名称
  18 + */
  19 + private mKey;
  20 + private readonly mContext;
  21 + /**
  22 + * 存储类型-Setting.System The caller is expected to have the {@link android.Manifest.permission#WRITE_SETTINGS}
  23 + * permission declared.
  24 + */
  25 + static readonly j13: number;
  26 + /**
  27 + * 存储类型—SD卡文件
  28 + */
  29 + static readonly k13: number;
  30 + /**
  31 + * 存储类型—SharedPreference
  32 + */
  33 + static readonly l13: number;
  34 + static readonly n13: string;
  35 + private static instance;
  36 + static getInstance(context: Context): g13;
  37 + private constructor();
  38 + /**
  39 + * 设置存储adiu值的key
  40 + *
  41 + * @param key 已经过MD5加密处理
  42 + */
  43 + o13(key: string | null): void;
  44 + p13(): ArrayList<string> | undefined;
  45 + setAdiu(h13: string): void;
  46 + /*****************************************存储组件获取*****************************************/
  47 + /**
  48 + * 同步从存储组件中获取adiu值
  49 + */
  50 + private q13;
  51 + /**
  52 + * 同步保存adiu值到存储组件
  53 + *
  54 + */
  55 + private r13;
  56 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import HashMap from '@ohos.util.HashMap';
  4 +import { SDKInfo } from '../SDKInfo';
  5 +export type s13 = (response: IAuthResponse) => void;
  6 +/**
  7 + * 高德SDK服务接口
  8 + */
  9 +export interface IAuthManager {
  10 + /**
  11 + * APIkey。设置key,需要在高德官网控制台绑定对应的bundleid。
  12 + */
  13 + c7: string;
  14 + /**
  15 + * 是否开启HTTPS,从1.3.3版本开始默认为YES。
  16 + */
  17 + t13: boolean;
  18 + /**
  19 + * 设备标识,内部生成。用于排查问题时提供。
  20 + */
  21 + identifier: string;
  22 + /**
  23 + * 云控请求
  24 + *
  25 + * @param sdkInfo SDK 信息
  26 + * @param authKeys 云控key
  27 + * @param context Context
  28 + * return IAuthResponse 云控请求结果
  29 + */
  30 + registerAuthWithComponent(sdkInfo: SDKInfo, authKeys: Array<string>, context: Context): Promise<IAuthResponse>;
  31 + /**
  32 + * 注册SDK,业务SDK如果冷启动后不调用registerAuthWithComponent方法,则需要调用此方法进行注册
  33 + *
  34 + * @param sdkInfo SDK 信息
  35 + * @param context Context
  36 + */
  37 + registerWithComponent(sdkInfo: SDKInfo, context: Context): void;
  38 +}
  39 +/**
  40 + * 云控请求返回结果
  41 + */
  42 +export interface IAuthResponse {
  43 + /**
  44 + * 是否已授权
  45 + */
  46 + status: boolean;
  47 + /**
  48 + * responseInfo
  49 + */
  50 + info: string;
  51 + /**
  52 + * infocode
  53 + */
  54 + infocode: string;
  55 + /**
  56 + * 返回值
  57 + */
  58 + result?: HashMap<string, Object>;
  59 +}
  60 +export interface IAMapCloudListener {
  61 + onCloudChanged: (location: IAuthResponse) => void;
  62 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import { SDKInfo } from '../SDKInfo';
  4 +export declare enum AMapPrivacyShowStatus {
  5 + Unknown = -1,
  6 + NotShow = 0,
  7 + DidShow = 1
  8 +}
  9 +/**
  10 + * 集成SDK隐私信息状态 -1: unknown , 0 : 未集成 , 1 : 已集成
  11 + */
  12 +export declare enum AMapPrivacyInfoStatus {
  13 + Unknown = -1,
  14 + NotContain = 0,
  15 + DidContain = 1
  16 +}
  17 +/**
  18 + * 用户同意隐私状态 -1: unknown , 0 : 未同意 , 1 : 已同意
  19 + */
  20 +export declare enum AMapPrivacyAgreeStatus {
  21 + Unknown = -1,
  22 + NotAgree = 0,
  23 + DidAgree = 1
  24 +}
  25 +export declare class u13 {
  26 + static readonly v13: number;
  27 + static readonly w13: number;
  28 + static readonly x13: number;
  29 + static readonly y13: number;
  30 + static readonly z13: number;
  31 + static readonly a14: number;
  32 + static readonly b14: number;
  33 + static readonly c14: number;
  34 + static readonly d14: string;
  35 + static readonly e14: string;
  36 + static readonly f14: string;
  37 + static readonly g14: string;
  38 + static readonly h14: string;
  39 + static readonly i14: string;
  40 + static readonly j14: string;
  41 + static readonly k14: string;
  42 +}
  43 +/**
  44 + * 隐私授权
  45 + */
  46 +export interface IPrivacy {
  47 + /**
  48 + * 更新显示隐私弹窗状态和包含高德SDK隐私协议内容状态。
  49 + *
  50 + * @param showStatus 隐私弹窗状态展示状态
  51 + * @param containStatus 包含高德SDK隐私协议内容状态
  52 + * @param sdkInfo sdk信息
  53 + * @since 1.0.0
  54 + */
  55 + updatePrivacyShow(showStatus: AMapPrivacyShowStatus, containStatus: AMapPrivacyInfoStatus, sdkInfo: SDKInfo, context: Context): void;
  56 + /**
  57 + * 更新用户同意高德SDK隐私协议状态
  58 + *
  59 + * @param agreeStatus 是否同意隐私政策协议
  60 + * @param sdkInfo sdk信息
  61 + * @since 1.0.0
  62 + */
  63 + updatePrivacyAgree(agreeStatus: AMapPrivacyAgreeStatus, sdkInfo: SDKInfo, context: Context): void;
  64 + /**
  65 + * 检查当前隐私相关状态是否满足隐私协议合规要求
  66 + *
  67 + * @param sdkInfo sdk信息
  68 + * @returns true: 已授权,false: 未授权
  69 + * @since 1.0.0
  70 + */
  71 + checkPrivacyStatus(sdkInfo: SDKInfo, context: Context): boolean;
  72 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import http from '@ohos.net.http';
  4 +import HashMap from '@ohos.util.HashMap';
  5 +export interface IRequest extends http.HttpRequestOptions {
  6 + url: string;
  7 + params?: HashMap<string, string>;
  8 + isREST?: boolean;
  9 + /**
  10 + * body是否使用Pandora,如果为true,encryptedData必须有值
  11 + */
  12 + isPandoraBody?: boolean;
  13 + /**
  14 + * 通常网络模块内部处理
  15 + */
  16 + infoStr?: string;
  17 + /**
  18 + * 日志版本
  19 + */
  20 + logVersion?: string;
  21 + /**
  22 + * 平台信息
  23 + */
  24 + platInfo?: string;
  25 + /**
  26 + * 待加密数据
  27 + */
  28 + encryptedData?: Uint8Array;
  29 + /**
  30 + * 是否需要解析数据,当前只能将response.result中的status、info、infocode解析出来,其他数据需要上层业务解析。
  31 + */
  32 + needParseData?: boolean;
  33 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import http from '@ohos.net.http';
  4 +export interface IResponse extends http.HttpResponse {
  5 + message?: string;
  6 + commonResponseResult?: l14;
  7 +}
  8 +export interface l14 {
  9 + status?: string;
  10 + info?: string;
  11 + infocode?: string;
  12 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import HashMap from '@ohos.util.HashMap';
  4 +import { IRequest } from './IRequest';
  5 +export interface f13 {
  6 + u10(body: Uint8Array, postParams: HashMap<string, string> | null): IRequest;
  7 + v10(context: Context, result: string | Object | ArrayBuffer | undefined): string;
  8 + s10(): Promise<HashMap<string, string> | null>;
  9 + t10(tid: string, imei: string, mac: string, imsi: string): Promise<string>;
  10 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +export default class n14 {
  4 + static readonly r14: string;
  5 + /**
  6 + * Http request success status code.
  7 + */
  8 + static readonly s14: number;
  9 + /**
  10 + * The animation delay time.
  11 + */
  12 + static readonly t14: number;
  13 + /**
  14 + * The delay time.
  15 + */
  16 + static readonly u14: number;
  17 + /**
  18 + * The animation duration.
  19 + */
  20 + static readonly v14: number;
  21 + /**
  22 + * The http timeout duration.
  23 + */
  24 + static readonly w14: number;
  25 + /**
  26 + * Content maxLine.
  27 + */
  28 + static readonly x14: number;
  29 + /**
  30 + * List space.
  31 + */
  32 + static readonly y14: number;
  33 + /**
  34 + * Item img space.
  35 + */
  36 + static readonly z14: number;
  37 + /**
  38 + * Type font weight.
  39 + */
  40 + static readonly a15: number;
  41 + /**
  42 + * Title font weight.
  43 + */
  44 + static readonly b15: number;
  45 + /**
  46 + * Desc font weight.
  47 + */
  48 + static readonly c15: number;
  49 + /**
  50 + * Type aspect ratio.
  51 + */
  52 + static readonly d15: number;
  53 + /**
  54 + * Desc opacity.
  55 + */
  56 + static readonly e15: number;
  57 +}
  58 +/**
  59 + * The RefreshConstant constants.
  60 + */
  61 +export declare const enum o14 {
  62 + DELAY_PULL_DOWN_REFRESH = 50,
  63 + CLOSE_PULL_DOWN_REFRESH_TIME = 150,
  64 + DELAY_SHRINK_ANIMATION_TIME = 500
  65 +}
  66 +/**
  67 + * The refresh state enum.
  68 + */
  69 +export declare const enum p14 {
  70 + DropDown = 0,
  71 + Release = 1,
  72 + Refreshing = 2,
  73 + Success = 3,
  74 + Fail = 4
  75 +}
  76 +/**
  77 + * The newsList state enum.
  78 + */
  79 +export declare const enum PageState {
  80 + Loading = 0,
  81 + Success = 1,
  82 + Fail = 2
  83 +}
  84 +/**
  85 + * The file upload state enum.
  86 + */
  87 +export declare const enum q14 {
  88 + COMPLETE = "complete",
  89 + FAIL = "fail"
  90 +}
  91 +/**
  92 + * The request method enum.
  93 + */
  94 +export declare const enum RequestMethod {
  95 + POST = "POST",
  96 + GET = "GET"
  97 +}
  98 +/**
  99 + * The request content type enum.
  100 + */
  101 +export declare const enum ContentType {
  102 + JSON = "application/json",
  103 + FORM = "multipart/form-data"
  104 +}
  1 +// @keepTs
  2 +// @ts-nocheck
  3 +import http from '@ohos.net.http';
  4 +import { a6 } from '../dataProcess/ChangeURLNetDataProcess';
  5 +import { g7 } from '../dataProcess/CloudControlNetDataProcess';
  6 +import { c8 } from '../dataProcess/PandoraNetDataProcess';
  7 +import { f15 } from '../respDataProcess/CloudControlRespNetDataProcess';
  8 +import { IRequest } from './IRequest';
  9 +import { l14, IResponse } from './IResponse';
  10 +export declare class NetManager {
  11 + q15: a6;
  12 + r15: g7;
  13 + s15: c8;
  14 + t15: f15;
  15 + private static instance?;
  16 + static getInstance(): NetManager;
  17 + makeRequestGet(request: IRequest, context: Context): Promise<IResponse>;
  18 + makeRequestPost(request: IRequest, context: Context): Promise<IResponse>;
  19 + v15(request: IRequest, context: Context): Promise<IResponse>;
  20 + u15(method: http.RequestMethod, request: IRequest, context: Context): Promise<IResponse>;
  21 + x15(response: IResponse): l14 | undefined;
  22 + private w15;
  23 +}