harmony 鸿蒙Bundle Management Subsystem Changelog
Bundle Management Subsystem Changelog
cl.bundlemanager.1 APP_ACCOUNT_AUTHORIZATION Deleted from ExtensionAbilityType
APP_ACCOUNT_AUTHORIZATION is deleted from this version.
You need to adapt your application.
Change Impact
The API can no longer be used after being deleted.
- Involved API:
export enum ExtensionAbilityType
- Before change:
export enum ExtensionAbilityType {
FORM = 0,
WORK_SCHEDULER = 1,
INPUT_METHOD = 2,
SERVICE = 3,
ACCESSIBILITY = 4,
DATA_SHARE = 5,
FILE_SHARE = 6,
STATIC_SUBSCRIBER = 7,
WALLPAPER = 8,
BACKUP = 9,
WINDOW = 10,
ENTERPRISE_ADMIN = 11,
THUMBNAIL = 13,
PREVIEW = 14,
PRINT = 15,
PUSH = 17,
DRIVER = 18,
APP_ACCOUNT_AUTHORIZATION = 19,
UNSPECIFIED = 255
}
- After change:
js export enum ExtensionAbilityType { FORM = 0, WORK_SCHEDULER = 1, INPUT_METHOD = 2, SERVICE = 3, ACCESSIBILITY = 4, DATA_SHARE = 5, FILE_SHARE = 6, STATIC_SUBSCRIBER = 7, WALLPAPER = 8, BACKUP = 9, WINDOW = 10, ENTERPRISE_ADMIN = 11, THUMBNAIL = 13, PREVIEW = 14, PRINT = 15, PUSH = 17, DRIVER = 18, UNSPECIFIED = 255 }
The definition of APP_ACCOUNT_AUTHORIZATION is deleted.
Adaptation Guide
Update the code so that the deprecated API is not used.
cl.bundlemanager.2 Struct BusinessAbilityInfo Moved from bundleManager to application
The BusinessAbilityInfo struct is moved from the bundleManager folder to the application folder.
Change Impact
The file path of a level-2 module is changed. It has no impact on existing code.
Key API/Component Changes
The file path of the BusinessAbilityInfo struct is changed from bundleManager/BusinessAbilityInfo to application/BusinessAbilityInfo.
Adaptation Guide
No required.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙ArkUI Subsystem Changelog
harmony 鸿蒙Application Access Control Subsystem Changelog
harmony 鸿蒙Account Subsystem Changelog
harmony 鸿蒙Bluetooth Subsystem Changelog
harmony 鸿蒙Security Subsystem Changelog
harmony 鸿蒙Graphics Subsystem Changelog
harmony 鸿蒙Input Method Framework Subsystem – Input Method Framework Service Changelog
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦