From e8f29f6bad53965d01312aec0df92db437ea3a4e Mon Sep 17 00:00:00 2001 From: zhaogan Date: Wed, 8 Nov 2023 09:39:07 +0800 Subject: [PATCH] =?UTF-8?q?Issue:=20#I8DKDG=20Description:ndk=E6=9A=B4?= =?UTF-8?q?=E9=9C=B2appId=E5=92=8CappIdentifier=20Sig:=20SIG=5FApplicaiton?= =?UTF-8?q?Framework=20Feature=20or=20Bugfix:=20Bugfix=20Binary=20Source:?= =?UTF-8?q?=20No?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhaogan --- .../bundle/include/native_interface_bundle.h | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/bundlemanager/bundle_framework/bundle/include/native_interface_bundle.h b/bundlemanager/bundle_framework/bundle/include/native_interface_bundle.h index d318f8670..b4bc279d3 100644 --- a/bundlemanager/bundle_framework/bundle/include/native_interface_bundle.h +++ b/bundlemanager/bundle_framework/bundle/include/native_interface_bundle.h @@ -38,9 +38,36 @@ extern "C" { #endif struct OH_NativeBundle_ApplicationInfo { + /** + * Indicates the name of application + * @syscap SystemCapability.BundleManager.BundleFramework.Core + * @since 9 + */ char* bundleName; + /** + * Indicates the fingerprint of application + * @syscap SystemCapability.BundleManager.BundleFramework.Core + * @since 9 + */ char* fingerprint; + + /** + * Indicates the ID of the application to which this bundle belongs + * The application ID uniquely identifies an application. It is determined by the bundle name and signature + * @syscap SystemCapability.BundleManager.BundleFramework.Core + * @since 11 + */ + char* appId; + + /** + * Globally unique identifier of an application. + * AppIdentifier does not change along the application lifecycle, including version updates, certificate changes, + * public and private key changes, and application transfer. + * @syscap SystemCapability.BundleManager.BundleFramework.Core + * @since 11 + */ + char* appIdentifier; }; /** -- Gitee