From a092efbb6cda74c1634462d8d3b58ae53c508637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E5=BA=86=E6=B3=89?= Date: Fri, 28 Oct 2022 20:14:53 +0800 Subject: [PATCH] Update uts-plugin.md --- docs/plugin/uts-plugin.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/plugin/uts-plugin.md b/docs/plugin/uts-plugin.md index 6c95abc56..ca2a486f9 100644 --- a/docs/plugin/uts-plugin.md +++ b/docs/plugin/uts-plugin.md @@ -351,6 +351,7 @@ uts 插件在 iOS 平台的原生层配置文件,可以在其中配置依赖 ### Android平台 + ![OSAPI示例](https://native-res.dcloud.net.cn/images/uts/uts_osapi_demo_1.jpg) 在Android平台目录下,编辑index.uts,键入以下内容。 @@ -390,6 +391,12 @@ export function getBatteryCapacity(): string { 注:HBuilderX的代码提示系统,支持在uts文件中对Android的原生API进行提示。 + +特别提示: + +**有android开发经验的开发者可以参考:[Android开发者UTS快速上手指南](https://uniapp.dcloud.net.cn/plugin/uts-for-android.html)** + + ### iOS 平台 ![](https://native-res.dcloud.net.cn/images/uts/iOS/getbatteryinfo1.png) -- GitLab