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 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Flutter-ReserveApp",
"request": "launch",
... ... @@ -23,6 +23,26 @@
"flutterMode": "release"
},
{
"name": "TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435",
"cwd": "library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435",
"request": "launch",
"type": "dart"
},
{
"name": "TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435 (profile mode)",
"cwd": "library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435 (release mode)",
"cwd": "library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "azlistview_plus-3.0.0",
"cwd": "library/azlistview_plus-3.0.0",
"request": "launch",
... ... @@ -63,6 +83,26 @@
"flutterMode": "release"
},
{
"name": "csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad",
"cwd": "library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad",
"request": "launch",
"type": "dart"
},
{
"name": "csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad (profile mode)",
"cwd": "library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad (release mode)",
"cwd": "library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "device_utils_my",
"cwd": "library/device_utils_my",
"request": "launch",
... ... @@ -83,6 +123,46 @@
"flutterMode": "release"
},
{
"name": "flutter_lunar_datetime_picker-1.0.6",
"cwd": "library/flutter_lunar_datetime_picker-1.0.6",
"request": "launch",
"type": "dart"
},
{
"name": "flutter_lunar_datetime_picker-1.0.6 (profile mode)",
"cwd": "library/flutter_lunar_datetime_picker-1.0.6",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "flutter_lunar_datetime_picker-1.0.6 (release mode)",
"cwd": "library/flutter_lunar_datetime_picker-1.0.6",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405",
"cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405",
"request": "launch",
"type": "dart"
},
{
"name": "fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405 (profile mode)",
"cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405 (release mode)",
"cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "sendsms-1.0.3",
"cwd": "library/sendsms-1.0.3",
"request": "launch",
... ... @@ -164,6 +244,166 @@
},
{
"name": "example",
"cwd": "library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435/example",
"request": "launch",
"type": "dart"
},
{
"name": "example (profile mode)",
"cwd": "library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435/example",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "example (release mode)",
"cwd": "library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435/example",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "example",
"cwd": "library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad/example",
"request": "launch",
"type": "dart"
},
{
"name": "example (profile mode)",
"cwd": "library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad/example",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "example (release mode)",
"cwd": "library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad/example",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "example",
"cwd": "library/flutter_lunar_datetime_picker-1.0.6/example",
"request": "launch",
"type": "dart"
},
{
"name": "example (profile mode)",
"cwd": "library/flutter_lunar_datetime_picker-1.0.6/example",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "example (release mode)",
"cwd": "library/flutter_lunar_datetime_picker-1.0.6/example",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "example",
"cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/example",
"request": "launch",
"type": "dart"
},
{
"name": "example (profile mode)",
"cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/example",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "example (release mode)",
"cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/example",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "ohos",
"cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos",
"request": "launch",
"type": "dart"
},
{
"name": "ohos (profile mode)",
"cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "ohos (release mode)",
"cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "image_cropper",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper",
"request": "launch",
"type": "dart"
},
{
"name": "image_cropper (profile mode)",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "image_cropper (release mode)",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "image_cropper_for_web",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_for_web",
"request": "launch",
"type": "dart"
},
{
"name": "image_cropper_for_web (profile mode)",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_for_web",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "image_cropper_for_web (release mode)",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_for_web",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "image_cropper_platform_interface",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_platform_interface",
"request": "launch",
"type": "dart"
},
{
"name": "image_cropper_platform_interface (profile mode)",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_platform_interface",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "image_cropper_platform_interface (release mode)",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_platform_interface",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "example",
"cwd": "library/table_calendar-3.1.3/example",
"request": "launch",
"type": "dart"
... ... @@ -201,6 +441,66 @@
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "example",
"cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos/example",
"request": "launch",
"type": "dart"
},
{
"name": "example (profile mode)",
"cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos/example",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "example (release mode)",
"cwd": "library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos/example",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "example",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper/example",
"request": "launch",
"type": "dart"
},
{
"name": "example (profile mode)",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper/example",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "example (release mode)",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper/example",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "example",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_for_web/example",
"request": "launch",
"type": "dart"
},
{
"name": "example (profile mode)",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_for_web/example",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "example (release mode)",
"cwd": "library/fluttertpc_image_cropper-65c2c99891882ea59732959a672f3d5993a837bb/image_cropper_for_web/example",
"request": "launch",
"type": "dart",
"flutterMode": "release"
}
]
}
\ No newline at end of file
... ...
import 'dart:convert';
import 'dart:ui';
... ... @@ -66,7 +65,7 @@ class _StoreCustomerHomeRightPageState
if (widget.customerProvider!.storeSunmodel == null) {
_getSellerGuestManage();
} else {
widget.customerProvider!.storeSunmodel!.sellerUser!.forEach((element) {
widget.customerProvider!.storeSunmodel!.sellerUser?.forEach((element) {
MessageMenuModel messageMenuModel = MessageMenuModel();
messageMenuModel.uid = element!.uid;
messageMenuModel.title = element.nickName ?? element.account;
... ... @@ -77,12 +76,16 @@ class _StoreCustomerHomeRightPageState
});
if (menuTitle.length > 0) {
menuTitle[0].select = true;
}
// _couponNetworkData();
_getGuestManageData(isShowLoading: true);
// _couponNetworkData();
_getGuestManageData(isShowLoading: true);
// _getMarketingByUid();
_getSellerCountsList();
// _getMarketingByUid();
_getSellerCountsList();
} else {
//页面数据为空
widget.customerProvider!.pageStateMyHome = PageState.Empty;
setState(() {});
}
}
});
bus.on("refresh_my_customer_home", (arg) {
... ... @@ -113,12 +116,16 @@ class _StoreCustomerHomeRightPageState
});
if (menuTitle.length > 0) {
menuTitle[0].select = true;
}
// _couponNetworkData();
_getGuestManageData(isShowLoading: true);
// _couponNetworkData();
_getGuestManageData(isShowLoading: true);
// _getMarketingByUid();
_getSellerCountsList();
// _getMarketingByUid();
_getSellerCountsList();
} else {
//没数据
widget.customerProvider!.pageStateMyHome = PageState.Empty;
setState(() {});
}
}
_getSellerCountsList({isShowLoading = false, VoidCallback? callback}) async {
... ... @@ -602,7 +609,7 @@ class _StoreCustomerHomeRightPageState
// _getMarketingByUid();
_getSellerCountsList();
},
emptyMsg: "暂时没有我的客情哦",
emptyMsg: "暂时没有分经理的客情哦",
emptyImg: "empty_search",
showMsg: "加载中,请稍候...",
));
... ... @@ -996,7 +1003,8 @@ class _StoreCustomerHomeRightPageState
padding: EdgeInsets.symmetric(horizontal: w(10)),
itemBuilder: (context, index) {
SellerCountsListSunModel countsListSunModel = widget
.customerProvider!.managerStatisticsList![index];
.customerProvider!
.managerStatisticsList![index];
return InkWell(
onTap: () {
String? uid = '';
... ...
... ... @@ -9,8 +9,9 @@ import 'package:call_log/call_log.dart';
import 'package:common_utils/common_utils.dart';
import 'package:connectivity_plus/connectivity_plus.dart';
// import 'package:contacts_service/contacts_service.dart';
// import 'package:connectivity_plus/connectivity_plus.dart';
import 'package:device_info/device_info.dart';
// import 'package:device_info_plus/device_info_plus.dart';
import 'package:dio/dio.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
... ... @@ -23,6 +24,7 @@ import 'package:fluwx/fluwx.dart';
import 'package:one_key/provider/my_model.dart';
import 'package:one_key/provider/user_model.dart';
import 'package:one_key/res/colors.dart';
// import 'package:one_key/utils/crop_image_utils.dart';
import 'package:one_key/utils/dialog_util.dart';
import 'package:one_key/utils/lunar_calendar.dart';
import 'package:one_key/utils/misc.dart';
... ... @@ -31,6 +33,8 @@ import 'package:one_key/utils/screen_util.dart';
import 'package:one_key/utils/wx_sdk.dart';
import 'package:one_key/widgets/loading.dart';
import 'package:package_info/package_info.dart';
// import 'package:package_info_plus/package_info_plus.dart';
import 'package:permission_handler/permission_handler.dart';
import 'package:provider/provider.dart';
import 'package:url_launcher/url_launcher.dart';
... ... @@ -39,7 +43,7 @@ import 'package:flutter_image_compress/flutter_image_compress.dart';
import 'package:image/image.dart' as IMG;
import 'dart:ui' as ui;
import 'package:permission_handler/permission_handler.dart';
import 'package:path_provider/path_provider.dart';
import 'package:image_cropper/image_cropper.dart';
import 'dart:math';
... ... @@ -55,12 +59,80 @@ import 'package:path/path.dart' as path; // 如果你也想获取文件扩展名
// import 'dart:typed_data';
// import 'dart:typed_data';
// import 'package:image/image.dart' as Img;
import 'package:path/path.dart' as p; // 导入path包
// import 'package:flutter_udid/flutter_udid.dart';
// import 'package:package_info/package_info.dart';
// import 'package:package_info_plus/package_info_plus.dart';
// import 'package:app_update_check_plugin/app_update_check_plugin.dart';
// import 'dart:io'; // 如果你处理的是文件系统中的文件
typedef BookTimeSetCallback = void Function(bool needChange);
class Utils {
// static Future<bool> checkUpdateOhos()async{
// // 鸿蒙商城是否有新版本
// final _appUpdateCheckPlugin = AppUpdateCheckPlugin();
// try {
// bool hasUpdate = await _appUpdateCheckPlugin.checkAppUpdate();
// if (hasUpdate) {
// //跳转应用商城
// return true;
// } else {
// return false;
// }
// } on PlatformException {
// return false;
// // platformVersion = 'Failed to get platform version.';
// }
// }
// 跳转到华为应用商城更新的方法
// static void launchAppGallery() async{
// final appid =Constant.ohos_app_id; //可以是应用id、也可以是鸿蒙应用包名
// // final url='store://appgallery.huawei.com/app/detail?id=$appid';
// final url= 'store://appgallery.huawei.com/app/detail?id=com.jd.hm.mall&channelId=LAUNCHERSHARE';
// try{
// await launchUrl(Uri.parse(url));
// print('打开成功');
// }catch(err){
// print('打开失败');
// }
// }
static String extractFileNameFromUrl(String url) {
try {
Uri uri = Uri.parse(url);
return p.basename(uri.path); // 使用basename函数提取文件名
} catch (e) {
print("Error parsing URL: $e");
return ""; // 或者返回null或抛出异常,根据你的需求处理错误情况
}
}
static String? getMimeType(String filePath) {
return lookupMimeType(filePath); // 使用文件扩展名查找,或者传入文件头字节查找更准确的结果
}
... ... @@ -1226,7 +1298,7 @@ class Utils {
* @return
*/
static String getPicSuffix(String img_path) {
if (img_path == null || img_path.indexOf(".") == -1) {
if (img_path.indexOf(".") == -1) {
return ""; //如果图片地址为null或者地址中没有"."就返回""
}
return img_path
... ... @@ -1291,7 +1363,7 @@ class Utils {
static getPickPermission(BuildContext context, VoidCallback callback,
Permission permissionGroup) async {
if (!(await checkPermission(permissionGroup))) {
String title = Platform.isAndroid ? '存储' : '相册';
String title = Platform.isAndroid ? '存储' : Platform.isIOS ? '相册':'图片和视频';
if (permissionGroup == Permission.camera) {
title = '相机';
} else if (permissionGroup == Permission.location) {
... ... @@ -1731,7 +1803,7 @@ class Utils {
NavigatorUtil.goWebviewPage(context);
}
//获取应用版本昊
//获取应用版本h号
static getCurrVersion() async {
PackageInfo packageInfo = await PackageInfo.fromPlatform();
String version = packageInfo.version;
... ... @@ -1745,6 +1817,45 @@ class Utils {
}
//获取唯一标识
// static Future<String> getUUID() async {
// DeviceInfoPlugin deviceInfoPlugin = DeviceInfoPlugin();
// if (Platform.isAndroid) {
// AndroidDeviceInfo androidDeviceInfo = await deviceInfoPlugin.androidInfo;
// return androidDeviceInfo.androidId;
// } else if (Platform.isIOS) {
// IosDeviceInfo iosDeviceInfo = await deviceInfoPlugin.iosInfo;
// return iosDeviceInfo.identifierForVendor;
// } else if (Platform.isOhos) {
// String udid;
// try {
// udid = await FlutterUdid.udid;
// } on PlatformException {
// udid = 'Failed to get UDID.';
// }
// return udid;
// }
// return '';
// }
//获取唯一标识
// //获取唯一标识
// static Future<String?> getUUID() async {
// DeviceInfoPlugin deviceInfoPlugin = DeviceInfoPlugin();
// if (Platform.isAndroid) {
// AndroidDeviceInfo androidDeviceInfo = await deviceInfoPlugin.androidInfo;
// return androidDeviceInfo.serialNumber;
// } else if (Platform.isIOS) {
// IosDeviceInfo iosDeviceInfo = await deviceInfoPlugin.iosInfo;
// return iosDeviceInfo.identifierForVendor;
// } else {
// OhosDeviceInfo ohosDeviceInfo = await deviceInfoPlugin.ohosInfo;
// return ohosDeviceInfo.udid;
// }
// }
//获取唯一标识
static Future<String> getUUID() async {
DeviceInfoPlugin deviceInfoPlugin = DeviceInfoPlugin();
if (Platform.isAndroid) {
... ... @@ -3607,14 +3718,29 @@ class Utils {
} else if (connectivityResult == ConnectivityResult.wifi) {
// I am connected to a wifi network.
return true;
} else if (connectivityResult == ConnectivityResult.ethernet) {
return true;
}
return false;
}
//检查网络连接
// static Future<bool> checkConnectiviy() async {
// List<ConnectivityResult> connectivityResult= await (new Connectivity().checkConnectivity());
// if(connectivityResult.length >0){
// if (connectivityResult[0] == ConnectivityResult.mobile) {
// // I am connected to a mobile network.
// return true;
// } else if (connectivityResult[0] == ConnectivityResult.wifi) {
// // I am connected to a wifi network.
// return true;
// }
// }
// return false;
// }
static String? listToString(List<String?> list) {
if (list == null) {
return null;
}
String? result;
list.forEach((string) {
if (result == null) {
... ... @@ -3627,9 +3753,6 @@ class Utils {
}
static String listToStringEnglish1(List<dynamic> list) {
if (list == null) {
return '';
}
String? result;
list.forEach((string) {
if (result == null) {
... ... @@ -3657,9 +3780,6 @@ class Utils {
}
static String listToStringEnglish(List<String?> list) {
if (list == null) {
return '';
}
String? result;
list.forEach((string) {
if (result == null) {
... ...
Subproject commit a5349371525462b1d1b6cfa4cf4d2a59503f1435
... ...
package io.flutter.plugins;
import androidx.annotation.Keep;
import androidx.annotation.NonNull;
import io.flutter.Log;
import io.flutter.embedding.engine.FlutterEngine;
/**
* Generated file. Do not edit.
* This file is generated by the Flutter tool based on the
* plugins that support the Android platform.
*/
@Keep
public final class GeneratedPluginRegistrant {
private static final String TAG = "GeneratedPluginRegistrant";
public static void registerWith(@NonNull FlutterEngine flutterEngine) {
try {
flutterEngine.getPlugins().add(new com.example.app_update_check_plugin.AppUpdateCheckPlugin());
} catch (Exception e) {
Log.e(TAG, "Error registering plugin app_update_check_plugin, com.example.app_update_check_plugin.AppUpdateCheckPlugin", e);
}
try {
flutterEngine.getPlugins().add(new dev.flutter.plugins.integration_test.IntegrationTestPlugin());
} catch (Exception e) {
Log.e(TAG, "Error registering plugin integration_test, dev.flutter.plugins.integration_test.IntegrationTestPlugin", e);
}
}
}
... ...
sdk.dir=/Users/wangdongni/Library/Android/sdk
flutter.sdk=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev
\ No newline at end of file
... ...
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev
FLUTTER_APPLICATION_PATH=/Users/wangdongni/Desktop/Flutter-ReserveApp/library/app_update_check_plugin/example
COCOAPODS_PARALLEL_CODE_SIGN=true
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386
EXCLUDED_ARCHS[sdk=iphoneos*]=armv7
DART_OBFUSCATION=false
TRACK_WIDGET_CREATION=true
TREE_SHAKE_ICONS=false
PACKAGE_CONFIG=.dart_tool/package_config.json
... ...
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev"
export "FLUTTER_APPLICATION_PATH=/Users/wangdongni/Desktop/Flutter-ReserveApp/library/app_update_check_plugin/example"
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "FLUTTER_BUILD_NAME=1.0.0"
export "FLUTTER_BUILD_NUMBER=1"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=true"
export "TREE_SHAKE_ICONS=false"
export "PACKAGE_CONFIG=.dart_tool/package_config.json"
... ...
//
// Generated file. Do not edit.
//
// clang-format off
#ifndef GeneratedPluginRegistrant_h
#define GeneratedPluginRegistrant_h
#import <Flutter/Flutter.h>
NS_ASSUME_NONNULL_BEGIN
@interface GeneratedPluginRegistrant : NSObject
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry;
@end
NS_ASSUME_NONNULL_END
#endif /* GeneratedPluginRegistrant_h */
... ...
//
// Generated file. Do not edit.
//
// clang-format off
#import "GeneratedPluginRegistrant.h"
#if __has_include(<app_update_check_plugin/AppUpdateCheckPlugin.h>)
#import <app_update_check_plugin/AppUpdateCheckPlugin.h>
#else
@import app_update_check_plugin;
#endif
#if __has_include(<integration_test/IntegrationTestPlugin.h>)
#import <integration_test/IntegrationTestPlugin.h>
#else
@import integration_test;
#endif
@implementation GeneratedPluginRegistrant
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {
[AppUpdateCheckPlugin registerWithRegistrar:[registry registrarForPlugin:@"AppUpdateCheckPlugin"]];
[IntegrationTestPlugin registerWithRegistrar:[registry registrarForPlugin:@"IntegrationTestPlugin"]];
}
@end
... ...
import { FlutterEngine, Log } from '@ohos/flutter_ohos';
import AppUpdateCheckPlugin from 'app_update_check_plugin';
import IntegrationTestPlugin from 'integration_test';
/**
* Generated file. Do not edit.
* This file is generated by the Flutter tool based on the
* plugins that support the Ohos platform.
*/
const TAG = "GeneratedPluginRegistrant";
export class GeneratedPluginRegistrant {
static registerWith(flutterEngine: FlutterEngine) {
try {
flutterEngine.getPlugins()?.add(new AppUpdateCheckPlugin());
flutterEngine.getPlugins()?.add(new IntegrationTestPlugin());
} catch (e) {
Log.e(
TAG,
"Tried to register plugins with FlutterEngine ("
+ flutterEngine
+ ") failed.");
Log.e(TAG, "Received exception while registering", e);
}
}
}
... ...
hwsdk.dir=/Applications/DevEco-Studio.app/Contents/sdk
flutter.sdk=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev
\ No newline at end of file
... ...
{
"name": "ohos",
"lockfileVersion": 3,
"requires": true,
"packages": {
"../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor": {
"version": "1.0.0",
"license": "ISC",
"devDependencies": {
"@ohos/hvigor": "5.2.2"
}
},
"node_modules/flutter-hvigor-plugin": {
"resolved": "../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor",
"link": true
}
}
}
... ...
../../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor
\ No newline at end of file
... ...
{
"name": "ohos",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"dependencies": {
"flutter-hvigor-plugin": "file:/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor"
}
},
"../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor": {
"version": "1.0.0",
"license": "ISC",
"devDependencies": {
"@ohos/hvigor": "5.2.2"
}
},
"node_modules/flutter-hvigor-plugin": {
"resolved": "../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor",
"link": true
}
}
}
... ...
{
"dependencies": {
"flutter-hvigor-plugin": "file:/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor"
}
}
\ No newline at end of file
... ...
{
"meta": {
"stableOrder": true,
"enableUnifiedLockfile": false
},
"lockfileVersion": 3,
"ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.",
"specifiers": {
"@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"
},
"packages": {
"@ohos/flutter_ohos@../../../../../fvm/versions/custom_oh_3.27.4-dev/bin/cache/artifacts/engine/ohos-arm64/flutter.har": {
"name": "@ohos/flutter_ohos",
"version": "1.0.0-2317265cd5",
"resolved": "../../../../../fvm/versions/custom_oh_3.27.4-dev/bin/cache/artifacts/engine/ohos-arm64/flutter.har",
"registryType": "local"
}
}
}
\ No newline at end of file
... ...
../../../../../ohos/oh_modules/.ohpm/@ohos+flutter_ohos@z+esrfzju6x1o3bcfuku8xtvaawms8gp1tiq996zf1o=/oh_modules/@ohos/flutter_ohos
\ No newline at end of file
... ...
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
async:
dependency: transitive
description:
name: async
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.11.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.1"
characters:
dependency: transitive
description:
name: characters
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.3.0"
clock:
dependency: transitive
description:
name: clock
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.1"
collection:
dependency: transitive
description:
name: collection
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.18.0"
fake_async:
dependency: transitive
description:
name: fake_async
sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.3.1"
flutter:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
flutter_lints:
dependency: "direct dev"
description:
name: flutter_lints
sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.2"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
leak_tracker:
dependency: transitive
description:
name: leak_tracker
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
url: "https://pub.flutter-io.cn"
source: hosted
version: "10.0.4"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.3"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.1"
lints:
dependency: transitive
description:
name: lints
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.0"
matcher:
dependency: transitive
description:
name: matcher
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.12.16+1"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.8.0"
meta:
dependency: transitive
description:
name: meta
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.12.0"
path:
dependency: transitive
description:
name: path
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.9.0"
plugin_platform_interface:
dependency: "direct main"
description:
name: plugin_platform_interface
sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.8"
sky_engine:
dependency: transitive
description: flutter
source: sdk
version: "0.0.99"
source_span:
dependency: transitive
description:
name: source_span
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.10.0"
stack_trace:
dependency: transitive
description:
name: stack_trace
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.2"
string_scanner:
dependency: transitive
description:
name: string_scanner
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.0"
term_glyph:
dependency: transitive
description:
name: term_glyph
sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.1"
test_api:
dependency: transitive
description:
name: test_api
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.7.0"
vector_math:
dependency: transitive
description:
name: vector_math
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.4"
vm_service:
dependency: transitive
description:
name: vm_service
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
url: "https://pub.flutter-io.cn"
source: hosted
version: "14.2.1"
sdks:
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.18.0-18.0.pre.54"
... ...
Subproject commit 10106fa7e336393b5af648e3441d9a19d0ad7bad
... ...
package io.flutter.plugins;
import androidx.annotation.Keep;
import androidx.annotation.NonNull;
import io.flutter.Log;
import io.flutter.embedding.engine.FlutterEngine;
/**
* Generated file. Do not edit.
* This file is generated by the Flutter tool based on the
* plugins that support the Android platform.
*/
@Keep
public final class GeneratedPluginRegistrant {
private static final String TAG = "GeneratedPluginRegistrant";
public static void registerWith(@NonNull FlutterEngine flutterEngine) {
try {
flutterEngine.getPlugins().add(new com.example.file_document_saver.FileDocumentSaverPlugin());
} catch (Exception e) {
Log.e(TAG, "Error registering plugin file_document_saver, com.example.file_document_saver.FileDocumentSaverPlugin", e);
}
try {
flutterEngine.getPlugins().add(new dev.flutter.plugins.integration_test.IntegrationTestPlugin());
} catch (Exception e) {
Log.e(TAG, "Error registering plugin integration_test, dev.flutter.plugins.integration_test.IntegrationTestPlugin", e);
}
}
}
... ...
sdk.dir=/Users/wangdongni/Library/Android/sdk
flutter.sdk=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev
\ No newline at end of file
... ...
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev
FLUTTER_APPLICATION_PATH=/Users/wangdongni/Desktop/Flutter-ReserveApp/library/file_document_saver/example
COCOAPODS_PARALLEL_CODE_SIGN=true
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386
EXCLUDED_ARCHS[sdk=iphoneos*]=armv7
DART_OBFUSCATION=false
TRACK_WIDGET_CREATION=true
TREE_SHAKE_ICONS=false
PACKAGE_CONFIG=.dart_tool/package_config.json
... ...
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev"
export "FLUTTER_APPLICATION_PATH=/Users/wangdongni/Desktop/Flutter-ReserveApp/library/file_document_saver/example"
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "FLUTTER_BUILD_NAME=1.0.0"
export "FLUTTER_BUILD_NUMBER=1"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=true"
export "TREE_SHAKE_ICONS=false"
export "PACKAGE_CONFIG=.dart_tool/package_config.json"
... ...
//
// Generated file. Do not edit.
//
// clang-format off
#ifndef GeneratedPluginRegistrant_h
#define GeneratedPluginRegistrant_h
#import <Flutter/Flutter.h>
NS_ASSUME_NONNULL_BEGIN
@interface GeneratedPluginRegistrant : NSObject
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry;
@end
NS_ASSUME_NONNULL_END
#endif /* GeneratedPluginRegistrant_h */
... ...
//
// Generated file. Do not edit.
//
// clang-format off
#import "GeneratedPluginRegistrant.h"
#if __has_include(<file_document_saver/FileDocumentSaverPlugin.h>)
#import <file_document_saver/FileDocumentSaverPlugin.h>
#else
@import file_document_saver;
#endif
#if __has_include(<integration_test/IntegrationTestPlugin.h>)
#import <integration_test/IntegrationTestPlugin.h>
#else
@import integration_test;
#endif
@implementation GeneratedPluginRegistrant
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {
[FileDocumentSaverPlugin registerWithRegistrar:[registry registrarForPlugin:@"FileDocumentSaverPlugin"]];
[IntegrationTestPlugin registerWithRegistrar:[registry registrarForPlugin:@"IntegrationTestPlugin"]];
}
@end
... ...
import { FlutterEngine, Log } from '@ohos/flutter_ohos';
import FileDocumentSaverPlugin from 'file_document_saver';
import IntegrationTestPlugin from 'integration_test';
/**
* Generated file. Do not edit.
* This file is generated by the Flutter tool based on the
* plugins that support the Ohos platform.
*/
const TAG = "GeneratedPluginRegistrant";
export class GeneratedPluginRegistrant {
static registerWith(flutterEngine: FlutterEngine) {
try {
flutterEngine.getPlugins()?.add(new FileDocumentSaverPlugin());
flutterEngine.getPlugins()?.add(new IntegrationTestPlugin());
} catch (e) {
Log.e(
TAG,
"Tried to register plugins with FlutterEngine ("
+ flutterEngine
+ ") failed.");
Log.e(TAG, "Received exception while registering", e);
}
}
}
... ...
hwsdk.dir=/Applications/DevEco-Studio.app/Contents/sdk
flutter.sdk=/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev
\ No newline at end of file
... ...
{
"name": "ohos",
"lockfileVersion": 3,
"requires": true,
"packages": {
"../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor": {
"name": "flutter-hvigor-plugin",
"version": "1.0.0",
"license": "ISC",
"devDependencies": {
"@ohos/hvigor": "5.2.2"
}
},
"node_modules/flutter-hvigor-plugin": {
"resolved": "../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor",
"link": true
}
}
}
... ...
../../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor
\ No newline at end of file
... ...
{
"name": "ohos",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"dependencies": {
"flutter-hvigor-plugin": "file:/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor"
}
},
"../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor": {
"name": "flutter-hvigor-plugin",
"version": "1.0.0",
"license": "ISC",
"devDependencies": {
"@ohos/hvigor": "5.2.2"
}
},
"node_modules/flutter-hvigor-plugin": {
"resolved": "../../../../../../fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor",
"link": true
}
}
}
... ...
{
"dependencies": {
"flutter-hvigor-plugin": "file:/Users/wangdongni/fvm/versions/custom_oh_3.27.4-dev/packages/flutter_tools/hvigor"
}
}
\ No newline at end of file
... ...
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
async:
dependency: transitive
description:
name: async
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.11.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.1"
characters:
dependency: transitive
description:
name: characters
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.3.0"
clock:
dependency: transitive
description:
name: clock
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.1"
collection:
dependency: transitive
description:
name: collection
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.18.0"
fake_async:
dependency: transitive
description:
name: fake_async
sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.3.1"
flutter:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
flutter_lints:
dependency: "direct dev"
description:
name: flutter_lints
sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.2"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
leak_tracker:
dependency: transitive
description:
name: leak_tracker
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
url: "https://pub.flutter-io.cn"
source: hosted
version: "10.0.4"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.3"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.1"
lints:
dependency: transitive
description:
name: lints
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.0"
matcher:
dependency: transitive
description:
name: matcher
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.12.16+1"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.8.0"
meta:
dependency: transitive
description:
name: meta
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.12.0"
path:
dependency: transitive
description:
name: path
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.9.0"
plugin_platform_interface:
dependency: "direct main"
description:
name: plugin_platform_interface
sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.8"
sky_engine:
dependency: transitive
description: flutter
source: sdk
version: "0.0.99"
source_span:
dependency: transitive
description:
name: source_span
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.10.0"
stack_trace:
dependency: transitive
description:
name: stack_trace
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.2"
string_scanner:
dependency: transitive
description:
name: string_scanner
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.0"
term_glyph:
dependency: transitive
description:
name: term_glyph
sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.1"
test_api:
dependency: transitive
description:
name: test_api
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.7.0"
vector_math:
dependency: transitive
description:
name: vector_math
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.4"
vm_service:
dependency: transitive
description:
name: vm_service
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
url: "https://pub.flutter-io.cn"
source: hosted
version: "14.2.1"
sdks:
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.18.0-18.0.pre.54"
... ...
Subproject commit af5d0e6d2bc53977f979c4f2b852f46274dc8405
... ...
Subproject commit 65c2c99891882ea59732959a672f3d5993a837bb
... ...
{
"meta": {
"stableOrder": true,
"enableUnifiedLockfile": false
},
"lockfileVersion": 3,
"ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.",
"specifiers": {
"@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"
},
"packages": {
"@ohos/flutter_ohos@../../../../../fvm/versions/custom_oh_3.27.4-dev/bin/cache/artifacts/engine/ohos-arm64/flutter.har": {
"name": "@ohos/flutter_ohos",
"version": "1.0.0-2317265cd5",
"resolved": "../../../../../fvm/versions/custom_oh_3.27.4-dev/bin/cache/artifacts/engine/ohos-arm64/flutter.har",
"registryType": "local"
}
}
}
\ No newline at end of file
... ...
../../../../../ohos/oh_modules/.ohpm/@ohos+flutter_ohos@z+esrfzju6x1o3bcfuku8xtvaawms8gp1tiq996zf1o=/oh_modules/@ohos/flutter_ohos
\ No newline at end of file
... ...
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
async:
dependency: transitive
description:
name: async
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.11.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.1"
characters:
dependency: transitive
description:
name: characters
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.3.0"
clock:
dependency: transitive
description:
name: clock
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.1"
collection:
dependency: transitive
description:
name: collection
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.18.0"
fake_async:
dependency: transitive
description:
name: fake_async
sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.3.1"
flutter:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
flutter_lints:
dependency: "direct dev"
description:
name: flutter_lints
sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.2"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
leak_tracker:
dependency: transitive
description:
name: leak_tracker
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
url: "https://pub.flutter-io.cn"
source: hosted
version: "10.0.4"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.3"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.1"
lints:
dependency: transitive
description:
name: lints
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.0"
matcher:
dependency: transitive
description:
name: matcher
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.12.16+1"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.8.0"
meta:
dependency: transitive
description:
name: meta
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.12.0"
path:
dependency: transitive
description:
name: path
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.9.0"
plugin_platform_interface:
dependency: "direct main"
description:
name: plugin_platform_interface
sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.8"
sky_engine:
dependency: transitive
description: flutter
source: sdk
version: "0.0.99"
source_span:
dependency: transitive
description:
name: source_span
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.10.0"
stack_trace:
dependency: transitive
description:
name: stack_trace
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.2"
string_scanner:
dependency: transitive
description:
name: string_scanner
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.0"
term_glyph:
dependency: transitive
description:
name: term_glyph
sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.1"
test_api:
dependency: transitive
description:
name: test_api
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.7.0"
vector_math:
dependency: transitive
description:
name: vector_math
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.4"
vm_service:
dependency: transitive
description:
name: vm_service
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
url: "https://pub.flutter-io.cn"
source: hosted
version: "14.2.1"
sdks:
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.18.0-18.0.pre.54"
... ...
{"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":""}}
\ No newline at end of file
... ...
{"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"}}
\ No newline at end of file
... ...
{"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"}}
\ No newline at end of file
... ...
{"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"}}
\ No newline at end of file
... ...
{"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"}}
\ No newline at end of file
... ...
{"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":""}}
\ No newline at end of file
... ...
{"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":""}}
\ No newline at end of file
... ...
{"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"}}
\ No newline at end of file
... ...
{"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":""}}
\ No newline at end of file
... ...
{"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":{}}
\ No newline at end of file
... ...
{"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"}}
\ No newline at end of file
... ...
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.
../../../library/app_update_check_plugin/ohos
\ No newline at end of file
... ...
../../../library/csp_amap_flutter_location-1.0.2/ohos
\ No newline at end of file
... ...
../../../library/csp_amap_flutter_map-10106fa7e336393b5af648e3441d9a19d0ad7bad/ohos
\ No newline at end of file
... ...
../../../../../.pub-cache/git/flutter_app_icon_badge-87a21b24a2d160623c74ff705c01ae5e29be7d25/ohos
\ No newline at end of file
... ...
../../../library/fluttertpc_flutter_barcode_scanner-af5d0e6d2bc53977f979c4f2b852f46274dc8405/ohos/ohos
\ No newline at end of file
... ...
../../../../../.pub-cache/git/fluttertpc_flutter_document_picker-ffd471d268656455a776e11d43ea86f8f500b9eb/ohos
\ No newline at end of file
... ...
../../../../../.pub-cache/git/fluttertpc_flutter_udid-6b4b0306efd2b981b38baaf3ae0c8a38048fc244/ohos
\ No newline at end of file
... ...
../../../../../.pub-cache/git/flutter_permission_handler-89666c740781ddf81498e55040e252a40dfdf926/permission_handler_ohos/ohos
\ No newline at end of file
... ...
../../../library/save_file/ohos
\ No newline at end of file
... ...
../../../library/TPNS-Flutter-Plugin-a5349371525462b1d1b6cfa4cf4d2a59503f1435/ohos
\ No newline at end of file
... ...
../../../../../.pub-cache/git/fluttertpc_video_thumbnail-fcc799b3af65f1679ebf0582e5a402564a147a18/ohos
\ No newline at end of file
... ...
# Changelog
## [v1.0.0]
2024-03-21
### 变更
基础库发布
## [v1.0.1]
2024-03-26
### 变更
混淆适配
## [v1.0.2]
2024-07-01
### 变更
混淆适配
## [v1.0.3]
2024-07-04
### 变更
修复崩溃问题
## [v1.0.4]
2024-08-23
### 变更
编译选项byteCodeHar=true
## [v1.1.0]
2024-09-18
### 变更
适配 DevEco Studio: NEXT Beta1-5.0.3.800, SDK: API12 Release(5.0.0.65)
## [v1.2.0]
2025-04-01
### 变更
- **混淆开关不导出**
- **适配 DevEco Studio: NEXT 5.0.11.100, SDK: API16(5.0.4), 系统版本 5.0.0.150**
## [v1.2.1]
2025-08-30
### 变更
- **修复已知问题**
## [v1.2.2]
2025-09-30
### 变更
- **修复已知问题**
## [v1.2.3]
2025-11-15
### 变更
- **修复已知问题**
\ No newline at end of file
... ...
// @keepTs
// @ts-nocheck
export { o } from './src/main/ets/components/mainpage/MainPage';
export { NetManager } from './src/main/ets/com/amap/util/core/net/NetManager';
export { IRequest } from './src/main/ets/com/amap/util/core/net/IRequest';
export { IResponse } from './src/main/ets/com/amap/util/core/net/IResponse';
export { AMapResourceManager } from './src/main/ets/com/amap/util/core/AMapResourceManager';
export { LogUtil } from './src/main/ets/com/amap/util/core/utils/LogUtil';
export { SDKInfo } from './src/main/ets/com/amap/util/core/SDKInfo';
export { AMapCoreException } from './src/main/ets/com/amap/util/core/AMapCoreException';
export { TextUtils } from './src/main/ets/com/amap/util/core/TextUtils';
export { authManager } from './src/main/ets/com/amap/util/core/utils/auth/AuthManagerImpl';
export { IAuthResponse, IAMapCloudListener, IAuthManager } from './src/main/ets/com/amap/util/core/interface/IAuth';
export { AMapPrivacyShowStatus, AMapPrivacyInfoStatus, AMapPrivacyAgreeStatus, IPrivacy } from './src/main/ets/com/amap/util/core/interface/IPrivacy';
export { privacyImpl } from './src/main/ets/com/amap/util/core/utils/Privacy/PrivacyImpl';
export { KVUtil } from './src/main/ets/com/amap/util/core/utils/KVUtil';
export { PreferencesUtil } from './src/main/ets/com/amap/util/core/utils/PreferencesUtil';
export { RomIdentifier } from './src/main/ets/com/amap/util/core/rom/RomIdentifier';
export { AdiuManager } from './src/main/ets/com/amap/util/core/id/AdiuManager';
export { Base64Util } from './src/main/ets/com/amap/util/core/utils/Base64Util';
export { Utils } from './src/main/ets/com/amap/util/core/utils/Utils';
export { MD5 } from './src/main/ets/com/amap/util/core/utils/MD5';
export { boolValueWithAuthResponse } from './src/main/ets/com/amap/util/core/utils/AuthUtil';
export { SecurityUtil } from './src/main/ets/com/amap/util/core/utils/SecurityUtil';
export { AppInfo } from './src/main/ets/com/amap/util/core/utils/AppInfo';
export { PermissionUtil } from './src/main/ets/com/amap/util/core/utils/PermissionUtil';
export { cloudManager } from './src/main/ets/com/amap/util/core/utils/auth/CloudManager';
export { LocationOffsetUtils } from './src/main/ets/com/amap/util/core/utils/LocationOffsetUtils';
export { getRandomUUID } from './src/main/ets/com/amap/util/core/utils/SysUtils';
export { t } from './src/main/ets/com/amap/util/core/utils/TimeUtil';
export { XXTEA } from './src/main/ets/com/amap/util/core/utils/XXTEA';
export { DeviceInfo } from './src/main/ets/com/amap/util/core/DeviceInfo';
export { ClientInfo } from './src/main/ets/com/amap/util/core/utils/ClientInfo';
export { ThreadPool } from './src/main/ets/com/amap/util/core/threads/ThreadPool';
... ...
Copyright 2024 Amap
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
\ No newline at end of file
... ...
# 高德开放平台基础库
## 简介
高德开放平台基础库,为其他开放平台SDK提供基础能力
## 系统API要求
鸿蒙NEXT API11及以上stage模式的普通应用
## 快速开始
### 安装
```shell
ohpm install @amap/amap_lbs_common
```
### 使用
使用参考高德开放平台官网 https://lbs.amap.com/
... ...
-keep-global-name
AdiuManager
AMapCoreException
AMapPrivacyAgreeStatus
AMapPrivacyInfoStatus
AMapPrivacyShowStatus
AMapResourceManager
AppInfo
authManager
AuthManagerImpl
Base64Util
boolValueWithAuthResponse
ClientInfo
cloudManager
DeviceInfo
getRandomUUID
IAMapCloudListener
IAuthManager
IAuthResponse
IPrivacy
IRequest
IResponse
KVUtil
LocationOffsetUtils
LogUtil
MD5
NetManager
PermissionUtil
PreferencesUtil
privacyImpl
RomIdentifier
SDKInfo
SecurityUtil
TextUtils
ThreadPool
Utils
XXTEA
-keep-property-name
addTask
adiuRunner
AMapCoreException
checkPrivacyStatus
commonResponseResult
d
decodeBase642Uint8Array
DidAgree
DidContain
DidShow
e
encodeBase64Uint8ArrayToString
encryptedData
encryptUint8Array
fromSelfBase64
getAdiu
getADIU
getApiKey
getApplicationVersion
getCsid
getErrorMessage
getGsid
getInstance
getMd5StandardString
getMD5StringSync
getNetworkCode
getNetworkType
getPackageName
getRawfileContent
getScode
getSDKVersion
getStatusMessage
hasPerminssion
header
i
infocode
infoStr
ioNumbererrupted
IRequest
isGettingADIU
isLocalADIUExist
isPandoraBody
isREST
logVersion
mAdiu
makeRequestGet
makeRequestPost
mContext
mKey
needParseData
NotAgree
NotContain
NotShow
onCloudChanged
params
platform
platInfo
registerAuthWithComponent
registerWithComponent
requestAuthWithComponent
setAdiu
setApiKey
setCloudListener
setUpdateLog
stringToUint8Array
uint8ArrayToString
Unknown
updateADIUFromNet
updatePrivacyAgree
updatePrivacyShow
url
w
wgs84ToGcj02
... ...
{"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}
... ...
// @keepTs
// @ts-nocheck
import HashMap from '@ohos.util.HashMap';
import ArrayList from '@ohos.util.ArrayList';
export declare class AMapCoreException extends Error {
static readonly f1: string;
static readonly g1: string;
static readonly h1: string;
static readonly i1: string;
static readonly j1: string;
static readonly l1: string;
static readonly m1: string;
static readonly n1: string;
static readonly o1: string;
static readonly q1: string;
static readonly s1: string;
static readonly t1: string;
static readonly u1: string;
static readonly v1: string;
static readonly w1: string;
static readonly z1: string;
static readonly a2: string;
static readonly b2: string;
static readonly c2: string;
static readonly NETWORK_TYPE_UNKNOWN: string;
static readonly d2: string;
static readonly e2: string;
static readonly f2: string;
static readonly g2: string;
static readonly h2: string;
static readonly i2: string;
static readonly j2: string;
static readonly l2: string;
static readonly m2: string;
static readonly n2: string;
static readonly o2: string;
static readonly q2: string;
static readonly s2: string;
static readonly t2: string;
static readonly u2: string;
static readonly v2: string;
static readonly w2: string;
static readonly z2: string;
static readonly a3: string;
static readonly b3: string;
static readonly c3: string;
static readonly ERROR_UNKNOWN: string;
static readonly d3: string;
static readonly e3: string;
static readonly f3: string;
static readonly g3: string;
static readonly h3: string;
static readonly i3: string;
static readonly j3: number;
static readonly l3: number;
static readonly m3: number;
static readonly n3: number;
static readonly q3: number;
static readonly r3: number;
static readonly s3: number;
static readonly t3: number;
static readonly u3: number;
static readonly v3: number;
static readonly w3: number;
static readonly x3: number;
static readonly y3: number;
static readonly z3: number;
static readonly a4: number;
static readonly b4: number;
static readonly c4: number;
static readonly d4: number;
static readonly e4: number;
static readonly f4: number;
static readonly g4: number;
static readonly h4: number;
private i4;
private j4;
private l4;
private m4;
private n4;
private o4;
private q4;
static readonly r4: number;
static readonly s4: number;
static readonly t4: number;
static readonly u4: number;
static readonly v4: number;
static readonly w4: number;
static readonly x4: number;
static readonly y4: number;
static readonly z4: number;
static readonly a5: number;
static readonly b5: number;
static readonly c5: number;
static readonly d5: number;
static readonly e5: number;
static readonly f5: number;
static readonly g5: number;
static readonly h5: number;
static readonly i5: number;
static readonly j5: number;
constructor(errorMessage: string);
constructor(errorMessage: string, d1: string, e1: string);
getErrorMessage(): string;
getNetworkCode(): string;
getNetworkType(): string;
getGsid(): string;
getCsid(): string;
m5(errorCode: number): void;
getErrorCode(): number;
n5(): number;
o5(errorCode: number): number;
private p5;
get ioNumbererrupted(): boolean;
set ioNumbererrupted(flag: boolean);
private k5;
private l5;
private statusMessage;
private q5;
getStatusMessage(): string;
r5(a1: string): void;
s5(): HashMap<string, ArrayList<string>>;
t5(u: HashMap<string, ArrayList<string>>): void;
}
... ...
// @keepTs
// @ts-nocheck
export declare class AMapResourceManager {
private context;
constructor(context: Context);
getRawfileContent(path: string): Uint8Array;
}
... ...
// @keepTs
// @ts-nocheck
export declare class DeviceInfo {
static c9(context: Context): string;
static d9(context: Context): string;
static e9(context: Context, b9: boolean): string;
static f9(context: Context): string;
static getADIU(context: Context): string;
static g9(context: Context): string;
static h9(context: Context): string;
static i9(context: Context): string;
static j9(context: Context): string;
static k9(context: Context): string;
static l9(context: Context): string;
static m9(context: Context): string;
static n9(context: Context): string[];
static o9(): string;
static p9(context: Context): string;
static getOAID(context: Context): string;
static q9(context: Context, divider: string | null, a9: boolean): string;
static r9(context: Context): string;
static s9(context: Context): string;
static t9(context: Context): string;
static u9(context: Context): string;
static v9(): string;
static w9(): string;
static platform(): string;
}
... ...
// @keepTs
// @ts-nocheck
export declare class SDKInfo {
private n17;
private o17;
private p17;
private q17;
private r17;
private s17;
constructor(version: string, k17: string, l17: string, m17: string, packages: string[]);
t17(): string;
getSDKVersion(): string;
u17(): string;
v17(): string;
w17(): string[];
setUpdateLog(j17: boolean): void;
x17(): boolean;
}
... ...
// @keepTs
// @ts-nocheck
export declare class TextUtils {
static isEmpty(text: string | undefined): boolean;
static equals(y17: string, z17: string): boolean;
/**
* 判断该字符串是否仅数字
* @param text
* @returns
*/
static a18(text: string | undefined): Boolean;
}
... ...
// @keepTs
// @ts-nocheck
import { IRequest } from '../net/IRequest';
import { w5 } from './INetDataProcess';
/**
* 网络请求阻断相关数据处理
*/
export declare class x5 implements w5 {
y5(request: IRequest): IRequest;
}
... ...
// @keepTs
// @ts-nocheck
import HashMap from '@ohos.util.HashMap';
import { IRequest } from '../net/IRequest';
import { w5 } from './INetDataProcess';
/**
* 网络请求域名交换相关数据处理
*/
export declare class a6 implements w5 {
static y6?: HashMap<string, string>;
isREST?: boolean;
z6(request: IRequest): Promise<IRequest>;
a7(request: IRequest): void;
b7(j6: string, getParams: HashMap<string, string> | undefined): Promise<string>;
d7(getParams: HashMap<string, string>): Promise<void>;
e7(b6: HashMap<string, string> | undefined): string;
}
... ...
// @keepTs
// @ts-nocheck
import { IRequest } from '../net/IRequest';
import { w5 } from './INetDataProcess';
/**
* 网络请求云控相关数据处理
*/
export declare class g7 implements w5 {
private p7;
y5(request: IRequest): IRequest;
/**
* 检测业务请求header中是否携带云控相关信息
*
* @param 网络请求
* @return 处理后的请求
* @since 1.0.0
*/
r7(request: IRequest): IRequest;
}
... ...
// @keepTs
// @ts-nocheck
import { IRequest } from '../net/IRequest';
/**
* 网络请求相关数据处理接口
*/
export interface w5 {
y5?(request: IRequest): IRequest;
z6?(request: IRequest): Promise<IRequest>;
}
... ...
// @keepTs
// @ts-nocheck
import ArrayList from '@ohos.util.ArrayList';
import { IRequest } from '../net/IRequest';
import { w5 } from './INetDataProcess';
/**
* 网络请求XInfo相关数据处理
*/
export declare class c8 implements w5 {
z6(request: IRequest): Promise<IRequest>;
t8(request: IRequest): Promise<IRequest>;
u8(request: IRequest): ArrayList<Uint8Array>;
}
... ...
// @keepTs
// @ts-nocheck
import { f13 } from '../net/IRunner';
export interface x9 extends f13 {
b13(): string;
}
... ...
// @keepTs
// @ts-nocheck
import { x9 } from './ADIURunner';
export declare class AdiuManager {
private mKey;
private mContext;
private static isGettingADIU;
private static isLocalADIUExist;
mAdiu: string;
private adiuRunner;
private static instance?;
constructor(context: Context);
static getInstance(context: Context): AdiuManager;
getAdiu(): Promise<string>;
/**
* 更新adiu
* @param context
* @param adiuRunner
* @returns
*/
updateADIUFromNet(i10: x9): Promise<string>;
setAdiu(context: Context, h10: string): void;
private q10;
private w10;
private x10;
private r10;
}
... ...
// @keepTs
// @ts-nocheck
import HashMap from '@ohos.util.HashMap';
import { x9 } from './ADIURunner';
import { IRequest } from '../net/IRequest';
export declare class e11 {
private static r12;
private static s12;
/**
* parse adiu data
* @param context
* @param result
* @returns
*/
v10(context: Context, result: string): string;
/**
* 获取拼接的query string参数
* @returns
*/
s10(): Promise<HashMap<string, string> | null>;
t12(f12: Uint8Array, data: Uint8Array): Uint8Array;
private u12;
private v12;
/**
* 获取请求body数据
* @param tid
* @param imei
* @param mac
* @param imsi
* @returns
*/
t10(tid: string, m11: string, mac: string, n11: string): Promise<string>;
stringToUint8Array(str: string): Uint8Array;
b13(): string;
}
export declare class y9 implements x9 {
c13: e11;
b13(): string;
v10(context: Context, result: string | Object | ArrayBuffer | undefined): string;
s10(): Promise<HashMap<string, string> | null>;
u10(body: Uint8Array, i11: HashMap<string, string>): IRequest;
t10(tid: string, g11: string, mac: string, h11: string): Promise<string>;
}
... ...
// @keepTs
// @ts-nocheck
export declare class d13 {
code: number;
data: e13 | undefined;
}
export declare class e13 {
adiu: string;
}
... ...
// @keepTs
// @ts-nocheck
/**
* Adiu存储组件类
*
* @author dong.sun
* @see #syncGetAdiu()
* @see #syncSetAdiu(String, int)
*/
import ArrayList from '@ohos.util.ArrayList';
export declare class g13 {
/**
* 内存缓存adius
*/
private i13;
/**
* 存储adiu字段KEY名称
*/
private mKey;
private readonly mContext;
/**
* 存储类型-Setting.System The caller is expected to have the {@link android.Manifest.permission#WRITE_SETTINGS}
* permission declared.
*/
static readonly j13: number;
/**
* 存储类型—SD卡文件
*/
static readonly k13: number;
/**
* 存储类型—SharedPreference
*/
static readonly l13: number;
static readonly n13: string;
private static instance;
static getInstance(context: Context): g13;
private constructor();
/**
* 设置存储adiu值的key
*
* @param key 已经过MD5加密处理
*/
o13(key: string | null): void;
p13(): ArrayList<string> | undefined;
setAdiu(h13: string): void;
/*****************************************存储组件获取*****************************************/
/**
* 同步从存储组件中获取adiu值
*/
private q13;
/**
* 同步保存adiu值到存储组件
*
*/
private r13;
}
... ...
// @keepTs
// @ts-nocheck
import HashMap from '@ohos.util.HashMap';
import { SDKInfo } from '../SDKInfo';
export type s13 = (response: IAuthResponse) => void;
/**
* 高德SDK服务接口
*/
export interface IAuthManager {
/**
* APIkey。设置key,需要在高德官网控制台绑定对应的bundleid。
*/
c7: string;
/**
* 是否开启HTTPS,从1.3.3版本开始默认为YES。
*/
t13: boolean;
/**
* 设备标识,内部生成。用于排查问题时提供。
*/
identifier: string;
/**
* 云控请求
*
* @param sdkInfo SDK 信息
* @param authKeys 云控key
* @param context Context
* return IAuthResponse 云控请求结果
*/
registerAuthWithComponent(sdkInfo: SDKInfo, authKeys: Array<string>, context: Context): Promise<IAuthResponse>;
/**
* 注册SDK,业务SDK如果冷启动后不调用registerAuthWithComponent方法,则需要调用此方法进行注册
*
* @param sdkInfo SDK 信息
* @param context Context
*/
registerWithComponent(sdkInfo: SDKInfo, context: Context): void;
}
/**
* 云控请求返回结果
*/
export interface IAuthResponse {
/**
* 是否已授权
*/
status: boolean;
/**
* responseInfo
*/
info: string;
/**
* infocode
*/
infocode: string;
/**
* 返回值
*/
result?: HashMap<string, Object>;
}
export interface IAMapCloudListener {
onCloudChanged: (location: IAuthResponse) => void;
}
... ...
// @keepTs
// @ts-nocheck
import { SDKInfo } from '../SDKInfo';
export declare enum AMapPrivacyShowStatus {
Unknown = -1,
NotShow = 0,
DidShow = 1
}
/**
* 集成SDK隐私信息状态 -1: unknown , 0 : 未集成 , 1 : 已集成
*/
export declare enum AMapPrivacyInfoStatus {
Unknown = -1,
NotContain = 0,
DidContain = 1
}
/**
* 用户同意隐私状态 -1: unknown , 0 : 未同意 , 1 : 已同意
*/
export declare enum AMapPrivacyAgreeStatus {
Unknown = -1,
NotAgree = 0,
DidAgree = 1
}
export declare class u13 {
static readonly v13: number;
static readonly w13: number;
static readonly x13: number;
static readonly y13: number;
static readonly z13: number;
static readonly a14: number;
static readonly b14: number;
static readonly c14: number;
static readonly d14: string;
static readonly e14: string;
static readonly f14: string;
static readonly g14: string;
static readonly h14: string;
static readonly i14: string;
static readonly j14: string;
static readonly k14: string;
}
/**
* 隐私授权
*/
export interface IPrivacy {
/**
* 更新显示隐私弹窗状态和包含高德SDK隐私协议内容状态。
*
* @param showStatus 隐私弹窗状态展示状态
* @param containStatus 包含高德SDK隐私协议内容状态
* @param sdkInfo sdk信息
* @since 1.0.0
*/
updatePrivacyShow(showStatus: AMapPrivacyShowStatus, containStatus: AMapPrivacyInfoStatus, sdkInfo: SDKInfo, context: Context): void;
/**
* 更新用户同意高德SDK隐私协议状态
*
* @param agreeStatus 是否同意隐私政策协议
* @param sdkInfo sdk信息
* @since 1.0.0
*/
updatePrivacyAgree(agreeStatus: AMapPrivacyAgreeStatus, sdkInfo: SDKInfo, context: Context): void;
/**
* 检查当前隐私相关状态是否满足隐私协议合规要求
*
* @param sdkInfo sdk信息
* @returns true: 已授权,false: 未授权
* @since 1.0.0
*/
checkPrivacyStatus(sdkInfo: SDKInfo, context: Context): boolean;
}
... ...
// @keepTs
// @ts-nocheck
import http from '@ohos.net.http';
import HashMap from '@ohos.util.HashMap';
export interface IRequest extends http.HttpRequestOptions {
url: string;
params?: HashMap<string, string>;
isREST?: boolean;
/**
* body是否使用Pandora,如果为true,encryptedData必须有值
*/
isPandoraBody?: boolean;
/**
* 通常网络模块内部处理
*/
infoStr?: string;
/**
* 日志版本
*/
logVersion?: string;
/**
* 平台信息
*/
platInfo?: string;
/**
* 待加密数据
*/
encryptedData?: Uint8Array;
/**
* 是否需要解析数据,当前只能将response.result中的status、info、infocode解析出来,其他数据需要上层业务解析。
*/
needParseData?: boolean;
}
... ...
// @keepTs
// @ts-nocheck
import http from '@ohos.net.http';
export interface IResponse extends http.HttpResponse {
message?: string;
commonResponseResult?: l14;
}
export interface l14 {
status?: string;
info?: string;
infocode?: string;
}
... ...
// @keepTs
// @ts-nocheck
import HashMap from '@ohos.util.HashMap';
import { IRequest } from './IRequest';
export interface f13 {
u10(body: Uint8Array, postParams: HashMap<string, string> | null): IRequest;
v10(context: Context, result: string | Object | ArrayBuffer | undefined): string;
s10(): Promise<HashMap<string, string> | null>;
t10(tid: string, imei: string, mac: string, imsi: string): Promise<string>;
}
... ...
// @keepTs
// @ts-nocheck
export default class n14 {
static readonly r14: string;
/**
* Http request success status code.
*/
static readonly s14: number;
/**
* The animation delay time.
*/
static readonly t14: number;
/**
* The delay time.
*/
static readonly u14: number;
/**
* The animation duration.
*/
static readonly v14: number;
/**
* The http timeout duration.
*/
static readonly w14: number;
/**
* Content maxLine.
*/
static readonly x14: number;
/**
* List space.
*/
static readonly y14: number;
/**
* Item img space.
*/
static readonly z14: number;
/**
* Type font weight.
*/
static readonly a15: number;
/**
* Title font weight.
*/
static readonly b15: number;
/**
* Desc font weight.
*/
static readonly c15: number;
/**
* Type aspect ratio.
*/
static readonly d15: number;
/**
* Desc opacity.
*/
static readonly e15: number;
}
/**
* The RefreshConstant constants.
*/
export declare const enum o14 {
DELAY_PULL_DOWN_REFRESH = 50,
CLOSE_PULL_DOWN_REFRESH_TIME = 150,
DELAY_SHRINK_ANIMATION_TIME = 500
}
/**
* The refresh state enum.
*/
export declare const enum p14 {
DropDown = 0,
Release = 1,
Refreshing = 2,
Success = 3,
Fail = 4
}
/**
* The newsList state enum.
*/
export declare const enum PageState {
Loading = 0,
Success = 1,
Fail = 2
}
/**
* The file upload state enum.
*/
export declare const enum q14 {
COMPLETE = "complete",
FAIL = "fail"
}
/**
* The request method enum.
*/
export declare const enum RequestMethod {
POST = "POST",
GET = "GET"
}
/**
* The request content type enum.
*/
export declare const enum ContentType {
JSON = "application/json",
FORM = "multipart/form-data"
}
... ...
// @keepTs
// @ts-nocheck
import http from '@ohos.net.http';
import { a6 } from '../dataProcess/ChangeURLNetDataProcess';
import { g7 } from '../dataProcess/CloudControlNetDataProcess';
import { c8 } from '../dataProcess/PandoraNetDataProcess';
import { f15 } from '../respDataProcess/CloudControlRespNetDataProcess';
import { IRequest } from './IRequest';
import { l14, IResponse } from './IResponse';
export declare class NetManager {
q15: a6;
r15: g7;
s15: c8;
t15: f15;
private static instance?;
static getInstance(): NetManager;
makeRequestGet(request: IRequest, context: Context): Promise<IResponse>;
makeRequestPost(request: IRequest, context: Context): Promise<IResponse>;
v15(request: IRequest, context: Context): Promise<IResponse>;
u15(method: http.RequestMethod, request: IRequest, context: Context): Promise<IResponse>;
x15(response: IResponse): l14 | undefined;
private w15;
}
... ...