harmony 鸿蒙Bundle Manager Subsystem Changelog
Bundle Manager Subsystem Changelog
cl.bundlemanager.1 BundleManager.verifyAbc and bundleManager.deleteAbc Are Changed to System APIs
Access Level
Public API
Reason for Change
To meet security compliance requirements, the bundleManager.verifyAbc and bundleManager.deleteAbc APIs in @ohos.bundle.bundleManager.d.ts are changed to system APIs.
Change Impact
This change is a non-compatible change.
Before change:
bundleManager.verifyAbc and bundleManager.deleteAbc are public APIs and can be called by third-party applications.
After change:
bundleManager.verifyAbc and bundleManager.deleteAbc are changed to system APIs and can be called only by system applications. If a non-system application calls these APIs, error code 202 is returned.
Start API Level
11
Change Since
OpenHarmony SDK 5.0.0.44
Key API/Component Changes
The following APIs in @ohos.bundle.bundleManager.d.ts:
function verifyAbc(abcPaths: Array<string>, deleteOriginalFiles: boolean, callback: AsyncCallback<void>): void;
function verifyAbc(abcPaths: Array<string>, deleteOriginalFiles: boolean): Promise<void>;
function deleteAbc(abcPath: string): Promise<void>;
Adaptation Guide
Cancel the call of these APIs in your code. If a non-system application calls these APIs, error code 202 is returned.
你可能感兴趣的鸿蒙文章
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦