From 4547829e66e1b2a87e3e09cdca3d08752c21d519 Mon Sep 17 00:00:00 2001 From: lloyd <353627866@qq.com> Date: Sat, 23 Aug 2025 10:23:37 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=9F=BA=E4=BA=8EenableDataDetector?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E5=AE=9E=E7=8E=B0=E6=96=87=E6=9C=AC=E7=89=B9?= =?UTF-8?q?=E6=AE=8A=E6=96=87=E5=AD=97=E8=AF=86=E5=88=AB=E7=9A=84=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E3=80=91=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 6 +++--- README.md | 6 +++--- build-profile.json5 | 3 ++- entry/obfuscation-rules.txt | 5 +++++ entry/src/main/module.json5 | 5 +---- oh-package.json5 | 2 -- 6 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 entry/obfuscation-rules.txt diff --git a/README.en.md b/README.en.md index 51bded8..a20943e 100644 --- a/README.en.md +++ b/README.en.md @@ -42,8 +42,8 @@ N/A 1. The sample app is supported only on Huawei phones running the standard system. -2. The HarmonyOS version must be HarmonyOS 5.0.4 Release or later. +2. The HarmonyOS version must be HarmonyOS 5.0.5 Release or later. -3. The DevEco Studio version must be DevEco Studio HarmonyOS 5.0.4 Release or later. +3. The DevEco Studio version must be DevEco Studio HarmonyOS 5.0.5 Release or later. -4. The HarmonyOS SDK version must be HarmonyOS 5.0.4 Release SDK or later. +4. The HarmonyOS SDK version must be HarmonyOS 5.0.5 Release SDK or later. diff --git a/README.md b/README.md index 7739011..0628c36 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,8 @@ 1. 本示例仅支持标准系统上运行,支持设备:华为手机。 -2. HarmonyOS系统:HarmonyOS 5.0.4 Release及以上。 +2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 -3. DevEco Studio版本:DevEco Studio 5.0.4 Release及以上。 +3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.4 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file diff --git a/build-profile.json5 b/build-profile.json5 index e8de1a3..b2ca56e 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -5,7 +5,8 @@ { "name": "default", "signingConfig": "default", - "compatibleSdkVersion": "5.0.4(16)", + "compatibleSdkVersion": "5.0.5(17)", + "targetSdkVersion": "5.0.5(17)", "runtimeOS": "HarmonyOS", } ], diff --git a/entry/obfuscation-rules.txt b/entry/obfuscation-rules.txt new file mode 100644 index 0000000..1097a47 --- /dev/null +++ b/entry/obfuscation-rules.txt @@ -0,0 +1,5 @@ + +-enable-property-obfuscation +-enable-toplevel-obfuscation +-enable-filename-obfuscation +-enable-export-obfuscation \ No newline at end of file diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index 3166d8c..5f6f8e1 100644 --- a/entry/src/main/module.json5 +++ b/entry/src/main/module.json5 @@ -5,10 +5,7 @@ "description": "$string:module_desc", "mainElement": "EntryAbility", "deviceTypes": [ - "phone", - "tablet", - "2in1", - "car" + "phone" ], "deliveryWithInstall": true, "installationFree": false, diff --git a/oh-package.json5 b/oh-package.json5 index d6d7f10..0f4a6c9 100644 --- a/oh-package.json5 +++ b/oh-package.json5 @@ -5,7 +5,5 @@ "dependencies": { }, "devDependencies": { - "@ohos/hypium": "1.0.17", - "@ohos/hamock": "1.0.0" } } \ No newline at end of file -- Gitee