diff --git a/zh-cn/application-dev/reference/apis/Readme-CN.md b/zh-cn/application-dev/reference/apis/Readme-CN.md index effbd20dc2f009807cfc3a13bbed42ed60eb4491..3e07a25a2b9dde2986bef04d3e330a542e3c4bc0 100755 --- a/zh-cn/application-dev/reference/apis/Readme-CN.md +++ b/zh-cn/application-dev/reference/apis/Readme-CN.md @@ -139,7 +139,7 @@ - [@ohos.bundle.bundleManager (bundleManager模块)](js-apis-bundleManager.md) - [@ohos.bundle.bundleMonitor (bundleMonitor模块)](js-apis-bundleMonitor.md) - [@ohos.bundle.defaultAppManager (默认应用管理)](js-apis-defaultAppManager.md) - - [@ohos.bundle.distributedBundle (distributedBundle模块)](js-apis-distributedBundle.md) + - [@ohos.bundle.distributedBundleManager (distributedBundleManager模块)](js-apis-distributedBundleManager.md) - [@ohos.bundle.freeInstall (freeInstall模块)](js-apis-freeInstall.md) - [@ohos.bundle.installer (installer模块)](js-apis-installer.md) - [@ohos.bundle.launcherBundleManager (launcherBundleManager模块)](js-apis-launcherBundleManager.md) diff --git a/zh-cn/application-dev/reference/apis/js-apis-Bundle-distributedBundle.md b/zh-cn/application-dev/reference/apis/js-apis-Bundle-distributedBundle.md index 26cfaf2144efad4a34f18d04fa1e183fa0e44a45..49db882be3b123b00dbb25f8a4ee70d406d10eac 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-Bundle-distributedBundle.md +++ b/zh-cn/application-dev/reference/apis/js-apis-Bundle-distributedBundle.md @@ -26,7 +26,7 @@ SystemCapability.BundleManager.DistributedBundleFramework ## distributedBundle.getRemoteAbilityInfodeprecated -> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo(@ohos.bundle.distributedBundle)](js-apis-distributedBundle.md)替代。 +> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo(@ohos.bundle.distributedBundleManager)](js-apis-distributedBundleManager.md)替代。 getRemoteAbilityInfo(elementName: ElementName, callback: AsyncCallback<RemoteAbilityInfo>): void; @@ -55,7 +55,7 @@ SystemCapability.BundleManager.DistributedBundleFramework ## distributedBundle.getRemoteAbilityInfodeprecated -> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo(@ohos.bundle.distributedBundle)](js-apis-distributedBundle.md)替代。 +> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo(@ohos.bundle.distributedBundleManager)](js-apis-distributedBundleManager.md)替代。 getRemoteAbilityInfo(elementName: ElementName): Promise<RemoteAbilityInfo> @@ -87,7 +87,7 @@ SystemCapability.BundleManager.DistributedBundleFramework ## distributedBundle.getRemoteAbilityInfosdeprecated -> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo(@ohos.bundle.distributedBundle)](js-apis-distributedBundle.md)替代。 +> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo(@ohos.bundle.distributedBundleManager)](js-apis-distributedBundleManager.md)替代。 getRemoteAbilityInfos(elementNames: Array<ElementName>, callback: AsyncCallback<Array<RemoteAbilityInfo>>): void; @@ -116,7 +116,7 @@ SystemCapability.BundleManager.DistributedBundleFramework ## distributedBundle.getRemoteAbilityInfosdeprecated -> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo(@ohos.bundle.distributedBundle)](js-apis-distributedBundle.md)替代。 +> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo(@ohos.bundle.distributedBundleManager)](js-apis-distributedBundleManager.md)替代。 getRemoteAbilityInfos(elementNames: Array<ElementName>): Promise<Array<RemoteAbilityInfo>> diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-applicationInfo.md b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-applicationInfo.md index 058205926f8bbc1687eb299095e8b7049f8d4b22..0e7dbf96c6d2d86200f1884c729fc20bd2503f0d 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-applicationInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-applicationInfo.md @@ -20,7 +20,6 @@ | iconId | number | 是 | 否 | 应用程序图标的资源id。 | | process | string | 是 | 否 | 应用程序的进程,如果不设置,默认为包的名称。 | | permissions | Array\ | 是 | 否 | 访问应用程序所需的权限,通过调用[bundleManager.getApplicationInfo](js-apis-bundleManager.md#bundlemanagergetapplicationinfo)接口,appFlags参数传入GET_APPLICATION_INFO_WITH_PERMISSION获取。 | -| entryDir | string | 是 | 否 | 应用程序的文件保存路径。 | | codePath | string | 是 | 否 | 应用程序的安装目录。 | | metadata | Map\> | 是 | 否 | 应用程序的元信息,通过调用[bundleManager.getApplicationInfo](js-apis-bundleManager.md#bundlemanagergetapplicationinfo)接口,appFlags参数传入GET_APPLICATION_INFO_WITH_METADATA获取。 | | removable | boolean | 是 | 否 | 应用程序是否可以被移除。 | @@ -30,4 +29,5 @@ | labelResource | [Resource](js-apis-resource-manager.md#resource9) | 是 | 否 | 应用程序的标签资源信息。 | | descriptionResource | [Resource](js-apis-resource-manager.md#resource9) | 是 | 否 | 应用程序的描述资源信息。 | | appDistributionType | string | 是 | 否 | 应用程序签名证书的分发类型,分为:app_gallery、enterprise、os_integration和crowdtesting。 | -| appProvisionType | string | 是 | 否 | 应用程序签名证书文件的类型,分为debug和release两种类型。 | \ No newline at end of file +| appProvisionType | string | 是 | 否 | 应用程序签名证书文件的类型,分为debug和release两种类型。 | +| systemApp | boolean | 是 | 否 | 标识应用是否为系统应用。 | \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-hapModuleInfo.md b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-hapModuleInfo.md index 93352047b4b24c2498dfdcf6c51ecd5471baf443..294b47dfb912f342061c3a8bc349487e668bcccb 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-hapModuleInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-hapModuleInfo.md @@ -25,5 +25,3 @@ HAP信息,系统应用可以通过[bundleManager.getBundleInfo](js-apis-bundle | deviceTypes | Array\ | 是 | 否 | 可以运行模块的设备类型。 | | installationFree | boolean | 是 | 否 | 模块是否支持免安装。 | | hashValue | string | 是 | 否 | 模块的Hash值。 | -| moduleSourceDir | string | 是 | 否 | 模块的路径。| - diff --git a/zh-cn/application-dev/reference/apis/js-apis-distributedBundle.md b/zh-cn/application-dev/reference/apis/js-apis-distributedBundleManager.md similarity index 96% rename from zh-cn/application-dev/reference/apis/js-apis-distributedBundle.md rename to zh-cn/application-dev/reference/apis/js-apis-distributedBundleManager.md index b08c0c05a061dd344ca5f3a83fa6a55c7329ec3f..db1dc0669c3715a1d7238802e5c6c6b0b6628857 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-distributedBundle.md +++ b/zh-cn/application-dev/reference/apis/js-apis-distributedBundleManager.md @@ -1,4 +1,4 @@ -# @ohos.bundle.distributedBundle (distributedBundle模块) +# @ohos.bundle.distributedBundleManager (distributedBundleManager模块) 本模块提供分布式应用的管理能力 @@ -11,7 +11,7 @@ ## 导入模块 ``` -import distributedBundle from '@ohos.bundle.distributedBundle'; +import distributedBundle from '@ohos.bundle.distributedBundleManager'; ``` ## 系统能力 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-bundlemanager.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-bundlemanager.md new file mode 100644 index 0000000000000000000000000000000000000000..13e8296b97741d899e311203a75a26d135b20cc2 --- /dev/null +++ b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-bundlemanager.md @@ -0,0 +1,17 @@ +# 包管理子系统ChangeLog + +## cl.bundlemanager.1 包管理分布式查询模块名称变更,由ohos.bundle.distributedBundle变更为ohos.bundle.distributedBundleManager,接口未发生变更。 + +API9的包管理分布式查询模块名称变更,由ohos.bundle.distributedBundle变更为[ohos.bundle.distributedBundleManager](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.distributedBundleManager.d.ts),接口未发生变更。 + +**变更影响**
+对原有使用API version 9之前的应用无影响,使用API version 9的应用需要适配新模块。 + +**关键的接口/组件变更**
+包管理分布式查询模块名称由ohos.bundle.distributedBundle修改为ohos.bundle.distributedBundleManager,接口未发生变更。 + +**适配指导**
+原有导入模块@ohos.bundle.distributedBundle代码需要修改为@ohos.bundle.distributedBundleManager。 +```ts +import distributedBundle form '@ohos.bundle.distributedBundleManager'; +```