harmony 鸿蒙Bundle Manager Subsystem Changelog

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

Bundle Manager Subsystem Changelog

cl.bundlemanager.1 Deleted the atomicService Tag from the app.json File

The atomicService tag is deleted from the app.json file.

Change Impact
If this tag is used, an error is reported during compilation on DevEco Studio.

Adaptation Guide
Delete the atomicService tag from your code.

cl.bundlemanager.2 Added the bundleType Tag to the app.json File

The bundleType tag is added to the app.json file.

Change Impact
For an existing ability with installationFree set to true, bundleType must be set to atomicService in the app.json file. Otherwise, the packaging fails.

Adaptation Guide
Add the bundleType tag. This tag can be left blank. The default value is app. The setting of this tag and the installationFree field in the module.json file must meet the following rules: - If bundleType is app, installationFree must be set to false. - If bundleType is atomicService, installationFree must be set to true.

cl.bundlemanager.3 Deleted the split Field from the ApplicationInfo Struct

The split field is deleted from the ApplicationInfo struct.

Change Impact
If the split field is used in your code, the compilation fails.

Key API/Component Changes
The split field is deleted from the ApplicationInfo struct.

Adaptation Guide
Delete the split field from the ApplicationInfo struct of your code. The stage model always forcibly splits bundles.

cl.bundlemanager.4 Deleted the atomicServiceModuleType Field from the HapModuleInfo Struct

The atomicServiceModuleType field is deleted from the HapModuleInfo struct.

Change Impact
If the atomicServiceModuleType field is used in your code, the compilation fails.

Key API/Component Changes
The atomicServiceModuleType field is deleted from the HapModuleInfo struct.

Adaptation Guide
Record the setting of the atomicServiceModuleType field, delete it from the HapModuleInfo struct, and set the moduleType field in the HapModuleInfo struct to the recorded value.

cl.bundlemanager.5 Deleted the AtomicServiceModuleType Enumerated Value

The atomicServiceModuleType field is deleted from the HapModuleInfo struct.

Change Impact
If the atomicServiceModuleType field is used in your code, the compilation fails.

Key API/Component Changes
The atomicServiceModuleType field is deleted from the HapModuleInfo struct.

Adaptation Guide
Record the setting of the atomicServiceModuleType field, delete it from the HapModuleInfo struct, and set the moduleType field in the HapModuleInfo struct to the recorded value.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Input Method Framework Subsystem – Input Method Framework Service Changelog

harmony 鸿蒙Theme Framework Subsystem – Screenlock Management Service Changelog

harmony 鸿蒙Theme Framework Subsystem – Wallpaper Management Service Changelog

0  赞