From 468396ab1e6f02476eadfa0383d5c890c2746ec3 Mon Sep 17 00:00:00 2001 From: duqingquan-jpc Date: Sat, 12 Nov 2022 21:06:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=AD=98=E8=AD=A6=E5=91=8A=E7=9B=91?= =?UTF-8?q?=E5=90=AC=E6=8F=92=E4=BB=B6=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uni-memorywarning/changelog.md | 2 + uni_modules/uni-memorywarning/package.json | 62 ++++++++++--------- .../utssdk/app-android/config.json | 3 + 3 files changed, 37 insertions(+), 30 deletions(-) create mode 100644 uni_modules/uni-memorywarning/utssdk/app-android/config.json diff --git a/uni_modules/uni-memorywarning/changelog.md b/uni_modules/uni-memorywarning/changelog.md index e69de29..281329b 100644 --- a/uni_modules/uni-memorywarning/changelog.md +++ b/uni_modules/uni-memorywarning/changelog.md @@ -0,0 +1,2 @@ +## 1.0.0(2022-11-12) +支持内存警告监听功能 diff --git a/uni_modules/uni-memorywarning/package.json b/uni_modules/uni-memorywarning/package.json index a31a9a0..c7c9c27 100644 --- a/uni_modules/uni-memorywarning/package.json +++ b/uni_modules/uni-memorywarning/package.json @@ -2,13 +2,13 @@ "id": "uni-memorywarning", "displayName": "uni-MemoryWarning", "version": "1.0.0", - "description": "内存不足告警", + "description": "UTS 实现内存警告监听", "keywords": [ "onMemoryWarning" ], "repository": "", "engines": { - "HBuilderX": "^3.6.0" + "HBuilderX": "^3.6.8" }, "dcloudext": { "type": "uts", @@ -24,9 +24,9 @@ "qq": "" }, "declaration": { - "ads": "", - "data": "", - "permissions": "" + "ads": "无", + "data": "无", + "permissions": "无" }, "npmurl": "" }, @@ -47,45 +47,47 @@ "encrypt": [], "platforms": { "cloud": { - "tcb": "u", - "aliyun": "u" + "tcb": "y", + "aliyun": "y" }, "client": { "Vue": { - "vue2": "n", + "vue2": "y", "vue3": "y" }, "App": { - "app-android": "u", - "app-ios": "u" + "app-android": { + "minVersion": "19" + }, + "app-ios": "n" }, "H5-mobile": { - "Safari": "u", - "Android Browser": "u", - "微信浏览器(Android)": "u", - "QQ浏览器(Android)": "u" + "Safari": "n", + "Android Browser": "n", + "微信浏览器(Android)": "n", + "QQ浏览器(Android)": "n" }, "H5-pc": { - "Chrome": "u", - "IE": "u", - "Edge": "u", - "Firefox": "u", - "Safari": "u" + "Chrome": "n", + "IE": "n", + "Edge": "n", + "Firefox": "n", + "Safari": "n" }, "小程序": { - "微信": "u", - "阿里": "u", - "百度": "u", - "字节跳动": "u", - "QQ": "u", - "钉钉": "u", - "快手": "u", - "飞书": "u", - "京东": "u" + "微信": "n", + "阿里": "n", + "百度": "n", + "字节跳动": "n", + "QQ": "n", + "钉钉": "n", + "快手": "n", + "飞书": "n", + "京东": "n" }, "快应用": { - "华为": "u", - "联盟": "u" + "华为": "n", + "联盟": "n" } } } diff --git a/uni_modules/uni-memorywarning/utssdk/app-android/config.json b/uni_modules/uni-memorywarning/utssdk/app-android/config.json new file mode 100644 index 0000000..7ed4299 --- /dev/null +++ b/uni_modules/uni-memorywarning/utssdk/app-android/config.json @@ -0,0 +1,3 @@ +{ + "minSdkVersion": "19" +} \ No newline at end of file -- GitLab