-
-
Notifications
You must be signed in to change notification settings - Fork 369
feat: support openharmony platform #1607
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: dev
Are you sure you want to change the base?
Conversation
this is working really well! see the cargo-mobile2 integration and the tauri branch can we call https://docs.openharmony.cn/pages/v5.0/en/application-dev/reference/apis-arkweb/js-apis-webview.md#setwebdebuggingaccess when |
Could you try those changes in your local code which is in If it works, i will publish a new version for |
|
are the javaScriptOnDocumentStart scripts executed out of order? i'm seeing some weird behavior, is it running in reverse order? |
I need to check it. May i tell you later.. |
also can't we really register the custom protocols at runtime? currently we need to provide the names beforehand on the derive macro right? |
yeah,we need to register the custom protocols in a very early stage. When we need to register them at runtime, i can try to find some ways to support it |
is the custom protocol triggered on fetch() calls? tauri uses that for the IPC for instance this is what i get: await fetch('tauri://localhost')
VM174:1 Fetch API cannot load tauri://localhost/. URL scheme "tauri" is not supported. even though the page loaded is |
cool that's fine, thanks |
this lets the custom protocol to return its response on a separate thread or async task, rather than relying on the return value of the callback needed by tauri-apps/wry#1607
this lets the custom protocol to return its response on a separate thread or async task, rather than relying on the return value of the callback needed by tauri-apps/wry#1607
Fixed. |
you rock!! |
It run with |
In what scenarios will we register at runtime? From the documentation, it is clear that the protocol can only be registered before the web is initialized. There is no any other method to register :( |
Package Changes Through 3d710b6There are 1 changes which include wry with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
Hi @lucasfernog dear friend, if we want to continue this work, what we should do. Hope your reply thanks :) |
Just so you're not surprised, Lucas is on vacation (or at least out of office) for another week or so. |
Copy that, hope you have a good time. :) |
#1595