Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
303 views
in Technique[技术] by (71.8m points)

c++ - Enable WebAssembly Threads in WebView of android

I'm trying to run my Graphic Engine which is compiled to WebAssembly inside an android-webview in a clients application. When I debugged,I get an error saying 'SharedArrayBuffer not supported'. My WebAssembly code requires Thread Support.

I'm able to the run the code in a desktop browser and in a mobile browser(by enabling WebAssembly Threads Flags). However, I couldn't find any mechanism to enable experimental flags for the WebView. Is there any way to enable WebAssembly Thread support in WebView. I'm more interested in enabling the flag programmatically from the android app.

question from:https://stackoverflow.com/questions/65918768/enable-webassembly-threads-in-webview-of-android

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...