Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
unidocs-uni-app-x-zh
提交
f210e5d4
U
unidocs-uni-app-x-zh
项目概览
DCloud
/
unidocs-uni-app-x-zh
通知
144
Star
2
Fork
33
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
9
列表
看板
标记
里程碑
合并请求
11
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
unidocs-uni-app-x-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
9
Issue
9
列表
看板
标记
里程碑
合并请求
11
合并请求
11
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
f210e5d4
编写于
8月 23, 2024
作者:
张
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新4.26离线打包,更新集成文档。
上级
90287ba7
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
79 addition
and
53 deletion
+79
-53
docs/native/download/android.md
docs/native/download/android.md
+9
-6
docs/native/modules/android/others.md
docs/native/modules/android/others.md
+31
-12
docs/native/modules/android/uni-facialRecognitionVerify.md
docs/native/modules/android/uni-facialRecognitionVerify.md
+14
-13
docs/native/use/android.md
docs/native/use/android.md
+25
-22
未找到文件。
docs/native/download/android.md
浏览文件 @
f210e5d4
...
...
@@ -10,11 +10,14 @@
## alpha版
### 4.2
3.2024070309
-alpha
### 4.2
6.2024082213
-alpha
**[下载地址](https://web-ext-storage.dcloud.net.cn/uni-app-x/sdk/Android
-uni-app-x-SDK@11973-4.23
.zip)**
**[下载地址](https://web-ext-storage.dcloud.net.cn/uni-app-x/sdk/Android
/Android-uni-app-x-SDK@12222-4.26
.zip)**
*
更新 uni-app x 原生SDK打包支持,需使用HBuilderX(4.23.2024070309-alpha)版本生成本地打包App资源。
*
新增 API uni.setTabBarStyle/pages.json 支持传递 borderColor 设定自定义边框颜色,优先级高于 borderStyle
[
详情
](
https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
)
*
调整 API uni.setTabBarStyle/pages.json 中 borderStyle 只支持 black/white
[
详情
](
https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
)
*
修复 组件 list-view 设置 scroll-top 属性值域与 upper-threshold 属性值域相同时,部分安卓设备可能不触发 scrolltoupper 事件的Bug
[
详情
](
https://issues.dcloud.net.cn/pages/issues/detail?id=2847
)
\ No newline at end of file
*
更新 uni-app x 原生SDK打包支持,需使用HBuilderX(4.26.2024082213-alpha)版本生成本地打包App资源。
*
新增 组件 canvas 支持绘制自定义字体
[
文档
](
https://doc.dcloud.net.cn/uni-app-x/api/canvasrenderingcontext2d.html#custonfont
)
<https://issues.dcloud.net.cn/pages/issues/detail?id=5359>
*
调整 API uni.getWindowInfo 返回的 screenTop 属性废弃
[
详情
](
https://issues.dcloud.net.cn/pages/issues/detail?id=7095
)
*
修复 4.25版本引发的 编译器 当代码中定义一个包含大量数据的UTSJSONObject数组字面量时,编译报 method too large
[
详情
](
https://issues.dcloud.net.cn/pages/issues/detail?id=6906
)
*
修复 4.25版本引发的 API uni.getLocation 导入uni-getLocation-tencent插件云打包报错
[
详情
](
https://issues.dcloud.net.cn/pages/issues/detail?id=6890
)
*
修复 4.25版本引发的 API uni.getWindowInfo 返回的 screenHeight 值可能不是设备屏幕高度
[
详情
](
https://issues.dcloud.net.cn/pages/issues/detail?id=7058
)
*
修复 4.14版本引发的 CSS overflow 多级子 view 全部设置 overflow 为 visible 后点击 view 可能引起崩溃
[
详情
](
https://issues.dcloud.net.cn/pages/issues/detail?id=6957
)
\ No newline at end of file
docs/native/modules/android/others.md
浏览文件 @
f210e5d4
## API与对应的库参照表
|模块名称 |本地依赖库 |线上依赖库 |最低支持安卓版本 |依赖的模块 |
|:-- |:-- |:-- |:-- |:-- |
|uni-createRequestPermissionListener|uni-createRequestPermissionListener-release.aar |- |- |- |
|uni-createWebviewContext |uni-createWebviewContext-release.aar |- |- |- |
|uni-fileSystemManager |uni-fileSystemManager-release.aar |- |- |- |
|uni-getLocation-system |uni-getLocation-system-release.aar |- |- |- |
|uni-getNetworkType |uni-getNetworkType-release.aar |- |- |- |
|uni-installApk |uni-installApk-release.aar |- |- |- |
|uni-network |uni-network-release.aar |com.squareup.okhttp3:okhttp:3.12.12 |- |- |
|uni-websocket |uni-websocket-release.aar |com.squareup.okhttp3:okhttp:3.12.12 |- |- |
|uni-cloud-client |uni-cloud-client-release.aar |- |- |uni-
media
<br/>
uni-network
|
|uni-media |uni-media-release.aar
<br/>
nativeobj-preview-release.aar|com.github.bumptech.glide:glide:4.9.0
<br/>
androidx.recyclerview:recyclerview:1.0.0
<br/>
androidx.appcompat:appcompat:1.0.0 |- |uni-prompt |
|模块名称 |本地依赖库 |线上依赖库 |最低支持安卓版本 |依赖的模块
|
|:-- |:-- |:-- |:-- |:--
|
|uni-createRequestPermissionListener|uni-createRequestPermissionListener-release.aar |- |- |-
|
|uni-createWebviewContext |uni-createWebviewContext-release.aar |- |- |-
|
|uni-fileSystemManager |uni-fileSystemManager-release.aar |- |- |-
|
|uni-getLocation-system |uni-getLocation-system-release.aar |- |- |-
|
|uni-getNetworkType |uni-getNetworkType-release.aar |- |- |-
|
|uni-installApk |uni-installApk-release.aar |- |- |-
|
|uni-network |uni-network-release.aar |com.squareup.okhttp3:okhttp:3.12.12 |- |-
|
|uni-websocket |uni-websocket-release.aar |com.squareup.okhttp3:okhttp:3.12.12 |- |-
|
|uni-cloud-client |uni-cloud-client-release.aar |- |- |uni-
network
<br/>
uni-storage
<br/>
uni-getSystemInfo
<br/>
uni-prompt
<br/>
uni-media
<br/>
uni-websocket
|
|uni-media |uni-media-release.aar
<br/>
nativeobj-preview-release.aar|com.github.bumptech.glide:glide:4.9.0
<br/>
androidx.recyclerview:recyclerview:1.0.0
<br/>
androidx.appcompat:appcompat:1.0.0 |- |uni-prompt
|
各模块对应的API可参考文档
[
App端支持的内置模块列表
](
https://doc.dcloud.net.cn/uni-app-x/collocation/manifest-modules.html#utsmodules
)
...
...
@@ -35,6 +35,25 @@
## 其他模块
### canvas
#### 本地依赖库
|名称 |
|:-- |
|uni-canvas-release.aar |
|uni-canvas-native-release.aar |
#### 组件注册
将以下内容添加到主模块的build.gradle,详见
[
根据configjson配置应用
](
../../use/android.md#utscomponents
)
。
```
groovy
defaultConfig
{
buildConfigField
"String"
,
"UTSRegisterComponents"
,
"\"[{\"name\":\"canvas\",\"class\":\"io.dcloud.canvas.CanvasComponent\",\"node\":\"io.dcloud.canvas.UniCanvasElementImpl\"}]\""
}
```
[
uni-ad
](
/native/modules/android/uni-ad.md
)
[
uni-video
](
/native/modules/android/uni-video.md
)
...
...
docs/native/modules/android/uni-facialRecognitionVerify.md
浏览文件 @
f210e5d4
...
...
@@ -4,25 +4,26 @@
|本地依赖库名称 |
|:-- |
|aliyun-base-2.3.16.1-240418145504.aar |
|aliyun-facade-2.3.16.1-240418145504.aar |
|aliyun-face-2.3.16.1-240418145504.aar |
|aliyun-faceaudio-2.3.16.1-240418145504.aar |
|aliyun-facelanguage-2.3.16.1-240418145504.aar |
|aliyun-photinus-2.3.16.1-240418145504.aar |
|aliyun-wishverify-2.3.16.1-240418145504.aar |
|Android-AliyunFaceGuard-10049.aar |
|APSecuritySDK-deepSec-7.0.1.20240415.jiagu.aar |
|Android-AliyunFaceGuard-10042.aar |
|aliyun-base-2.3.7-20231102102722.aar |
|aliyun-facade-2.3.7-20231102102722.aar |
|aliyun-face-2.3.7-20231102102722.aar |
|aliyun-faceaudio-2.3.7-20231102102722.aar |
|aliyun-facelanguage-2.3.7-20231102102722.aar |
|aliyun-wishverify-2.3.7-20231102102722.aar |
|facialRecognitionVerify-support-release.aar |
|uni-facialRecognitionVerify-release.aar |
将本地依赖库复制到app项目的libs下
### 线上依赖库
|线上依赖库名称 |
|:-- |
|com.squareup.okhttp3:okhttp:3.11.0 |
|com.squareup.okio:okio:1.14.0 |
|com.alibaba:fastjson:1.2.83
|
|com.aliyun.dpa:oss-android-sdk:
+
|
|线上依赖库名称
|
|:--
|
|com.squareup.okhttp3:okhttp:3.11.0
|
|com.squareup.okio:okio:1.14.0
|
|com.alibaba:fastjson:1.2.83
_noneautotype
|
|com.aliyun.dpa:oss-android-sdk:
2.9.11
|
将线上依赖库添加到app项目的build.gradle下
\ No newline at end of file
docs/native/use/android.md
浏览文件 @
f210e5d4
...
...
@@ -51,28 +51,29 @@ uni-getSystemInfo-release.aar,uni-rpx2px-release.aar,uni-theme-release.aar
```
groovy
dependencies
{
implementation
fileTree
(
include:
[
'*.aar'
],
dir:
'./libs'
)
implementation
(
"androidx.core:core-ktx:1.8.0"
)
implementation
(
"androidx.recyclerview:recyclerview:1.0.0"
)
implementation
(
"androidx.appcompat:appcompat:1.0.0"
)
implementation
(
"androidx.exifinterface:exifinterface:1.3.6"
)
implementation
(
"androidx.localbroadcastmanager:localbroadcastmanager:1.0.0@aar"
)
implementation
(
"androidx.constraintlayout:constraintlayout:2.1.4"
)
implementation
(
"com.google.android.material:material:1.4.0"
)
implementation
(
"androidx.viewpager2:viewpager2:1.1.0-beta02"
)
implementation
(
"com.alibaba:fastjson:1.2.83"
)
implementation
(
"com.facebook.fresco:fresco:3.1.3"
)
implementation
(
"com.facebook.fresco:middleware:3.1.3"
)
implementation
(
"com.facebook.fresco:animated-gif:3.1.3"
)
implementation
(
"com.facebook.fresco:webpsupport:3.1.3"
)
implementation
(
"com.facebook.fresco:animated-webp:3.1.3"
)
implementation
(
"com.github.bumptech.glide:glide:4.9.0"
)
implementation
(
"org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4"
)
implementation
(
"org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4"
)
implementation
(
"org.jetbrains.kotlin:kotlin-stdlib:1.8.10"
)
implementation
(
"org.jetbrains.kotlin:kotlin-reflect:1.8.10"
)
implementation
(
"org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
)
implementation
(
"com.squareup.okhttp3:okhttp:3.12.12"
)
implementation
(
"com.github.getActivity:XXPermissions:18.0"
)
implementation
"androidx.core:core-ktx:1.10.1"
implementation
"androidx.recyclerview:recyclerview:1.3.2"
implementation
"androidx.appcompat:appcompat:1.0.0"
implementation
"androidx.exifinterface:exifinterface:1.3.6"
implementation
"androidx.localbroadcastmanager:localbroadcastmanager:1.0.0@aar"
implementation
"androidx.constraintlayout:constraintlayout:2.1.4"
implementation
"androidx.webkit:webkit:1.6.0"
implementation
"com.google.android.material:material:1.4.0"
implementation
"androidx.viewpager2:viewpager2:1.1.0-beta02"
implementation
"com.alibaba:fastjson:1.2.83"
implementation
"com.facebook.fresco:fresco:3.1.3"
implementation
"com.facebook.fresco:middleware:3.1.3"
implementation
"com.facebook.fresco:animated-gif:3.1.3"
implementation
"com.facebook.fresco:webpsupport:3.1.3"
implementation
"com.facebook.fresco:animated-webp:3.1.3"
implementation
"com.github.bumptech.glide:glide:4.9.0"
implementation
"org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4"
implementation
"org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4"
implementation
"org.jetbrains.kotlin:kotlin-stdlib:1.8.10"
implementation
"org.jetbrains.kotlin:kotlin-reflect:1.8.10"
implementation
"org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
implementation
"com.squareup.okhttp3:okhttp:3.12.12"
implementation
"com.github.getActivity:XXPermissions:18.63"
}
```
...
...
@@ -457,6 +458,8 @@ dependencies {
```
**注意:转义符不能删掉,格式一定严格一致。**
**注意:暂不支持在build.gradle中设置`applicationIdSuffix`,添加`applicationIdSuffix`会导致组件初始化失败。**
### 复制资源@copyresources
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录