Huawei HarmonyOS 3.1 beta release: multi-device UI model gets unified
Today, according to the official HarmonyOS developer public release, Huawei has released the beta version of HarmonyOS 3.1 to facilitate developers to develop for the new features of the new version.
In HarmonyOS 3.1, Huawei has separated the UIAbility lifecycle of the Stage model from the window display/focus events, thus enabling the unification of the UIAbility model across multiple devices.
For developers, this means that when developing multi-device software or adapting to multiple devices, they no longer need to do so separately, which not only improves efficiency, but also makes multi-device compatible code more concise.
Window States and UIAbility Lifecycle Relationships
In addition, in the new version, Huawei fully enables ArkUI development framework, a set of declarative UI frameworks for building HarmonyOS applications, which excels in 2D/3D drawing, UI layout, components, and multi-device interaction.
Also, ArkUI supports over 70 UI components including Canvas, XComponent, DatePicker, and provides rich responsive layout and adaptive layout capabilities for developers to adapt and get started.
Other aspects, HarmonyOS 3.1 also makes underlying optimizations to the system's CPU and memory allocation, communication interconnection, media software, distributed management, and new components for web development.
According to the official timeline, HarmonyOS 3.1 is still in the Preview phase and is not expected to enter Beta testing and be pushed out to general users until 2023.