harmony 鸿蒙Bundle Manager Subsystem Changelog

  • 2025-06-12
  • 浏览 (23)

Bundle Manager Subsystem Changelog

cl.bundlemanager.1 Type of the data Field in RouterItem Is Changed

Access Level

Public API

Change Reason

In the previous routing table configuration file, only a key of the string type can be configured for the data field. The query interface provided by the bundle manager module parses the field value. In this version, this restriction is removed, and the field can be set to a JSON string of any type. The query interface does not parse the field value. Instead, it returns the JSON string, which needs to be parsed by the caller. The type of the data field in the query interface is changed from a DataItem array to a string.

Change Impact

This change is a non-compatible change. The build will fail if you do not change the type of the data field in your code.

Change Since

OpenHarmony SDK 5.0.0.24

Key API/Component Changes

The type of the data field in the RouterItem struct provided by the bundle manager module is changed from a DataItem array to a string.

Adaptation Guide

Manually parse the JSON string in data.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙API Model Conversion List

harmony 鸿蒙cl.arkui.1 Specification Change for RichEditor Menu Visibility When Scrolling After Popup

harmony 鸿蒙Media Subsystem Changelog

harmony 鸿蒙SDK Subsystem Changelog

0  赞