harmony 鸿蒙AppProvisionInfo (System API)
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.
Name | Type | Read-Only | Optional | 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. |
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. 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+ | string | Yes | No | Organization of the application. |
Validity
System capability: SystemCapability.BundleManager.BundleFramework.Core
System API: This is a system API.
Name | Type | Read-Only | Optional | Description |
---|---|---|---|---|
notBefore | number | Yes | No | Timestamp of the earliest valid date for the configuration file. |
notAfter | number | Yes | No | Timestamp of the latest valid date for the configuration file. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙AbilityAccessControl
harmony 鸿蒙OH_NativeBundle_ApplicationInfo
harmony 鸿蒙OH_NativeBundle_ElementName
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦