compose-webview-multiplatform icon indicating copy to clipboard operation
compose-webview-multiplatform copied to clipboard

Consider wasmJS(WebAssembly) support ?

Open vickyleu opened this issue 1 year ago • 8 comments

Can it be achieved through iframe or other methods? or webview for webassembly?

vickyleu avatar Mar 07 '24 10:03 vickyleu

@vickyleu Thank you for your suggestion! I currently have no plans to support WASM, as it is not my area of expertise and I am focused on mobile development. However, I would be more than welcome to consider a pull request from someone who is willing to contribute!

KevinnZou avatar Mar 08 '24 07:03 KevinnZou

JS/WASM requires iframe. We did it, but iframe always on the top of the canvas. If is okay, we could make a PR

jershell avatar Mar 26 '24 07:03 jershell

@jershell Thanks for your suggestion! You are welcomed to make a PR!

but iframe always on the top of the canvas. Is the bug related to Compose Multiplatform or the Platform feature? If the issue is related to CMP, I believe they will resolve it in the future, so it should not pose a significant problem.

KevinnZou avatar Mar 27 '24 03:03 KevinnZou

JS/WASM requires iframe. We did it, but iframe always on the top of the canvas. If is okay, we could make a PR

@jershell did you open a PR for this already?

Xerosigma avatar Apr 11 '24 17:04 Xerosigma

WIP: https://github.com/KevinnZou/compose-webview-multiplatform/pull/133

Xerosigma avatar Apr 14 '24 19:04 Xerosigma

@jershell @Xerosigma Hi guys, I have submitted a PR that made an empty implementation for WASM/JS. You are welcome to implement the specific functionality for WASM based on this PR. Please let me know if you have any suggestions! Thanks!

KevinnZou avatar May 15 '24 00:05 KevinnZou