Desdaemon / flutter_rust_bridge_template

Template for Flutter + Rust integration with flutter_rust_bridge.
https://desdaemon.github.io/flutter_rust_bridge_template/
Apache License 2.0
120 stars 63 forks source link

Warning: crossOriginIsolated is null, browser might not support buffer sharing. #47

Closed wgtun closed 1 year ago

wgtun commented 1 year ago

When I publish web app to nginx server, I get this warning, and rust function no run correctly

Desdaemon commented 1 year ago

Assuming you have already added the required headers, it could be some quirks with Firefox that disallow buffer sharing. Try configuring nginx so that you can inspect crossOriginIsolated in your web browser and have it be true.