harmony 鸿蒙AppProvisionInfo

  • 2023-06-24
  • 浏览 (375)

AppProvisionInfo

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.

AppProvisionInfo

System capability: SystemCapability.BundleManager.BundleFramework.Core

System API: This is a system API.

Name Type Readable Writable Description
versionCode number Yes No Version number of the configuration file.
versionName string Yes No Version name of the configuration file.
uuid string Yes No UUID in the configuration file.
type string Yes No Type of the configuration file, which can be debug or release.
appDistributionType string Yes No Distribution type in the configuration file, which can be app_gallery, enterprise, os_integration, or crowdtesting.
validity Validity Yes No Validity period in the configuration file.
developerId string Yes No Developer ID in the configuration file.
certificate string Yes No Certificate public key in the configuration file.
apl string Yes No APL in the configuration file, which can be normal, system_basic, or system_core.
issuer string Yes No Issuer name in the configuration file.
appIdentifier11+ string Yes No Unique ID of the application, which is allocated by the cloud. This ID does not change along the application lifecycle, including version updates, certificate changes, public and private key changes, and application transfers.

Validity

System capability: SystemCapability.BundleManager.BundleFramework.Core

System API: This is a system API.

Name Type Readable Writable Description
notBefore number Yes No Earliest validity date of the configuration file.
notAfter number Yes No Latest validity date of the configuration file.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙APIs

harmony 鸿蒙System Common Events (To Be Deprecated Soon)

harmony 鸿蒙System Common Events

harmony 鸿蒙API Reference Document Description

harmony 鸿蒙Enterprise Device Management Overview (for System Applications Only)

harmony 鸿蒙BundleStatusCallback

harmony 鸿蒙@ohos.bundle.innerBundleManager (innerBundleManager)

harmony 鸿蒙@ohos.distributedBundle (Distributed Bundle Management)

harmony 鸿蒙@ohos.bundle (Bundle)

harmony 鸿蒙@ohos.enterprise.EnterpriseAdminExtensionAbility (EnterpriseAdminExtensionAbility)

0  赞