From 145431add1968096ac43c5c448730737f793f33b Mon Sep 17 00:00:00 2001 From: DCloud-yyl Date: Fri, 2 Aug 2024 15:47:59 +0800 Subject: [PATCH] Update manifest-modules.md --- docs/collocation/manifest-modules.md | 84 +++++++++++++++------------- 1 file changed, 46 insertions(+), 38 deletions(-) diff --git a/docs/collocation/manifest-modules.md b/docs/collocation/manifest-modules.md index 48341ba0..0aaaa3cc 100644 --- a/docs/collocation/manifest-modules.md +++ b/docs/collocation/manifest-modules.md @@ -21,76 +21,84 @@ HBuilderX3.93版本起,编译器支持扫描代码,摇树treeShaking,自 ### app平台支持摇树的内置模块列表@utsmodules - uni-ad - uni-ad[广告联盟](https://uniad.dcloud.net.cn/)模块(`HBuilderX4.0+`),包括API:[uni.createRewardedVideoAd](../api/create-rewarded-video-ad.md) - 依赖的模块:无 - 注意:此模块仅包含基础广告模块,配置聚合广告平台需手动配置,详情参考[uni-ad](#uni-ad)章节 + uni-ad[广告联盟](https://uniad.dcloud.net.cn/)模块(`HBuilderX4.0+`),包括API:[uni.createRewardedVideoAd](../api/create-rewarded-video-ad.md) + 依赖的模块:无 + 注意:此模块仅包含基础广告模块,配置聚合广告平台需手动配置,详情参考[uni-ad](#uni-ad)章节 + +- uni-canvas + [canvas画布组件](../component/canvas.md)模块,包括内置组件:[canvas](../component/canvas.md);包括API:[UniCanvasElement](../dom/unicanvaselement.md)、[CanvasRenderingContext2D](../dom/canvasrenderingcontext2d.md) + 依赖的模块:无 - uni-cloud-client - 调用uniCloud[云函数/云对象](https://doc.dcloud.net.cn/uniCloud/cf-functions.html)模块,包括API:[uniCloud.importObject](https://doc.dcloud.net.cn/uniCloud/cloud-obj.html#%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%B0%83%E7%94%A8)、[uniCloud.callFunction](https://doc.dcloud.net.cn/uniCloud/cf-callfunction.html#callfunction%E6%96%B9%E6%B3%95) - 依赖的模块:uni-media、uni-network + 调用uniCloud[云函数/云对象](https://doc.dcloud.net.cn/uniCloud/cf-functions.html)模块,包括API:[uniCloud.importObject](https://doc.dcloud.net.cn/uniCloud/cloud-obj.html#%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%B0%83%E7%94%A8)、[uniCloud.callFunction](https://doc.dcloud.net.cn/uniCloud/cf-callfunction.html#callfunction%E6%96%B9%E6%B3%95) + 依赖的模块:uni-media、uni-network - uni-createRequestPermissionListener - 监听权限申请模块(`HBuilderX4.0+`),包括API:[uni.createRequestPermissionListener](../api/create-request-permission-listener.md) - 依赖的模块:无 - 注意:HBuilderX4.0版本新增,仅App-Android平台支持。 + 监听权限申请模块(`HBuilderX4.0+`),包括API:[uni.createRequestPermissionListener](../api/create-request-permission-listener.md) + 依赖的模块:无 + 注意:HBuilderX4.0版本新增,仅App-Android平台支持。 - uni-createWebviewContext - 创建 web-view 组件的上下文对象模块,包括API:[uni.createWebviewContext](../api/create-webview-context.md) - 依赖的模块:无 + 创建 web-view 组件的上下文对象模块,包括API:[uni.createWebviewContext](../api/create-webview-context.md) + 依赖的模块:无 - uni-facialRecognitionVerify - [uni实人认证](https://doc.dcloud.net.cn/uniCloud/frv/intro.html)模块,包括API:[uni.getFacialRecognitionMetaInfo](../api/facial-recognition-verify.md#getfacialrecognitionmetainfo)、[uni.startFacialRecognitionVerify](../api/facial-recognition-verify.md#startfacialrecognitionverify) - 依赖的模块:无 + [uni实人认证](https://doc.dcloud.net.cn/uniCloud/frv/intro.html)模块,包括API:[uni.getFacialRecognitionMetaInfo](../api/facial-recognition-verify.md#getfacialrecognitionmetainfo)、[uni.startFacialRecognitionVerify](../api/facial-recognition-verify.md#startfacialrecognitionverify) + 依赖的模块:无 - uni-fileSystemManager - 文件管理模块(`HBuilderX3.99+`),包括API:[uni.getFileSystemManager](../api/get-file-system-manager.md) - 依赖的模块:无 + 文件管理模块(`HBuilderX3.99+`),包括API:[uni.getFileSystemManager](../api/get-file-system-manager.md) + 依赖的模块:无 - uni-getLocation-system - 系统定位模块,包括API:[uni.getLocation](../api/get-location.md) - 依赖的模块:无 + 系统定位模块,包括API:[uni.getLocation](../api/get-location.md) + 依赖的模块:无 - uni-getNetworkType - 获取网络类型模块,包括API:[uni.getNetworkType](../api/get-network-type.md) - 依赖的模块:无 + 获取网络类型模块,包括API:[uni.getNetworkType](../api/get-network-type.md) + 依赖的模块:无 - uni-installApk - 安装apk模块(`HBuilderX3.99+`),包括API:[uni.installApk](../api/install-apk.md) - 依赖的模块:无 - 注意:HBuilderX3.99版本新增,仅App-Android平台支持。 + 安装apk模块(`HBuilderX3.99+`),包括API:[uni.installApk](../api/install-apk.md) + 依赖的模块:无 + 注意:HBuilderX3.99版本新增,仅App-Android平台支持。 - uni-payment - uni-payment请求支付模块,包括API:[uni.requestPayment](../api/request-payment.md)
- 依赖的模块:无 - 注意:此模块仅包含基础支付模块,需手动配置支付方式,详情参考[uni-payment](#uni-payment)章节 + uni-payment请求支付模块,包括API:[uni.requestPayment](../api/request-payment.md) + 依赖的模块:无 + 注意:此模块仅包含基础支付模块,需手动配置支付方式,详情参考[uni-payment](#uni-payment)章节 - uni-getProvider - 获取服务供应商模块(`HBuilderX4.11+`),包括API:[uni.getProvider](../api/get-provider.md#getprovider) - 依赖的模块:无 + 获取服务供应商模块(`HBuilderX4.11+`),包括API:[uni.getProvider](../api/get-provider.md#getprovider) + 依赖的模块:无 - uni-push - [uni-push统一推送](https://uniapp.dcloud.net.cn/unipush-v2.html)模块(`HBuilderX3.97+`),包括API:[uni.createPushMessage](../api/push.md#createpushmessage)、[uni.getPushClientId](../api/push.md#getpushclientid)、[uni.offPushMessage](../api/push.md#offpushmessage)、[uni.onPushMessage](../api/push.md#onpushmessage) - 依赖的模块:无 + [uni-push统一推送](https://uniapp.dcloud.net.cn/unipush-v2.html)模块(`HBuilderX3.97+`),包括API:[uni.createPushMessage](../api/push.md#createpushmessage)、[uni.getPushClientId](../api/push.md#getpushclientid)、[uni.offPushMessage](../api/push.md#offpushmessage)、[uni.onPushMessage](../api/push.md#onpushmessage) + 依赖的模块:无 - uni-media - 多媒体相关API模块,包括API:[uni.chooseImage](../api/choose-image.md)、[uni.previewImage](../api/preview-image.md)、[uni.saveImageToPhotosAlbum](../api/save-image-to-photos-album.md)、[uni.getImageInfo](../api/get-image-info.md)、[uni.compressImage](../api/compress-image.md)、[uni.chooseVideo](../api/choose-video.md)、[uni.saveVideoToPhotosAlbum](../api/save-video-to-photos-album.md)、[uni.getVideoInfo](../api/get-video-info.md)、[uni.compressVideo](../api/compress-video.md) - 依赖的模块:无 + 多媒体相关API模块,包括API:[uni.chooseImage](../api/choose-image.md)、[uni.previewImage](../api/preview-image.md)、[uni.saveImageToPhotosAlbum](../api/save-image-to-photos-album.md)、[uni.getImageInfo](../api/get-image-info.md)、[uni.compressImage](../api/compress-image.md)、[uni.chooseVideo](../api/choose-video.md)、[uni.saveVideoToPhotosAlbum](../api/save-video-to-photos-album.md)、[uni.getVideoInfo](../api/get-video-info.md)、[uni.compressVideo](../api/compress-video.md) + 依赖的模块:无 - uni-network - 网络请求(文件上传/下载)模块,包括API:[uni.downloadFile](../api/download-file.md)、[uni.request](../api/request.md)、[uni.uploadFile](../api/upload-file.md) - 依赖的模块:无 + 网络请求(文件上传/下载)模块,包括API:[uni.downloadFile](../api/download-file.md)、[uni.request](../api/request.md)、[uni.uploadFile](../api/upload-file.md) + 依赖的模块:无 + +- uni-virtualPayment + 虚拟支付模块,包括API:[uni.requestVirtualPayment](../api/virtual-payment.md#requestvirtualpayment)、[uni.getVirtualPaymentManager](../api/virtual-payment.md#getvirtualpaymentmanager) + 依赖的模块:无 - uni-video - [video视频组件](../component/video.md)模块,包括内置组件:[video](../component/video.md);包括API:[uni.createVideoContext](../api/create-video-context.md) - 依赖的模块:无 + [video视频组件](../component/video.md)模块,包括内置组件:[video](../component/video.md);包括API:[uni.createVideoContext](../api/create-video-context.md) + 依赖的模块:无 - uni-websocket - WebSocket模块,包括API:[uni.connectSocket](../api/websocket-global.md)、[uni.onSocketOpen](../api/websocket-global.md#onsocketopen)、[uni.onSocketError](../api/websocket-global.md#onsocketerror)、[uni.sendSocketMessage](../api/websocket-global.md#sendsocketmessage)、[uni.onSocketMessage](../api/websocket-global.md#onsocketmessage)、[uni.closeSocket](../api/websocket-global.md#closesocket)、[uni.onSocketClose](../api/websocket-global.md#onsocketclose) - 依赖的模块:无 + WebSocket模块,包括API:[uni.connectSocket](../api/websocket-global.md)、[uni.onSocketOpen](../api/websocket-global.md#onsocketopen)、[uni.onSocketError](../api/websocket-global.md#onsocketerror)、[uni.sendSocketMessage](../api/websocket-global.md#sendsocketmessage)、[uni.onSocketMessage](../api/websocket-global.md#onsocketmessage)、[uni.closeSocket](../api/websocket-global.md#closesocket)、[uni.onSocketClose](../api/websocket-global.md#onsocketclose) + 依赖的模块:无 - uni-verify - [App一键登录](../api/get-univerify-manager.md)模块(`HBuilderX3.99+`),包括API:[uni.getUniverifyManager](../api/get-univerify-manager.md#getuniverifymanager)、[UniverifyManager.preLogin](../api/get-univerify-manager.md#prelogin)、[UniverifyManager.login](../api/get-univerify-manager.md#login) - 依赖的模块:无 + [App一键登录](../api/get-univerify-manager.md)模块(`HBuilderX3.99+`),包括API:[uni.getUniverifyManager](../api/get-univerify-manager.md#getuniverifymanager)、[UniverifyManager.preLogin](../api/get-univerify-manager.md#prelogin)、[UniverifyManager.login](../api/get-univerify-manager.md#login) + 依赖的模块:无 再次强调,以上模块不属于ext组件或api,是内置模块。但如果你的代码中没有使用这些组件和api,打正式包或自定义基座时会被摇掉。 -- GitLab