Skip to content

Add Support for Huawei's HarmonyOS #11004

@qqlcx5

Description

@qqlcx5

Is your feature request related to a problem? Please describe.

To expand the reach of NativeScript applications, it is proposed that support for Huawei's HarmonyOS be added as a new target platform. This would enable developers to use their existing NativeScript skills and codebase to build and deploy applications for the growing HarmonyOS ecosystem

Describe the solution you'd like

The Growing HarmonyOS Ecosystem
Huawei's HarmonyOS is a next-generation operating system designed for a wide range of smart devices, including smartphones, tablets, wearables, and IoT devices. With a rapidly expanding user base, particularly in the Asian market, HarmonyOS presents a significant opportunity for mobile app developers. By enabling NativeScript to target HarmonyOS, the framework would empower its developers to tap into this emerging market.

Describe alternatives you've considered

Technical Approach
Adding support for HarmonyOS would likely involve the creation of a new NativeScript runtime. This runtime would need to bridge the JavaScript world with the native APIs of HarmonyOS. Key technologies in the HarmonyOS development stack that would need to be considered include:

Anything else?

ArkUI: The declarative UI framework for building modern, responsive user interfaces on HarmonyOS.
ArkTS: A superset of TypeScript that is the primary language for HarmonyOS application development.
Given that HarmonyOS has a degree of compatibility with Android, an initial approach could investigate leveraging the existing NativeScript Android runtime and adapting it for HarmonyOS. This might offer a more streamlined path to initial support, with the potential for a dedicated, optimized runtime to be developed in the future.

Please accept these terms

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-pending-triageA new feature request pending triage to confirm validity.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions