Skip to content

Add HarmonyOS / OpenHarmony Platform Support ?! #21

Description

@wangxinyu-ww

Hi, thanks for creating and maintaining this project.

I'm currently using this package in a Flutter project and would like to support HarmonyOS / OpenHarmony as an additional target platform.

At the moment, the package provides support for existing platforms, but there is no HarmonyOS / OpenHarmony implementation.

Would it be possible to add HarmonyOS (OHOS) support to this project?

Use Case

Our Flutter application needs to run on multiple platforms, including:

Android
iOS
HarmonyOS / OpenHarmony

We would like to keep using this package on HarmonyOS instead of maintaining a separate implementation.

Proposed Implementation

Ideally, the Flutter plugin could provide an OHOS implementation similar to the existing Android implementation.

For example:

http_proxy/
├── android/
├── ios/
├── ohos/ <-- HarmonyOS implementation
├── lib/
└── pubspec.yaml

The OHOS implementation could expose the same Dart API as the existing platforms where possible, so that application-level code does not need platform-specific changes.

Question

Do you have any plans to support HarmonyOS / OpenHarmony?

If not, would you be open to accepting a Pull Request that adds OHOS support?

I can help with the HarmonyOS adaptation and testing if needed.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions