openharmony 鸿蒙 js-apis-bundleManager-AppProvisionInfo-sys

2025-06-12 浏览 (1)

AppProvisionInfo (System API)

The AppProvisionInfo module provides information in the HarmonyAppProvision configuration file. The information can be obtained through getAppProvisionInfo.

NOTE

The initial APIs of this module are supported since API version 10. Newly added APIs will be marked with a superscript to indicate their earliest API version.

The APIs provided by this module are system APIs.

AppProvisionInfo

System capability: SystemCapability.BundleManager.BundleFramework.Core

System API: This is a system API.

NameTypeRead-OnlyOptionalDescription
versionCodenumberYesNoVersion number of the configuration file.
versionNamestringYesNoVersion name of the configuration file.
uuidstringYesNoUUID in the configuration file.
typestringYesNoType of the configuration file, which can be debug or release.
appDistributionTypestringYesNoDistribution type in the configuration file.
validityValidityYesNoValidity period in the configuration file.
developerIdstringYesNoDeveloper ID in the configuration file.
certificatestringYesNoCertificate public key in the configuration file.
aplstringYesNoAPL in the configuration file, which can be normal, system_basic, or system_core.
issuerstringYesNoIssuer name in the configuration file.
appIdentifier11+stringYesNoUnique ID of the application. It is the app ID, which is a random string, allocated by AppGallery Connect during the creation of the application. This ID does not change along the application lifecycle, including version updates, certificate changes, public and private key changes, and application transfers. If you use multiple debugging devices, perform debugging offline, or need to interact with other applications, you are advised to use manual signature.
organization12+stringYesNoOrganization of the application.

Validity

System capability: SystemCapability.BundleManager.BundleFramework.Core

System API: This is a system API.

NameTypeRead-OnlyOptionalDescription
notBeforenumberYesNoTimestamp of the earliest valid date for the configuration file.
notAfternumberYesNoTimestamp of the latest valid date for the configuration file.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Ability Kit

harmony 鸿蒙AbilityAccessControl

harmony 鸿蒙AbilityBase

harmony 鸿蒙AbilityBase_Element

harmony 鸿蒙AbilityRuntime

harmony 鸿蒙bundle

harmony 鸿蒙OH_NativeBundle_ApplicationInfo

harmony 鸿蒙OH_NativeBundle_ElementName

harmony 鸿蒙ability_access_control.h

harmony 鸿蒙ability_base_common.h

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/tZE0nk