-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: support openharmony #4508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Thanks for working on this!! Would love to eventually add ohos as a |
Sure, but we need to make sure that can run normally at first. And then we can do more works for |
of course :) I assume wry/tao will need changes to support dioxus and then those will need to be upstreamed before we can merge any of this work, unless we want to bake some of the work-arounds into dioxus-desktop itself? It would also be interesting to see what changes need to be made to support dioxus-native. Does ohos provide a native UI kit? Dioxus-native can paint directly to WGPU textures as well. Also, I recently merged a PR that vendors prebuilt openssl binaries for use in android. Seems like your ohos-rs tool does something similar, or at least requires custom openssl binaries? |
Yeah, i think we need to merge the upstream of wry and tao at first and then we can merge this work. I'll try to finish it as soon as possible.
Sure, we can use WGPU in ohos which is powered by OpenGL. Here is an example: https://github.com/richerfu/wgpu-demo-with-winit
We can also use openssl verdor mode. I'll support it later. |
This is an experiential adaption for openharmony, and i made an example to test it https://github.com/richerfu/dioxus-in-openharmony.
There are some issues need to fix:
AssetManager
Resume
will crash when reopen the application.